Package | Description |
---|---|
java.security |
Contains core language classes related to permission management.
|
javax.crypto |
Modifier and Type | Field and Description |
---|---|
protected SecureRandom |
SignatureSpi.appRandom
Application-specified source of randomness.
|
Modifier and Type | Method and Description |
---|---|
protected void |
SignatureSpi.engineInitSign(PrivateKey privateKey,
SecureRandom random)
Initializes this signature object with the specified private key and source of randomness for signing operations.
|
void |
Signature.initSign(PrivateKey privateKey,
SecureRandom random)
Initialize this object for signing.
|
Modifier and Type | Method and Description |
---|---|
void |
Cipher.init(int opmode,
Certificate certificate,
SecureRandom random)
Initializes this cipher with the public key from the given certificate and a source of randomness.
|
void |
Cipher.init(int opmode,
Key key,
AlgorithmParameterSpec params,
SecureRandom random)
Initializes this cipher with a key, a set of algorithm parameters, and a source of randomness.
|
void |
Cipher.init(int opmode,
Key key,
SecureRandom random)
Initializes this cipher with a key and a source of randomness.
|