|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface specifies the random number Service Programming
Interface (SPI) methods, getRandomObject
and
updateRandom
.
Copyright © RSA Security Inc., 1999-2001. All rights reserved.
Method Summary |
|
com.rsa.jsafe.JSAFE_SecureRandom |
getRandomObject()
Returns a |
void |
updateRandom()
Gives the random service provider an opportunity to gather random bits of information from the operating environment. |
Method Detail |
public com.rsa.jsafe.JSAFE_SecureRandom getRandomObject() throws NotSupportedException, RandomException
JSAFE_SecureRandom
object which is
seeded, if necessary.
Returns
JSAFE_SecureRandom
object that is used
to generate random bytes.
Throws
NotSupportedException
- If this method is
not supported by the provider for a given set of arguments.
RandomException
- If the random provider
fails.public void updateRandom() throws NotSupportedException, RandomException
Throws
NotSupportedException
- If this method is
not supported by the provider for a given set of arguments.
RandomException
- If the random provider
fails.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |