Class HybridKEMPrivateKeyParameters

java.lang.Object
org.bouncycastle.crypto.params.AsymmetricKeyParameter
org.bouncycastle.crypto.hpke.HybridKEMPrivateKeyParameters
All Implemented Interfaces:
CipherParameters

public class HybridKEMPrivateKeyParameters extends AsymmetricKeyParameter
Private (decapsulation) key of one of the ML-KEM / NIST curve hybrid KEMs of draft-irtf-cfrg-concrete-hybrid-kems used with HPKE (HPKE.kem_MLKEM768_P256, HPKE.kem_MLKEM1024_P384). The key is a 32-byte seed, which is also its serialized form; the ML-KEM and curve components are expanded from it.
  • Method Details

    • getKemId

      public short getKemId()
    • getSeed

      public byte[] getSeed()
      Return the 32-byte seed the key pair is derived from, which is the key's serialized form.
    • getEncoded

      public byte[] getEncoded()
    • getPublicKeyParameters

      public HybridKEMPublicKeyParameters getPublicKeyParameters()