com.jcorporate.expresso.core.security
Class AbstractRandomNumber
java.lang.Object
com.jcorporate.expresso.core.security.AbstractRandomNumber
- Direct Known Subclasses:
- RandomNumber, RandomNumber
- public abstract class AbstractRandomNumber
- extends Object
- Author:
- Michael Rimov
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractRandomNumber
public AbstractRandomNumber()
throws ChainedException
getRandomBytes
public abstract byte[] getRandomBytes(int numBytes)
- getRandomBytes - Returns a byte array of random bytes. The derived
class determines the actual method used for getting the random data.
- Parameters:
numBytes - The number of bytes to retrieve
- Returns:
- a byte array of random bytes
init
public void init()
throws ChainedException
- Throws:
ChainedException
setCryptoManager
public void setCryptoManager(CryptoManager cryptoManager)
getCryptoManager
public CryptoManager getCryptoManager()
Please see www.jcorporate.com for information about new Expresso releases.