@NonNullByDefault
See: Description
| Interface | Description |
|---|---|
| Key |
The Key interface is the top-level interface for all keys.
|
| Principal |
This interface represents the abstract notion of a principal, which can be used to represent any entity, such as an
individual, a corporation, and a login id.
|
| PrivateKey |
A private key.
|
| PublicKey |
A public key.
|
| Class | Description |
|---|---|
| KeyFactory |
Key factories are used to convert keys (opaque cryptographic keys of type
Key) into key
specifications (transparent representations of the underlying key material), and vice versa. |
| KeyStore |
This class represents a storage facility for cryptographic keys and certificates.
|
| KeyStoreSpi |
This class defines the Service Provider Interface (SPI) for the
KeyStore class. |
| MessageDigest |
This MessageDigest class provides applications the functionality of a message digest algorithm, such as SHA-1 or
SHA-256.
|
| MessageDigestSpi |
This class defines the Service Provider Interface (SPI) for the
MessageDigest class, which
provides the functionality of a message digest algorithm, such as MD5 or SHA. |
| SecureRandom |
This class provides a cryptographically strong random number generator (RNG).
|
| Signature |
The Signature class is used to provide applications the functionality of a digital signature algorithm.
|
| SignatureSpi |
This class defines the Service Provider Interface (SPI) for the
Signature class, which is used
to provide the functionality of a digital signature algorithm. |
| Exception | Description |
|---|---|
| DigestException |
This is the generic Message Digest exception.
|
| GeneralSecurityException |
The
GeneralSecurityException class is a generic security exception class that provides type safety for all
the security-related exception classes that extend from it. |
| InvalidAlgorithmParameterException |
This is the exception for invalid or inappropriate algorithm parameters.
|
| InvalidKeyException |
This is the exception for invalid Keys (invalid encoding, wrong length, uninitialized, etc).
|
| KeyException |
This is the basic key exception.
|
| KeyManagementException |
This is the general key management exception for all operations dealing with key management.
|
| KeyStoreException |
This is the generic KeyStore exception.
|
| NoSuchAlgorithmException |
This exception is thrown when a particular cryptographic algorithm is requested but is not available in the
environment.
|
| NoSuchProviderException |
This exception is thrown when a particular security provider is requested but is not available in the environment.
|
| ProviderException |
A runtime exception for Provider exceptions (such as misconfiguration errors or unrecoverable internal errors), which
may be subclassed by Providers to throw specialized, provider-specific runtime errors.
|
| SignatureException |
This is the generic Signature exception.
|
| UnrecoverableEntryException |
This exception is thrown if an entry in the keystore cannot be recovered.
|
| UnrecoverableKeyException |
This exception is thrown if a key in the keystore cannot be recovered.
|