UMIS SDK
    Preparing search index...

    Function signPolicy

    • Signs a policy envelope as an ES256 JWS of type umis-policy+jwt. The envelope and the policy in it are validated first (INVALID_ARGUMENT when either is not acceptable), so a policy that breaks its class caps is never signed.

      Parameters

      Returns Promise<string>