public static class TestCommonsAES.TestRNG extends SecureRandomSpi
Modifier and Type | Field and Description |
---|---|
private SecureRandom |
rng |
private static long |
serialVersionUID |
Constructor and Description |
---|
TestRNG() |
Modifier and Type | Method and Description |
---|---|
protected byte[] |
engineGenerateSeed(int numBytes) |
protected void |
engineNextBytes(byte[] bytes) |
protected void |
engineSetSeed(byte[] seed) |
private static final long serialVersionUID
private SecureRandom rng
public TestRNG()
protected void engineSetSeed(byte[] seed)
engineSetSeed
in class SecureRandomSpi
protected void engineNextBytes(byte[] bytes)
engineNextBytes
in class SecureRandomSpi
protected byte[] engineGenerateSeed(int numBytes)
engineGenerateSeed
in class SecureRandomSpi
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.