public class KDFCounterBytesGenerator extends Object implements MacDerivationFunction
| Constructor and Description |
|---|
KDFCounterBytesGenerator(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 param) |
public KDFCounterBytesGenerator(Mac prf)
public void init(DerivationParameters param)
init in interface DerivationFunctionpublic Mac getMac()
MacDerivationFunctiongetMac in interface MacDerivationFunctionpublic int generateBytes(byte[] out,
int outOff,
int len)
throws DataLengthException,
IllegalArgumentException
generateBytes in interface DerivationFunctionDataLengthExceptionIllegalArgumentExceptionCopyright © 2015–2021 The veraPDF Consortium. All rights reserved.