Package javacardx.crypto
Extension package that contains functionality, which may be subject to export
controls, for implementing a security and cryptography framework on the
Java Card platform. The platform must
support this optional package only if cryptographic encryption and decryption
functionality is included in the implementation.
Classes that contain security and cryptography functionality that are not
subject to export control restrictions are contained in the package javacard.security
.
The javacardx.crypto
package contains the Cipher
class and
the KeyEncryption
interface. Cipher
provides methods for encrypting
and decrypting messages. KeyEncryption
provides functionality that
allows keys to be updated in a secure end-to-end fashion.
-
Interface Summary Interface Description KeyEncryption KeyEncryption
interface defines the methods used to enable encrypted key data access to a key implementation. -
Class Summary Class Description AEADCipher The AEADCipher class is the abstract base class for Authenticated Encryption with Associated Data (AEAD) ciphers.Cipher TheCipher
class is the abstract base class for Cipher algorithms.Cipher.OneShot TheOneShot
class is a specialization of theCipher
class intended to support efficient one-shot ciphering and deciphering operations that may avoid persistent memory writes entirely.