public class DRBGTestVector
extends java.lang.Object
Constructor and Description |
---|
DRBGTestVector(BlockCipher cipher,
int keySizeInBits,
EntropySource eSource,
boolean predictionResistance,
java.lang.String nonce,
int securityStrength,
java.lang.String[] expected) |
DRBGTestVector(Digest digest,
EntropySource eSource,
boolean predictionResistance,
java.lang.String nonce,
int securityStrength,
java.lang.String[] expected) |
Modifier and Type | Method and Description |
---|---|
DRBGTestVector |
addAdditionalInput(java.lang.String input) |
byte[] |
additionalInput(int position) |
EntropySource |
entropySource() |
byte[] |
expectedValue(int index) |
BlockCipher |
getCipher() |
Digest |
getDigest() |
int |
keySizeInBits() |
byte[] |
nonce() |
byte[] |
personalizationString() |
boolean |
predictionResistance() |
int |
securityStrength() |
DRBGTestVector |
setPersonalizationString(java.lang.String p) |
public DRBGTestVector(Digest digest, EntropySource eSource, boolean predictionResistance, java.lang.String nonce, int securityStrength, java.lang.String[] expected)
public DRBGTestVector(BlockCipher cipher, int keySizeInBits, EntropySource eSource, boolean predictionResistance, java.lang.String nonce, int securityStrength, java.lang.String[] expected)
public Digest getDigest()
public BlockCipher getCipher()
public int keySizeInBits()
public DRBGTestVector addAdditionalInput(java.lang.String input)
public DRBGTestVector setPersonalizationString(java.lang.String p)
public EntropySource entropySource()
public boolean predictionResistance()
public byte[] nonce()
public byte[] personalizationString()
public int securityStrength()
public byte[] expectedValue(int index)
public byte[] additionalInput(int position)