Package | Description |
---|---|
java.security |
Contains core language classes related to permission management.
|
java.security.cert |
Contains classes for certificate management.
|
javax.crypto |
Modifier and Type | Method and Description |
---|---|
static Signature |
Signature.getInstance(java.lang.String algorithm,
java.lang.String provider)
Returns a Signature object that implements the specified signature algorithm.
|
static MessageDigest |
MessageDigest.getInstance(java.lang.String algorithm,
java.lang.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,
java.lang.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(java.lang.String algorithm,
java.lang.String provider)
Returns a
Mac object that implements the specified MAC algorithm. |
static Cipher |
Cipher.getInstance(java.lang.String transformation,
java.lang.String provider)
Returns a
Cipher object that implements the specified transformation. |