Package org.conscrypt

Class HpkeSuite

java.lang.Object
org.conscrypt.HpkeSuite

public final class HpkeSuite extends Object
Holds the KEM, KDF, and AEAD that are used and supported by HpkeContextRecipient and HpkeContextSender defined on RFC 9180.

Some of the constants are defined in IANA HPKE.

  • Field Details

    • KEM_DHKEM_X25519_HKDF_SHA256

      public static final int KEM_DHKEM_X25519_HKDF_SHA256
      KEM: 0x0020 DHKEM(X25519, HKDF-SHA256)
      See Also:
    • KEM_MLKEM_768

      public static final int KEM_MLKEM_768
      KEM: 0x0041 ML-KEM-768
      See Also:
    • KEM_MLKEM_1024

      public static final int KEM_MLKEM_1024
      KEM: 0x0042 ML-KEM-1024
      See Also:
    • KEM_XWING

      public static final int KEM_XWING
      KEM: 0x647a X-Wing
      See Also:
    • KDF_HKDF_SHA256

      public static final int KDF_HKDF_SHA256
      KDF: 0x0001 HKDF-SHA256
      See Also:
    • AEAD_AES_128_GCM

      public static final int AEAD_AES_128_GCM
      AEAD: 0x0001 AES-128-GCM
      See Also:
    • AEAD_AES_256_GCM

      public static final int AEAD_AES_256_GCM
      AEAD: 0x0002 AES-256-GCM
      See Also:
    • AEAD_CHACHA20POLY1305

      public static final int AEAD_CHACHA20POLY1305
      AEAD: 0x0003 ChaCha20Poly1305
      See Also:
  • Constructor Details

    • HpkeSuite

      public HpkeSuite(int kem, int kdf, int aead)
  • Method Details