Uses of Package
javax.crypto
Package
Description
Provides the classes and interfaces for the security framework.
Provides the classes and interfaces for cryptographic
operations.
Provides interfaces for Diffie-Hellman keys as defined in RSA
Laboratories' PKCS #3.
Provides classes and interfaces for key specifications and
algorithm parameter specifications.
This package contains utility classes related to the Kerberos network
authentication protocol.
-
-
ClassDescriptionThis exception is thrown when a particular padding mechanism is expected for the input data but the data is not padded properly.This class provides the functionality of a cryptographic cipher for encryption and decryption.This class defines the Service Provider Interface (SPI) for the
Cipher
class.An exception that is thrown by theKEM.Decapsulator.decapsulate(byte[])
method to denote an error during decapsulation.This class provides the functionality of an exemption mechanism, examples of which are key recovery, key weakening, and key escrow.This is the generic ExemptionMechanism exception.This class defines the Service Provider Interface (SPI) for theExemptionMechanism
class.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.Preview.This class provides the functionality of a Key Derivation Function (KDF), which is a cryptographic algorithm for deriving additional keys from input keying material (IKM) and (optionally) other data.This class provides the functionality of a Key Encapsulation Mechanism (KEM).A decapsulator, generated byKEM.newDecapsulator(java.security.PrivateKey)
on the KEM receiver side.This class specifies the return value of the encapsulate method of a Key Encapsulation Mechanism (KEM), which includes the shared secret (as aSecretKey
), the key encapsulation message, and optional parameters.An encapsulator, generated byKEM.newEncapsulator(java.security.PublicKey)
on the KEM sender side.The KEM decapsulator implementation, generated byKEMSpi.engineNewDecapsulator(java.security.PrivateKey, java.security.spec.AlgorithmParameterSpec)
on the KEM receiver side.The KEM encapsulator implementation, generated byKEMSpi.engineNewEncapsulator(java.security.PublicKey, java.security.spec.AlgorithmParameterSpec, java.security.SecureRandom)
on the KEM sender side.This class provides the functionality of a key agreement (or key exchange) protocol.This class defines the Service Provider Interface (SPI) for theKeyAgreement
class.This class provides the functionality of a secret (symmetric) key generator.This class defines the Service Provider Interface (SPI) for theKeyGenerator
class.This class provides the functionality of a "Message Authentication Code" (MAC) algorithm.This class defines the Service Provider Interface (SPI) for theMac
class.This exception is thrown when a particular padding mechanism is requested but is not available in the environment.This class enables a programmer to create an object and protect its confidentiality with a cryptographic algorithm.A secret (symmetric) key.This class represents a factory for secret keys.This class defines the Service Provider Interface (SPI) for theSecretKeyFactory
class.This exception is thrown when an output buffer provided by the user is too short to hold the operation result. -
-
-