ECDSA signer

Constructors

Properties

alg: "ES256" | "ES384" | "ES512"
did: `did:${string}:${string}`
didKey: `did:${string}:${string}`
document: DIDDocument
publicKey: Uint8Array<ArrayBufferLike>
type: KeyType

Methods

  • Sign a message

    Parameters

    • message: Uint8Array<ArrayBufferLike>

    Returns Promise<Uint8Array<ArrayBufferLike>>