Interfaces
- ICrypto
- IBigIntegerExportableKey
- IHmacContextBuilder
- IHmacContext
- IDigestAlgorithm
- ISymmetricAlgorithm — Interface for symmetric algorithms.
- ICipherContextBuilder — Interface for building cipher contexts.
- ICbcContextBuilder — Interface for building CBC cipher contexts.
- ICtrContextBuilder — Interface for building CTR cipher contexts.
- IGcmContextBuilder — Interface for building GCM (Galois/Counter Mode) cipher contexts.
- IAsymmetricAlgorithm — Interface for representing asymmetric algorithms.
- ISignatureContextBuilder — Interface for building signature contexts.
- IRsassaPssContextBuilder — Interface for building RSASSA-PSS signature contexts.
- IRsassaPkcs1ContextBuilder — Interface for building RSASSA-PKCS1-v1_5 signature contexts.
- IRawExportableKey — Interface for exporting keys as raw bytes. Symmetric keys that can be exported will generally implement this interface.
- IDerExportableKey — Interface for exporting keys using the DER encoding. Asymmetric keys that can be exported will generally implement this interface.
- ISymmetricKey — Keys that can be used for encryption will implement this interface.
- IPublicKey — Keys that can be used for signature verification will implement this interface.
- IPrivateKey — Private keys will implement this interface.
- IKeyWithPurpose — Interface to be implemented by keys supporting the purposes attribute.
- IKeyWithExportability — Interface to be implemented by keys supporting the exportability attribute.
- ISymmetricKeyBuilder
- IAsymmetricKeyBuilder
- IRsaKeyBuilder
- IRsaOaepKeyBuilder
- IDiffieHellmanKeyBuilder
- IEccCurve
- IEccKeyBuilder
- IAsymmetricCipherContextBuilder
- IRsaOaepContextBuilder
- IWrappingScheme
- IWrappingContext
- IEncryptionContext — Interface for encryption context.
- IDecryptionContext — Interface for decryption context.
- IDigestContextBuilder — Interface for building digest contexts.
- IDigestContext — Interface for computing digests.
- ISigningContext — Interface for signing context.
- IVerificationContext — Interface for verification context.
- ICrypto2 — Interface for ICrypto version 2.
- IEcdhKeyExchangeContext — Interface for performing ECDH key exchange operations.
- IEcdhContextBuilder — Interface for building ECDH key exchange contexts.
- IKeyDerivationContext — Interface for key derivation contexts.
- IHkdfContextBuilder — Interface for building HKDF key derivation contexts.
- IPbkdf2ContextBuilder — Interface for building PBKDF2 key derivation contexts.
- IHmacKey — Interface for HMAC keys used in Message Authentication Code operations. This interface represents keys specifically designed for HMAC operations, extending the base symmetric key functionality with HMAC-specific capabilities.
- IMessageAuthenticationCode — Interface for Message Authentication Code (MAC) algorithms. MACs provide data integrity and authenticity verification through cryptographic authentication tags.
- IHmacContextBuilder2
- IHmacKeyBuilder — Interface for building HMAC keys. This interface provides methods to configure and create HMAC keys with specific Message Authentication Code algorithms, key lengths, purposes, and exportability settings.
- ICrypto3 — ICrypto3 adds support for Edwards curve cryptography, AES-192, and Message Authentication Codes.
- IEdwardsCurve — Represents an Edwards curve for cryptographic operations.
- IEdwardsKeyBuilder — Builder for Edwards curve keys. Edwards curves are primarily used for digital signatures (EdDSA).
- IAsymmetricKeyBuilder2 — Enhanced asymmetric key builder with support for raw key import. This interface extends the original IAsymmetricKeyBuilder with additional functionality for importing public keys from raw byte arrays, particularly useful for EC keys where raw format is more compact than DER.
- IRsaKeyBuilder2 — Enhanced RSA key builder with support for explicit public exponents. This interface extends the original IRsaKeyBuilder with additional functionality for setting custom public exponents.
- IRsaOaepKeyBuilder2 — Enhanced RSA OAEP key builder with support for public exponents. This interface extends the original IRsaOaepKeyBuilder with additional functionality for setting custom public exponents.
- IRsaOaepContextBuilder2 — Enhanced RSA-OAEP context builder with support for explicit labels. This interface extends the original IRsaOaepContextBuilder2 with additional functionality for setting an OAEP label.
Structs
Exceptions
- KeyFormatError — Exception thrown when a key is not correctly formatted.

