PrivateKey
An asymmetric private key.
Inheritors
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