Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

## Package javax.crypto

This package defines the main JCE 1.2 classes.

See:
Description

Interface Summary
SecretKey | A secret (symmetric) key.

Class Summary
Cipher | This class provides the functionality of a cryptographic cipher for encryption and decryption.
CipherInputStream | A CipherInputStream is composed of an InputStream and a Cipher so that read() methods return data that are read in from the underlying InputStream but have been additionally processed by the Cipher.
CipherOutputStream | A CipherOutputStream is composed of an OutputStream and a Cipher so that write() methods first process the data before writing them out to the underlying OutputStream.
CipherSpi | This class defines the Service Provider Interface (SPI) for the Cipher class.
KeyAgreement | This class provides the functionality of a key agreement (or key exchange) protocol.
KeyAgreementSpi | This class defines the Service Provider Interface (SPI) for the KeyAgreement class.
KeyGenerator | This class provides the functionality of a (symmetric) key generator.
KeyGeneratorSpi | This class defines the Service Provider Interface (SPI) for the KeyGenerator class.
Mac | This class provides the functionality of a "message authentication code" (MAC).
MacSpi | This class defines the Service Provider Interface (SPI) for the Mac class.
NullCipher | The NullCipher class is a class that provides an "identity cipher" -- one that does not transform the plaintext.
SealedObject | This class enables a programmer to create an object and protect its confidentiality with a cryptographic algorithm.
SecretKeyFactory | This class represents a factory for secret keys.
SecretKeyFactorySpi | This class defines the Service Provider Interface (SPI) for the SecretKeyFactory class.

Exception Summary
BadPaddingException | This exception is thrown when a particular padding mechanism is expected for the input data but the data is not padded properly
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.
NoSuchPaddingException | This exception is thrown when a particular padding mechanism is requested but is not available in the environment.
ShortBufferException | This exception is thrown when an output buffer provided by the user is too short to hold the operation result.

## Package javax.crypto Description

This package defines the main JCE 1.2 classes.

JCSI supplies a cleanroom implementation of the current package.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES