Package | Description |
---|---|
java.security |
Contains core language classes related to permission management.
|
Modifier and Type | Method and Description |
---|---|
PrivateKey |
KeyFactory.generatePrivate(KeySpec keySpec)
Generates a private key object from the provided key specification (key material).
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
SignatureSpi.engineInitSign(PrivateKey privateKey)
Initializes this signature object with the specified private key for signing operations.
|
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)
Initialize this object for signing.
|
void |
Signature.initSign(PrivateKey privateKey,
SecureRandom random)
Initialize this object for signing.
|