|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.openfoundation.util.XPSecureRandom
public class XPSecureRandom
Wraps and stores a securerandom variable.
Constructor Summary | |
---|---|
XPSecureRandom()
Creates a new random object. |
Method Summary | |
---|---|
void |
GetBytes(byte[] randomdata)
Generates a user-specified number of random bytes. |
java.lang.String |
NextHex()
Returns the next hex secured random string. |
int |
NextInt()
Returns the next securerandom integer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XPSecureRandom()
Method Detail |
---|
public void GetBytes(byte[] randomdata)
randomdata
- the array to be filled in with random bytes.public int NextInt()
public java.lang.String NextHex()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |