Package com.dropbox.core.android
Class FixedSecureRandom.LinuxPrngSecureRandomSpi
- java.lang.Object
-
- java.security.SecureRandomSpi
-
- com.dropbox.core.android.FixedSecureRandom.LinuxPrngSecureRandomSpi
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- FixedSecureRandom
public static class FixedSecureRandom.LinuxPrngSecureRandomSpi extends java.security.SecureRandomSpi
SecureRandomSpi
which passes all requests to the Linux PRNG (/dev/urandom
).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LinuxPrngSecureRandomSpi()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected byte[]
engineGenerateSeed(int size)
protected void
engineNextBytes(byte[] bytes)
protected void
engineSetSeed(byte[] bytes)
-
-
-
Method Detail
-
engineSetSeed
protected void engineSetSeed(byte[] bytes)
- Specified by:
engineSetSeed
in classjava.security.SecureRandomSpi
-
engineNextBytes
protected void engineNextBytes(byte[] bytes)
- Specified by:
engineNextBytes
in classjava.security.SecureRandomSpi
-
engineGenerateSeed
protected byte[] engineGenerateSeed(int size)
- Specified by:
engineGenerateSeed
in classjava.security.SecureRandomSpi
-
-