Private X25519 key.
decryptAES(verification_method: string,jwe: JWE,): Uint8Array
Decrypt the provided JWE object using the X25519 key and the A256GCM algorithm.
decryptChaCha20(verification_method: string,jwe: JWE,): Uint8Array
Decrypt the provided JWE object using the X25519 key and the XC20P algorithm.
free(): void
toDIDKeyURLFragment(): string
Get the did:key DID URL fragment value of the X25519 key.
toPrivateJWK(): JWK
Get the JWK value (with the private key) of the X25519 key.
toPublicJWK(): JWK
Get the JWK value (without the private key) of the X25519 key.
toPublicKey(id: string,controller: string,): PublicX25519
Derive an X25519 public key from the private key.