| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private transient byte[] | |
| private static final int | |
| private transient int | |
| private transient long | |
| private static final long | |
| private byte[] | |
| private volatile SecureRandom | |
| private static final long | |
| private final Token |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected byte[] | engineGenerateSeed(int numBytes)
Implements abstract java. Returns the given number of seed bytes. |
| protected void | engineNextBytes(byte[] bytes)
Implements abstract java. Generates a user-specified number of random bytes. |
| protected synchronized void | engineSetSeed(byte[] seed)
Implements abstract java. Reseeds this random object with the given seed. |
| private void | |
| private void | |
| private void | readObject(ObjectInputStream
the in)ObjectInputStream from which data is readRestores the state of this object from the stream. |
| buffered | back to summary |
|---|---|
| private int buffered | |
| iBuffer | back to summary |
|---|---|
| private transient byte[] iBuffer | |
| IBUFFER_SIZE | back to summary |
|---|---|
| private static final int IBUFFER_SIZE | |
| ibuffered | back to summary |
|---|---|
| private transient int ibuffered | |
| lastRead | back to summary |
|---|---|
| private transient long lastRead | |
| MAX_IBUFFER_TIME | back to summary |
|---|---|
| private static final long MAX_IBUFFER_TIME | |
| mixBuffer | back to summary |
|---|---|
| private byte[] mixBuffer | |
| mixRandom | back to summary |
|---|---|
| private volatile SecureRandom mixRandom | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| token | back to summary |
|---|---|
| private final Token token | |
| P11SecureRandom | back to summary |
|---|---|
| pack-priv P11SecureRandom(Token token) | |
| engineGenerateSeed | back to summary |
|---|---|
| protected byte[] engineGenerateSeed(int numBytes) Implements abstract java. Doc from java. Returns the given number of seed bytes. This call may be used to seed other random number generators.
| |
| engineNextBytes | back to summary |
|---|---|
| protected void engineNextBytes(byte[] bytes) Implements abstract java. Doc from java. Generates a user-specified number of random bytes.
Some random number generators can only generate a limited amount
of random bytes per invocation. If the size of
| |
| engineSetSeed | back to summary |
|---|---|
| protected synchronized void engineSetSeed(byte[] seed) Implements abstract java. Doc from java. Reseeds this random object with the given seed. The seed supplements, rather than replaces, the existing seed. Thus, repeated calls are guaranteed never to reduce randomness.
| |
| implNextBytes | back to summary |
|---|---|
| private void implNextBytes(byte[] bytes) | |
| mix | back to summary |
|---|---|
| private void mix(byte[] b) | |
| readObject | back to summary |
|---|---|
| private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException Restores the state of this object from the stream.
| |