Package | Description |
---|---|
java.security |
Contains core language classes related to permission management.
|
java.security.cert |
Contains classes for certificate management.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
SignatureSpi.engineInitVerify(PublicKey publicKey)
Initializes this signature object with the specified public key for verification operations.
|
void |
Signature.initVerify(PublicKey publicKey)
Initializes this object for verification.
|
Modifier and Type | Method and Description |
---|---|
abstract PublicKey |
Certificate.getPublicKey()
Gets the public key from this certificate.
|
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.
|