Package: org.conscrypt
KEM
public static final enum HpkeSuite.KEM
Fields
DHKEM_X25519_HKDF_SHA256
XWING
Public Methods
values
public static KEM[] values()
valueOf
public static KEM valueOf(String name)
getnEnc
public int getnEnc()
Returns the length in bytes of an encapsulated key produced by this KEM.
getEncapsulatedLength
public int getEncapsulatedLength()
getSecretLength
public int getSecretLength()
Returns the length in bytes of a KEM shared secret produced by this KEM.
getPublicKeyLength
public int getPublicKeyLength()
Returns the length in bytes of an encoded public key for this KEM.
getPrivateKeyLength
public int getPrivateKeyLength()
Returns The length in bytes of an encoded private key for this KEM.
forId
public static KEM forId(int id)
Returns the KEM value for a given id.