Package | Description |
---|---|
java.security |
Provides the classes and interfaces for the security framework.
|
Modifier and Type | Class | Description |
---|---|---|
static class |
DrbgParameters.Instantiation |
DRBG parameters for instantiation.
|
static class |
DrbgParameters.NextBytes |
DRBG parameters for random bits generation.
|
static class |
DrbgParameters.Reseed |
DRBG parameters for reseed.
|
Modifier and Type | Method | Description |
---|---|---|
protected SecureRandomParameters |
SecureRandomSpi.engineGetParameters() |
Returns the effective
SecureRandomParameters for this
SecureRandom instance. |
SecureRandomParameters |
SecureRandom.getParameters() |
Returns the effective
SecureRandomParameters for this
SecureRandom instance. |
Modifier and Type | Method | Description |
---|---|---|
protected void |
SecureRandomSpi.engineNextBytes(byte[] bytes,
SecureRandomParameters params) |
Generates a user-specified number of random bytes with
additional parameters.
|
protected void |
SecureRandomSpi.engineReseed(SecureRandomParameters params) |
Reseeds this random object with entropy input read from its
entropy source with additional parameters.
|
static SecureRandom |
SecureRandom.getInstance(String algorithm,
SecureRandomParameters params) |
Returns a
SecureRandom object that implements the specified
Random Number Generator (RNG) algorithm and supports the specified
SecureRandomParameters request. |
static SecureRandom |
SecureRandom.getInstance(String algorithm,
SecureRandomParameters params,
String provider) |
Returns a
SecureRandom object that implements the specified
Random Number Generator (RNG) algorithm and supports the specified
SecureRandomParameters request. |
static SecureRandom |
SecureRandom.getInstance(String algorithm,
SecureRandomParameters params,
Provider provider) |
Returns a
SecureRandom object that implements the specified
Random Number Generator (RNG) algorithm and supports the specified
SecureRandomParameters request. |
void |
SecureRandom.nextBytes(byte[] bytes,
SecureRandomParameters params) |
Generates a user-specified number of random bytes with
additional parameters.
|
void |
SecureRandom.reseed(SecureRandomParameters params) |
Reseeds this
SecureRandom with entropy input read from its
entropy source with additional parameters. |
Constructor | Description |
---|---|
SecureRandomSpi(SecureRandomParameters params) |
Constructor with a parameter.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-internal+0-adhoc.mlchung.jdk9-jdeps