Package com.wolfssl.provider.jce
Class WolfCryptRandom
java.lang.Object
java.security.SecureRandomSpi
com.wolfssl.provider.jce.WolfCryptRandom
- All Implemented Interfaces:
java.io.Serializable
public final class WolfCryptRandom
extends java.security.SecureRandomSpi
wolfCrypt JCE RNG/SecureRandom wrapper
- Version:
- 1.0, March 2017
- Author:
- wolfSSL
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description WolfCryptRandom()
-
Method Summary
Modifier and Type Method Description protected byte[]
engineGenerateSeed(int numBytes)
protected void
engineNextBytes(byte[] bytes)
protected void
engineSetSeed(byte[] seed)
protected void
finalize()
-
Constructor Details
-
WolfCryptRandom
public WolfCryptRandom()
-
-
Method Details
-
engineGenerateSeed
protected byte[] engineGenerateSeed(int numBytes)- Specified by:
engineGenerateSeed
in classjava.security.SecureRandomSpi
-
engineNextBytes
protected void engineNextBytes(byte[] bytes)- Specified by:
engineNextBytes
in classjava.security.SecureRandomSpi
-
engineSetSeed
protected void engineSetSeed(byte[] seed)- Specified by:
engineSetSeed
in classjava.security.SecureRandomSpi
-
finalize
protected void finalize() throws java.lang.Throwable- Overrides:
finalize
in classjava.lang.Object
- Throws:
java.lang.Throwable
-