Package | Description |
---|---|
java.security | |
javax.crypto |
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 |
KeyPairGeneratorSpi.initialize(AlgorithmParameterSpec params,
SecureRandom random)
Initializes the key pair generator using the specified parameter set and user-provided source of randomness.
|
void |
KeyPairGenerator.initialize(AlgorithmParameterSpec params,
SecureRandom random)
Initializes the key pair generator with the given parameter set and source of randomness.
|
abstract void |
KeyPairGeneratorSpi.initialize(int keysize,
SecureRandom random)
Initializes the key pair generator for a certain keysize, using the default parameter set.
|
void |
KeyPairGenerator.initialize(int keysize,
SecureRandom random)
Initializes the key pair generator for a certain keysize with the given source of randomness (and a default
parameter set).
|
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.
|