RSA signer

Constructors

Properties

did: `did:${string}:${string}`
didKey: `did:${string}:${string}`
document: DIDDocument
publicKey: Uint8Array<ArrayBufferLike>
type: KeyType
alg: "RS256" = 'RS256'
code: number = 0x1305
type: "RSA" = 'RSA'

Methods

  • Sign a message

    Parameters

    • message: Uint8Array<ArrayBufferLike>

    Returns Promise<Uint8Array<ArrayBufferLike>>