Package jadex.commons.security.random
Class OpenSslAesCtrRandom
- java.lang.Object
- 
- java.util.Random
- 
- java.security.SecureRandom
- 
- jadex.commons.security.random.OpenSslAesCtrRandom
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 
 public class OpenSslAesCtrRandom extends java.security.SecureRandomAccess to OpenSSL AES counter mode random.- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description OpenSslAesCtrRandom()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]generateSeed(int numbytes)Generates a seed value from OS source.static booleanisEnabled()Checks if the library is in a usable state.voidnextBytes(byte[] bytes)voidreseedPrng(byte[] carryover)Reseeds the PRNG.- 
Methods inherited from class java.security.SecureRandomgetAlgorithm, getInstance, getInstance, getInstance, getInstance, getInstance, getInstance, getInstanceStrong, getParameters, getProvider, getSeed, next, nextBytes, reseed, reseed, setSeed, setSeed, toString
 
- 
 
- 
- 
- 
Method Detail- 
nextBytespublic void nextBytes(byte[] bytes) - Overrides:
- nextBytesin class- java.security.SecureRandom
 
 - 
reseedPrngpublic void reseedPrng(byte[] carryover) Reseeds the PRNG.
 - 
generateSeedpublic byte[] generateSeed(int numbytes) Generates a seed value from OS source.- Overrides:
- generateSeedin class- java.security.SecureRandom
 
 - 
isEnabledpublic static final boolean isEnabled() Checks if the library is in a usable state.
 
- 
 
-