Bouncy Castle Cryptography Library 1.87

org.bouncycastle.crypto.hpke
Class HybridKEMPublicKeyParameters

java.lang.Object
  extended byorg.bouncycastle.crypto.params.AsymmetricKeyParameter
      extended byorg.bouncycastle.crypto.hpke.HybridKEMPublicKeyParameters
All Implemented Interfaces:
CipherParameters

public class HybridKEMPublicKeyParameters
extends AsymmetricKeyParameter

Public (encapsulation) 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 ML-KEM encapsulation key followed by the uncompressed curve point, which is also its serialized form.


Method Summary
 byte[] getEncoded()
           
 short getKemId()
           
 
Methods inherited from class org.bouncycastle.crypto.params.AsymmetricKeyParameter
isPrivate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getKemId

public short getKemId()

getEncoded

public byte[] getEncoded()

Bouncy Castle Cryptography Library 1.87