Package javacardx.security.pqc


package javacardx.security.pqc
javacardx.security.pqc is a preview API of the Java Card platform.
Programs can only use javacardx.security.pqc 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 post-quantum cryptography key management.

Provides interfaces and factory methods for creating, generating, importing, exporting, and clearing PQC keys. This package covers in particular ML-KEM and ML-DSA keys.

Since:
preview
  • Class
    Description
    Preview.
    The EncodableKey interface defines the common behaviors of post-quantum cryptography keys whose encoded representation can be queried or updated directly.
    Preview.
    MLDSAPrivateKey is the base interface for ML-DSA private keys with named parameters described in NIST FIPS 204 specifications - "Chapter 4.
    Preview.
    MLDSAPublicKey is the base interface for ML-DSA public keys with named parameters described in NIST FIPS 204 specifications - "Chapter 4.
    Preview.
    MLKEMPrivateKey is the base interface for ML-KEM private keys with named parameters described in NIST FIPS 203 specifications - "Chapter 8.
    Preview.
    MLKEMPublicKey is the base interface for ML-KEM public keys with named parameters described in NIST FIPS 203 specifications "Chapter 8.
    Preview.
    Factory for creating post-quantum cryptography keys.