Package-level declarations

Types

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard
expect open class GeneralSecurityException : Exception

The GeneralSecurityException class is a generic security exception class that provides type safety for all the security-related exception classes that extend from it.

actual open class GeneralSecurityException : Exception

The GeneralSecurityException class is a generic security exception class that provides type safety for all the security-related exception classes that extend from it.

Link copied to clipboard

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.)

Link copied to clipboard
expect open class InvalidKeyException : KeyException

This exception is thrown when a key is invalid (e.g. invalid encoding, wrong length, etc.).

actual open class InvalidKeyException : KeyException

This exception is thrown when a key is invalid (e.g. invalid encoding, wrong length, etc.).

Link copied to clipboard
expect open class InvalidParameterException : IllegalArgumentException

This exception is thrown when an invalid parameter is encountered.

actual open class InvalidParameterException : IllegalArgumentException

This exception is thrown when an invalid parameter is encountered.

Link copied to clipboard

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.

Link copied to clipboard

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.