Private X25519 key.
decryptAES(): Uint8Array
Decrypt the provided JWE object using the X25519 key and the A256GCM algorithm.
decryptChaCha20(): 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.
Derive an X25519 public key from the private key.