Top Description Methods
org.bouncycastle.crypto

public Interface KDFCalculator<T extends Parameters>

Known Direct Implementers
org.bouncycastle.crypto.fips.FipsKDF.MonitoringKDFCalculator
Type Parameters
<T>
the type of the parameters used to initialise the calculator.

Interface describing a Key Derivation Function (KDF).

Method Summary

Modifier and TypeMethod and Description
public void
generateBytes(byte[]
the target array for the bytes generated.
out
)

Generate out worth of bytes into the out array.

public void
generateBytes(byte[]
the target array for the bytes generated.
out
,
int
the offset to start writing the generated bytes at.
outOff
,
int
the number of bytes to generate.
len
)

Generate len worth of bytes and place them in out starting at the offset outOff.

public T

Returns:

the KDF calculator's parameters.
getParameters
()

Return the parameters for this KDF calculator.

Method Detail

generateBytesback to summary
public void generateBytes(byte[] out)

Generate out worth of bytes into the out array.

Parameters
out:byte[]

the target array for the bytes generated.

generateBytesback to summary
public void generateBytes(byte[] out, int outOff, int len)

Generate len worth of bytes and place them in out starting at the offset outOff.

Parameters
out:byte[]

the target array for the bytes generated.

outOff:int

the offset to start writing the generated bytes at.

len:int

the number of bytes to generate.

getParametersback to summary
public T getParameters()

Return the parameters for this KDF calculator.

Returns:T

the KDF calculator's parameters.