Type alias SignOptionsBeta

SignOptions: {
    detached: boolean;
    did: BearerDid;
    payload: Uint8Array;
}

Options passed to Crypto.sign

Type declaration

  • detached: boolean

    Indicates whether the payload is detached from the JWS. If true, the payload is not included in the resulting JWS.

  • did: BearerDid

    the DID to sign with

  • payload: Uint8Array

    The payload to be signed.