EcPrivateKey
An EC private key.
Parameters
curve
the curve of the key.
d
the private value of the key.
Inheritors
Properties
Functions
Link copied to clipboard
Securely zeroes out the private key material in memory and marks this key as destroyed. Subsequent cryptographic operations or property accesses on this instance will throw IllegalStateException.
Link copied to clipboard
Creates an independent duplicate of this private key with its own lifecycle and memory buffer. The returned key must be closed independently.
Link copied to clipboard
Serializes this private key as a CBOR DataItem encoding a COSE_Key.
Link copied to clipboard