Class SecureRandomProvider
- java.lang.Object
- 
- com.inductiveautomation.ignition.common.util.SecureRandomProvider
 
- 
 public class SecureRandomProvider extends java.lang.Object
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]generateSeed(int numBytes)static SecureRandomProviderget()java.security.SecureRandomgetSecureRandom()static voidinitialize()voidnextBytes(byte[] bytes)intnextInt()intnextInt(int n)longnextLong()java.util.UUIDnextUUID()Creates a new random UUID using the safely-generated SecureRandom
 
- 
- 
- 
Method Detail- 
initializepublic static void initialize() throws java.security.NoSuchAlgorithmException- Throws:
- java.security.NoSuchAlgorithmException
 
 - 
getpublic static SecureRandomProvider get() 
 - 
getSecureRandompublic java.security.SecureRandom getSecureRandom() 
 - 
generateSeedpublic byte[] generateSeed(int numBytes) 
 - 
nextBytespublic void nextBytes(byte[] bytes) 
 - 
nextLongpublic long nextLong() 
 - 
nextIntpublic int nextInt() 
 - 
nextIntpublic int nextInt(int n) 
 - 
nextUUIDpublic java.util.UUID nextUUID() Creates a new random UUID using the safely-generated SecureRandom
 
- 
 
-