Package: org.conscrypt

KDF

public static final enum HpkeSuite.KDF
Key Derivation Functions (KDFs)

See: rfc9180

Fields

HKDF_SHA256

Public Methods

values

public static KDF[] values()

valueOf

public static KDF valueOf(String name)

getId

public int getId()
KDF id
Returns
int kdf id

getMacLength

public int getMacLength()
The length in bytes for the output extract function.
Returns
int extract output size in bytes

getHLength

public int getHLength()

maxExportLength

public long maxExportLength()
Returns the maximum export length that can be supported with this KDF.

getMacAlgorithmName

public String getMacAlgorithmName()
Name as defined in javax.crypto.Mac .
Returns
java.lang.String name of mac algorithm used by the kdf.

getMacName

public String getMacName()

forId

public static KDF forId(int id)
Returns the KDF value for a given id.