| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private Digest | |
| private byte[] | |
| private byte[] |
| Access | Constructor and Description |
|---|---|
| protected | BaseKDFBytesGenerator(int
value of counter. counterStart, Digest the digest to be used as the source of derived keys. digest)Construct a KDF Parameters generator. |
| Modifier and Type | Method and Description |
|---|---|
| public int | generateBytes(byte[] out, int outOff, int len)
Implements org. |
| public Digest | getDigest()
Implements org. |
| public void | init(DerivationParameters param)
Implements org. |
| counterStart | back to summary |
|---|---|
| private int counterStart | |
| digest | back to summary |
|---|---|
| private Digest digest | |
| iv | back to summary |
|---|---|
| private byte[] iv | |
| shared | back to summary |
|---|---|
| private byte[] shared | |
| BaseKDFBytesGenerator | back to summary |
|---|---|
| protected BaseKDFBytesGenerator(int counterStart, Digest digest) Construct a KDF Parameters generator.
| |
| generateBytes | back to summary |
|---|---|
| public int generateBytes(byte[] out, int outOff, int len) throws DataLengthException, IllegalArgumentException Implements org. fill len bytes of the output buffer with bytes generated from the derivation function.
| |
| getDigest | back to summary |
|---|---|
| public Digest getDigest() Implements org. return the underlying digest. | |
| init | back to summary |
|---|---|
| public void init(DerivationParameters param) Implements org. | |