UMIS SDK
    Preparing search index...

    Function issueSdJwtVc

    • Issues a credential of the UMIS profile as an SD-JWT VC: <issuer-jwt>~<disclosure>~...~.

      The request is checked first and every problem is reported in one INVALID_ARGUMENT error: the scalar inputs, then the claim set against the credential type (profileErrors). A role-authority credential without a delegation claim gets the root claim {depth: 0, max_depth: 0}, so that a verifier that asks for authority can always ask for the delegation as well. When authority is a selective disclosure, delegation is one too: the parent summary repeats authority details and must not stay visible while the authority itself is hidden.

      A delegated credential (delegation.parent) must be no wider than its parent, as checkDelegation of the core decides it; a violation is DELEGATION_WIDER_THAN_PARENT, DELEGATION_DEPTH_EXCEEDED or DELEGATION_OUTLIVES_PARENT. The holder key goes into cnf.jwk as bare coordinates; a key with a private member is refused.

      Parameters

      Returns Promise<string>