Package gnu.java.zrtp.utils
Class ZrtpSecureRandom
- java.lang.Object
-
- java.util.Random
-
- java.security.SecureRandom
-
- gnu.java.zrtp.utils.ZrtpSecureRandom
-
- All Implemented Interfaces:
Serializable
public class ZrtpSecureRandom extends SecureRandom
Utility class that provides a singleton for secure random numbers inside the entire ZRTP library.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ZrtpSecureRandom()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SecureRandomgetInstance()static voidsetInstance(SecureRandom secureRandom)-
Methods inherited from class java.security.SecureRandom
generateSeed, getAlgorithm, getInstance, getInstance, getInstance, getInstance, getInstance, getInstance, getInstanceStrong, getParameters, getProvider, getSeed, next, nextBytes, nextBytes, reseed, reseed, setSeed, setSeed, toString
-
-
-
-
Method Detail
-
getInstance
public static SecureRandom getInstance()
-
setInstance
public static void setInstance(SecureRandom secureRandom)
-
-