Serializablepublic final class GetrandomSecureRandom extends SecureRandomSpi
SecureRandomSpis 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, waitengineGetParameters, engineNextBytes, engineReseed, toStringpublic GetrandomSecureRandom()
protected void engineNextBytes(byte[] bytes)
engineNextBytes in class SecureRandomSpiprotected void engineSetSeed(byte[] seed)
engineSetSeed in class SecureRandomSpiprotected byte[] engineGenerateSeed(int numBytes)
engineGenerateSeed in class SecureRandomSpiCopyright © 2017–2018. All rights reserved.