Package org.conscrypt
Class OpenSSLRandom
- java.lang.Object
-
- java.security.SecureRandomSpi
-
- org.conscrypt.OpenSSLRandom
-
- All Implemented Interfaces:
Serializable
@Internal public final class OpenSSLRandom extends SecureRandomSpi implements Serializable
ImplementsSecureRandomusing BoringSSL's RAND interface.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OpenSSLRandom()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected byte[]engineGenerateSeed(int numBytes)protected voidengineNextBytes(byte[] bytes)protected voidengineSetSeed(byte[] seed)-
Methods inherited from class java.security.SecureRandomSpi
engineGetParameters, engineNextBytes, engineReseed, toString
-
-
-
-
Method Detail
-
engineSetSeed
protected void engineSetSeed(byte[] seed)
- Specified by:
engineSetSeedin classSecureRandomSpi
-
engineNextBytes
protected void engineNextBytes(byte[] bytes)
- Specified by:
engineNextBytesin classSecureRandomSpi
-
engineGenerateSeed
protected byte[] engineGenerateSeed(int numBytes)
- Specified by:
engineGenerateSeedin classSecureRandomSpi
-
-