Package jadex.commons.security.random
Class SynchronizedSecureRandomWrapper
- java.lang.Object
- 
- java.util.Random
- 
- java.security.SecureRandom
- 
- jadex.commons.security.random.SynchronizedSecureRandomWrapper
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 
 public class SynchronizedSecureRandomWrapper extends java.security.SecureRandom- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.security.SecureRandomdelegate
 - 
Constructor SummaryConstructors Constructor Description SynchronizedSecureRandomWrapper(java.security.SecureRandom delegate)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]generateSeed(int numBytes)Delegationjava.lang.StringgetAlgorithm()DelegationbooleannextBoolean()DelegationvoidnextBytes(byte[] bytes)DelegationdoublenextDouble()DelegationfloatnextFloat()DelegationdoublenextGaussian()DelegationintnextInt()DelegationintnextInt(int bound)DelegationlongnextLong()DelegationvoidsetSeed(byte[] seed)DelegationvoidsetSeed(long seed)Delegation- 
Methods inherited from class java.security.SecureRandomgetInstance, getInstance, getInstance, getInstance, getInstance, getInstance, getInstanceStrong, getParameters, getProvider, getSeed, next, nextBytes, reseed, reseed, toString
 
- 
 
- 
- 
- 
Method Detail- 
generateSeedpublic byte[] generateSeed(int numBytes) Delegation- Overrides:
- generateSeedin class- java.security.SecureRandom
 
 - 
getAlgorithmpublic java.lang.String getAlgorithm() Delegation- Overrides:
- getAlgorithmin class- java.security.SecureRandom
 
 - 
nextBytespublic void nextBytes(byte[] bytes) Delegation- Overrides:
- nextBytesin class- java.security.SecureRandom
 
 - 
setSeedpublic void setSeed(byte[] seed) Delegation- Overrides:
- setSeedin class- java.security.SecureRandom
 
 - 
setSeedpublic void setSeed(long seed) Delegation- Overrides:
- setSeedin class- java.security.SecureRandom
 
 - 
nextBooleanpublic boolean nextBoolean() Delegation- Overrides:
- nextBooleanin class- java.util.Random
 
 - 
nextDoublepublic double nextDouble() Delegation- Overrides:
- nextDoublein class- java.util.Random
 
 - 
nextFloatpublic float nextFloat() Delegation- Overrides:
- nextFloatin class- java.util.Random
 
 - 
nextGaussianpublic double nextGaussian() Delegation- Overrides:
- nextGaussianin class- java.util.Random
 
 - 
nextIntpublic int nextInt() Delegation- Overrides:
- nextIntin class- java.util.Random
 
 - 
nextIntpublic int nextInt(int bound) Delegation- Overrides:
- nextIntin class- java.util.Random
 
 - 
nextLongpublic long nextLong() Delegation- Overrides:
- nextLongin class- java.util.Random
 
 
- 
 
-