Package | Description |
---|---|
java.security | |
java.security.cert | |
javax.crypto |
Modifier and Type | Method and Description |
---|---|
static Signature |
Signature.getInstance(String algorithm,
String provider)
Returns a Signature object that implements the specified signature algorithm.
|
static MessageDigest |
MessageDigest.getInstance(String algorithm,
String provider)
Returns a MessageDigest object that implements the specified digest algorithm.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
Certificate.verify(PublicKey key)
Verifies that this certificate was signed using the private key that corresponds to the specified public key.
|
abstract void |
Certificate.verify(PublicKey key,
String sigProvider)
Verifies that this certificate was signed using the private key that corresponds to the specified public key.
|
Modifier and Type | Method and Description |
---|---|
static Mac |
Mac.getInstance(String algorithm,
String provider)
Returns a
Mac object that implements the specified MAC algorithm. |
static Cipher |
Cipher.getInstance(String transformation,
String provider)
Returns a
Cipher object that implements the specified transformation. |