Package javacardx.crypto.kem


package javacardx.crypto.kem
javacardx.crypto.kem is a preview API of the Java Card platform.
Programs can only use javacardx.crypto.kem when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java Card platform.
Extension package providing APIs for Key Encapsulation Mechanism (KEM) operations.

A Key Encapsulation Mechanism (KEM) is a cryptographic protocol that enables secure exchange of a shared secret over an insecure channel using public key cryptography. KEMs are widely used in secure key establishment protocols, including those resistant to quantum attacks.

This package contains the core interfaces for working with KEM algorithms on the Java Card platform. The KEM.EncapsulatorPREVIEW and KEM.DecapsulatorPREVIEW interfaces define the encapsulation and decapsulation operations.

Since:
preview
  • Class
    Description
    Preview.
    The KEM class provides methods for obtaining objects that implement Key Encapsulation Mechanism (KEM) operations, such as DHKEM (RFC 9180) and ML-KEM (FIPS 203).
    Preview.
    The Decapsulator interface is implemented by KEMPREVIEW instances that support the key decapsulation operation of Key Encapsulation Mechanism (KEM) algorithms.
    Preview.
    The Encapsulator interface is implemented by KEMPREVIEW instances that support the key encapsulation operation of Key Encapsulation Mechanism (KEM) algorithms.