|
Bouncy Castle Cryptography 1.50 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.bouncycastle.crypto.generators.KDFCounterBytesGenerator
public class KDFCounterBytesGenerator
This KDF has been defined by the publicly available NIST SP 800-108 specification.
| Constructor Summary | |
|---|---|
KDFCounterBytesGenerator(Mac prf)
|
|
| Method Summary | |
|---|---|
int |
generateBytes(byte[] out,
int outOff,
int len)
|
Mac |
getMac()
return the MAC used as the basis for the function |
void |
init(DerivationParameters param)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KDFCounterBytesGenerator(Mac prf)
| Method Detail |
|---|
public void init(DerivationParameters param)
init in interface DerivationFunctionpublic Mac getMac()
MacDerivationFunction
getMac in interface MacDerivationFunction
public int generateBytes(byte[] out,
int outOff,
int len)
throws DataLengthException,
java.lang.IllegalArgumentException
generateBytes in interface DerivationFunctionDataLengthException
java.lang.IllegalArgumentException
|
Bouncy Castle Cryptography 1.50 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||