Public Secp256r1 key.
readonly
controller: DID
Get the verification method controller.
__getClassname(): string
free(): void
toJSON(): object
Serialize the current public key as a verification method object.
encryptAES(payload: Uint8Array,recipients: PublicSecp256r1[],): JWE
Encrypt the provided payload for the provided recipient array using A256GCM algorithm.
encryptChaCha20(payload: Uint8Array,recipients: PublicSecp256r1[],): JWE
Encrypt the provided payload for the provided recipient array using XC20P algorithm.