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 |
Modifier and Type | Class and Description |
---|---|
class |
DigestException
This is the generic Message Digest exception.
|
class |
InvalidAlgorithmParameterException
This is the exception for invalid or inappropriate algorithm parameters.
|
class |
InvalidKeyException
This is the exception for invalid Keys (invalid encoding, wrong
length, uninitialized, etc).
|
class |
KeyException
This is the basic key exception.
|
class |
KeyManagementException
This is the general key management exception for all operations
dealing with key management.
|
class |
KeyStoreException
This is the generic KeyStore exception.
|
class |
NoSuchAlgorithmException
This exception is thrown when a particular cryptographic algorithm is
requested but is not available in the environment.
|
class |
NoSuchProviderException
This exception is thrown when a particular security provider is
requested but is not available in the environment.
|
class |
SignatureException
This is the generic Signature exception.
|
class |
UnrecoverableEntryException
This exception is thrown if an entry in the keystore cannot be recovered.
|
class |
UnrecoverableKeyException
This exception is thrown if a key in the keystore cannot be recovered.
|
Modifier and Type | Class and Description |
---|---|
class |
CertificateEncodingException
Certificate Encoding Exception.
|
class |
CertificateException
This exception indicates one of a variety of certificate problems.
|
Modifier and Type | Class and Description |
---|---|
class |
InvalidParameterSpecException
This is the exception for invalid parameter specifications.
|
Modifier and Type | Class and Description |
---|---|
class |
AEADBadTagException
This exception is thrown when a
Cipher operating in
an AEAD mode (such as GCM/CCM) is unable to verify the supplied
authentication tag. |
class |
BadPaddingException
This exception is thrown when a particular padding mechanism is
expected for the input data but the data is not padded properly.
|
class |
IllegalBlockSizeException
This exception is thrown when the length of data provided to a block
cipher is incorrect, i.e., does not match the block size of the cipher.
|
class |
NoSuchPaddingException
This exception is thrown when a particular padding mechanism is
requested but is not available in the environment.
|
class |
ShortBufferException
This exception is thrown when an output buffer provided by the user
is too short to hold the operation result.
|