| Package | Description | 
|---|---|
| java.security | |
| java.security.cert | 
| Modifier and Type | Method and Description | 
|---|---|
PublicKey | 
KeyFactory.generatePublic(KeySpec keySpec)
Generates a public key object from the provided key specification (key material). 
 | 
PublicKey | 
KeyPair.getPublic()
Returns a reference to the public key component of this key pair. 
 | 
| 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. 
 | 
| Constructor and Description | 
|---|
KeyPair(PublicKey publicKey,
       PrivateKey privateKey)
Constructs a key pair from the given public key and private key. 
 | 
| 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,
      String sigProvider)
Verifies that this certificate was signed using the private key that corresponds to the specified public key. 
 |