Top Fields Constructors Methods
org.bouncycastle.crypto.hpke

pack-priv Class HKDF

extends Object
Class Inheritance
Imports
org.bouncycastle.crypto.Digest, org.bouncycastle.crypto.digests.SHA256Digest, .SHA384Digest, .SHA512Digest, org.bouncycastle.crypto.generators.HKDFBytesGenerator, org.bouncycastle.crypto.params.HKDFParameters, org.bouncycastle.util.Arrays, .Pack

Field Summary

Modifier and TypeField and Description
private final int
private final HKDFBytesGenerator
private static final String

Constructor Summary

AccessConstructor and Description
pack-priv
HKDF(short kdfId)

Method Summary

Modifier and TypeMethod and Description
protected byte[]
Expand(byte[] prk, byte[] info, int L)

protected byte[]
Extract(byte[] salt, byte[] ikm)

pack-priv int
protected byte[]
LabeledExpand(byte[] prk, byte[] suiteID, String label, byte[] info, int L)

protected byte[]
LabeledExtract(byte[] salt, byte[] suiteID, String label, byte[] ikm)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

hashLengthback to summary
private final int hashLength
kdfback to summary
private final HKDFBytesGenerator kdf
versionLabelback to summary
private static final String versionLabel

Constructor Detail

HKDFback to summary
pack-priv HKDF(short kdfId)

Method Detail

Expandback to summary
protected byte[] Expand(byte[] prk, byte[] info, int L)
Extractback to summary
protected byte[] Extract(byte[] salt, byte[] ikm)
getHashSizeback to summary
pack-priv int getHashSize()
LabeledExpandback to summary
protected byte[] LabeledExpand(byte[] prk, byte[] suiteID, String label, byte[] info, int L)
LabeledExtractback to summary
protected byte[] LabeledExtract(byte[] salt, byte[] suiteID, String label, byte[] ikm)