DrbgParameters class.
| Modifier and Type | Field and Description |
|---|---|
| private transient AbstractDrbg | |
| private final MoreDrbgParameters | |
| private static final String | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static void | checkTwice(boolean
true if set more than once flag, String the name of aspect shown in IAE name)Ensures an aspect is not set more than once. |
| private void | |
| protected byte[] | engineGenerateSeed(int numBytes)
Implements abstract java. Returns the given number of seed bytes. |
| protected SecureRandomParameters | engineGetParameters()
Overrides java. Returns the effective |
| protected void | engineNextBytes(byte[] bytes)
Implements abstract java. Generates a user-specified number of random bytes. |
| protected void | engineNextBytes(byte[] bytes, SecureRandomParameters params)
Overrides java. Generates a user-specified number of random bytes with additional parameters. |
| protected void | engineReseed(SecureRandomParameters params)
Overrides java. Reseeds this random object with entropy input read from its entropy source with additional parameters. |
| protected void | engineSetSeed(byte[] seed)
Implements abstract java. Reseeds this random object with the given seed. |
| private void | readObject(ObjectInputStream
the s)ObjectInputStream from which data is readRestores the state of this object from the stream. |
| public String | toString()
Overrides java. Returns a Human-readable string representation of this
|
| impl | back to summary |
|---|---|
| private transient AbstractDrbg impl | |
| mdp | back to summary |
|---|---|
| private final MoreDrbgParameters mdp | |
| PROP_NAME | back to summary |
|---|---|
| private static final String PROP_NAME | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| DRBG | back to summary |
|---|---|
| public DRBG(SecureRandomParameters params) | |
| checkTwice | back to summary |
|---|---|
| private static void checkTwice(boolean flag, String name) Ensures an aspect is not set more than once.
| |
| createImpl | back to summary |
|---|---|
| private void createImpl() | |
| 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.
| |
| engineGetParameters | back to summary |
|---|---|
| protected SecureRandomParameters engineGetParameters() Overrides java. Doc from java. Returns the effective
| |
| 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
| |
| engineNextBytes | back to summary |
|---|---|
| protected void engineNextBytes(byte[] bytes, SecureRandomParameters params) Overrides java. Doc from java. Generates a user-specified number of random bytes with additional parameters.
Some random number generators can only generate a limited amount
of random bytes per invocation. If the size of
| |
| engineReseed | back to summary |
|---|---|
| protected void engineReseed(SecureRandomParameters params) Overrides java. Doc from java. Reseeds this random object with entropy input read from its entropy source with additional parameters.
If this method is called by Do not override this method if the implementation does not support reseeding.
| |
| engineSetSeed | back to summary |
|---|---|
| protected 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.
| |
| readObject | back to summary |
|---|---|
| private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException Restores the state of this object from the stream.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a Human-readable string representation of this
| |