| Package | Description |
|---|---|
| java.security |
Contains core language classes related to permission management.
|
| java.security.cert |
Contains classes for certificate management.
|
| java.security.spec | |
| javax.crypto | |
| javax.crypto.spec | |
| javax.security.auth.x500 |
| Class and 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).
|
| Key
The Key interface is the top-level interface for all keys.
|
| KeyException
This is the basic key exception.
|
| 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.
|
| KeyStoreException
This is the generic KeyStore exception.
|
| 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. |
| 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.
|
| PrivateKey
A private key.
|
| PublicKey
A public key.
|
| 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.
|
| SignatureException
This is the generic Signature exception.
|
| 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. |
| 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.
|
| Class and Description |
|---|
| 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. |
| InvalidKeyException
This is the exception for invalid Keys (invalid encoding, wrong length, uninitialized, etc).
|
| 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.
|
| PublicKey
A public key.
|
| SignatureException
This is the generic Signature exception.
|
| Class and Description |
|---|
| 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. |
| Class and Description |
|---|
| 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).
|
| Key
The Key interface is the top-level interface for all keys.
|
| 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.
|
| SecureRandom
This class provides a cryptographically strong random number generator (RNG).
|
| Class and Description |
|---|
| Key
The Key interface is the top-level interface for all keys.
|
| Class and Description |
|---|
| 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.
|