Serializable
public final class GetrandomSecureRandom extends SecureRandomSpi
SecureRandomSpi
s that uses the getrandom
system call
with the /dev/urandom equivalent.Constructor | Description |
---|---|
GetrandomSecureRandom() |
Default constructor for JCA, should not be called directly.
|
Modifier and Type | Method | Description |
---|---|---|
protected byte[] |
engineGenerateSeed(int numBytes) |
|
protected void |
engineNextBytes(byte[] bytes) |
|
protected void |
engineSetSeed(byte[] seed) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
engineGetParameters, engineNextBytes, engineReseed, toString
public GetrandomSecureRandom()
protected void engineNextBytes(byte[] bytes)
engineNextBytes
in class SecureRandomSpi
protected void engineSetSeed(byte[] seed)
engineSetSeed
in class SecureRandomSpi
protected byte[] engineGenerateSeed(int numBytes)
engineGenerateSeed
in class SecureRandomSpi
Copyright © 2017–2018. All rights reserved.