public class MGF1BytesGeneratorExt extends Object implements org.spongycastle.crypto.DerivationFunction
| Constructor and Description |
|---|
MGF1BytesGeneratorExt(org.spongycastle.crypto.Digest digest,
int counterStart) |
| Modifier and Type | Method and Description |
|---|---|
int |
generateBytes(byte[] out,
int outOff,
int len) |
org.spongycastle.crypto.Digest |
getDigest() |
void |
init(org.spongycastle.crypto.DerivationParameters param) |
public MGF1BytesGeneratorExt(org.spongycastle.crypto.Digest digest,
int counterStart)
public void init(org.spongycastle.crypto.DerivationParameters param)
init in interface org.spongycastle.crypto.DerivationFunctionpublic org.spongycastle.crypto.Digest getDigest()
public int generateBytes(byte[] out,
int outOff,
int len)
throws org.spongycastle.crypto.DataLengthException,
IllegalArgumentException
generateBytes in interface org.spongycastle.crypto.DerivationFunctionorg.spongycastle.crypto.DataLengthExceptionIllegalArgumentExceptionCopyright © 2018. All rights reserved.