Megosztás a következőn keresztül:


Javax.Crypto Namespace

This package provides the classes and interfaces for cryptographic applications implementing algorithms for encryption, decryption, or key agreement.

Classes

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.

BadPaddingException

This exception is thrown when a particular padding mechanism is expected for the input data but the data is not padded properly.

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 (<b>SPI</b>) for the Cipher class.

EncryptedPrivateKeyInfo

This class implements the EncryptedPrivateKeyInfo type as defined in PKCS #8.

ExemptionMechanism

This class provides the functionality of an exemption mechanism, examples of which are key recovery, key weakening, and key escrow.

ExemptionMechanismException

This is the generic ExemptionMechanism exception.

ExemptionMechanismSpi

This class defines the Service Provider Interface (<b>SPI</b>) for the ExemptionMechanism class.

IllegalBlockSizeException

This exception is thrown when the length of data provided to a block cipher is incorrect, i.

KeyAgreement

This class provides the functionality of a key agreement (or key exchange) protocol.

KeyAgreementSpi

This class defines the Service Provider Interface (<b>SPI</b>) for the KeyAgreement class.

KeyGenerator

This class provides the functionality of a secret (symmetric) key generator.

KeyGeneratorSpi

This class defines the Service Provider Interface (<b>SPI</b>) for the KeyGenerator class.

Mac

This class provides the functionality of a "Message Authentication Code" (MAC) algorithm.

MacSpi

This class defines the Service Provider Interface (<b>SPI</b>) for the Mac class.

NoSuchPaddingException

This exception is thrown when a particular padding mechanism is requested but is not available in the environment.

NullCipher

The NullCipher class is a class that provides an "identity cipher" -- one that does not transform the plain text.

SealedObject

This class enables a programmer to create an object and protect its confidentiality with a cryptographic algorithm.

SecretKey

A cryptographic secret (symmetric) key.

SecretKeyFactory

This class represents a factory for secret keys.

SecretKeyFactorySpi

This class defines the Service Provider Interface (<b>SPI</b>) for the SecretKeyFactory class.

ShortBufferException

This exception is thrown when an output buffer provided by the user is too short to hold the operation result.

Interfaces

ISecretKey

A secret (symmetric) key.

Enums

CipherMode

Enumerates values returned by several types and taken as a parameter of several methods of Cipher.

KeyType

Enumerates values returned by several types and taken as a parameter of the F:Javax.Crypto.Cipher.Unwrap member.