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 Summary
Fields Modifier and Type Field Description protected java.security.SecureRandomdelegate 
- 
Constructor Summary
Constructors Constructor Description SynchronizedSecureRandomWrapper(java.security.SecureRandom delegate) 
- 
Method Summary
All 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.SecureRandom
getInstance, getInstance, getInstance, getInstance, getInstance, getInstance, getInstanceStrong, getParameters, getProvider, getSeed, next, nextBytes, reseed, reseed, toString 
 - 
 
 - 
 
- 
- 
Method Detail
- 
generateSeed
public byte[] generateSeed(int numBytes)
Delegation- Overrides:
 generateSeedin classjava.security.SecureRandom
 
- 
getAlgorithm
public java.lang.String getAlgorithm()
Delegation- Overrides:
 getAlgorithmin classjava.security.SecureRandom
 
- 
nextBytes
public void nextBytes(byte[] bytes)
Delegation- Overrides:
 nextBytesin classjava.security.SecureRandom
 
- 
setSeed
public void setSeed(byte[] seed)
Delegation- Overrides:
 setSeedin classjava.security.SecureRandom
 
- 
setSeed
public void setSeed(long seed)
Delegation- Overrides:
 setSeedin classjava.security.SecureRandom
 
- 
nextBoolean
public boolean nextBoolean()
Delegation- Overrides:
 nextBooleanin classjava.util.Random
 
- 
nextDouble
public double nextDouble()
Delegation- Overrides:
 nextDoublein classjava.util.Random
 
- 
nextFloat
public float nextFloat()
Delegation- Overrides:
 nextFloatin classjava.util.Random
 
- 
nextGaussian
public double nextGaussian()
Delegation- Overrides:
 nextGaussianin classjava.util.Random
 
- 
nextInt
public int nextInt()
Delegation- Overrides:
 nextIntin classjava.util.Random
 
- 
nextInt
public int nextInt(int bound)
Delegation- Overrides:
 nextIntin classjava.util.Random
 
- 
nextLong
public long nextLong()
Delegation- Overrides:
 nextLongin classjava.util.Random
 
 - 
 
 -