Package-level declarations
Types
This exception is thrown when a particular padding mechanism is expected for the input data but the data is not padded properly.
This exception is thrown when a particular padding mechanism is expected for the input data but the data is not padded properly.
This exception is thrown when an error occurs while attempting to encode a certificate.
This exception is thrown when an error occurs while attempting to encode a certificate.
The CertificateException
class is a generic security exception class that provides type safety for all the certificate-related exception classes that extend from it.
The CertificateException
class is a generic security exception class that provides type safety for all the certificate-related exception classes that extend from it.
This exception is thrown whenever an invalid DER-encoded certificate is parsed, or unsupported DER features are found in the Certificate.
This exception is thrown whenever an invalid DER-encoded certificate is parsed, or unsupported DER features are found in the Certificate.
The GeneralSecurityException
class is a generic security exception class that provides type safety for all the security-related exception classes that extend from it.
The GeneralSecurityException
class is a generic security exception class that provides type safety for all the security-related exception classes that extend from it.
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.)
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.)
This exception is thrown when a key is invalid (e.g. invalid encoding, wrong length, etc.).
This exception is thrown when a key is invalid (e.g. invalid encoding, wrong length, etc.).
This exception is thrown when an invalid parameter is encountered.
This exception is thrown when an invalid parameter is encountered.
The KeyException
class is a generic security exception class that provides type safety for all the key-related exception classes that extend from it.
The KeyException
class is a generic security exception class that provides type safety for all the key-related exception classes that extend from it.
This exception is thrown when a buffer provided by the user is too short to hold the operation result.
This exception is thrown when a buffer provided by the user is too short to hold the operation result.