public class KDFFeedbackBytesGenerator extends java.lang.Object implements MacDerivationFunction
| Constructor and Description |
|---|
KDFFeedbackBytesGenerator(Mac prf) |
| Modifier and Type | Method and Description |
|---|---|
int |
generateBytes(byte[] out,
int outOff,
int len) |
Mac |
getMac()
return the MAC used as the basis for the function
|
void |
init(DerivationParameters params) |
public KDFFeedbackBytesGenerator(Mac prf)
public void init(DerivationParameters params)
init in interface DerivationFunctionpublic Mac getMac()
MacDerivationFunctiongetMac in interface MacDerivationFunctionpublic int generateBytes(byte[] out,
int outOff,
int len)
throws DataLengthException,
java.lang.IllegalArgumentException
generateBytes in interface DerivationFunctionDataLengthExceptionjava.lang.IllegalArgumentException