Package-level declarations
Types
Private key that can be used to sign messages or used for key agreement, optionally with some kind of identification.
An EC private key.
EC Private Key with two coordinates.
EC Private Key with Octet Key Pairs.
An EC Public Key.
EC Public Key with two coordinates.
EC Public Key with Octet Key Pairs.
An Elliptic Curve Cryptography signature.
JSON Web Encryption (JWE) support routines
JSON Web Signature support
Result of a Key Encapsulation Mechanism (KEM) encapsulation operation.
An ML-DSA (FIPS 204) private key.
An ML-DSA (FIPS 204) public key.
An ML-DSA digital signature (FIPS 204).
An ML-KEM (FIPS 203) private key.
An ML-KEM (FIPS 203) public key.
A PKCS#12 (PFX) container holding an EC private key and its associated certificate chain according to RFC 7292.
Thrown when decoding a PKCS#12 archive fails due to an invalid passphrase, MAC verification failure, or cipher padding error.
An asymmetric private key.
An RSA Private Key.
An RSA Public Key.
An RSA digital signature.
A cryptographic secret key (symmetric key or shared secret) with memory clearing on disposal.
An immutable sequence of bytes containing sensitive data with memory clearing on disposal.
Base class for all security exceptions.
Exception thrown when a cryptographic signature fails to validate.
This represents a X.501 Name as used for X.509 certificates.
A data type for a X.509 certificate.
A chain of certificates.
Exception thrown when X509 certificate chain validation fails.
X.509 CRL (Certificate Revocation List).
A data type representing an X.509 certificate extension information.
Base class for signed X.509 sequences: certificates and CRLs.
Base builder class for X509 signed sequences (certificates and CRLs).
Properties
Functions
Builds a new X509Cert.
Securely zeroes out the contents of this byte array in memory.
Creates a SecretKey from this byte array. A defensive copy of the key material is stored.
Converts this SecureByteString to a SecretKey.
Creates a SecureByteString from this byte array. A defensive copy of the data is stored.