- key
- PublicKey public key for which verification should be performed.
Type Reason Java.Security.Cert.CertificateException if encoding errors are detected. Java.Security.NoSuchAlgorithmException if an unsupported algorithm is detected. Java.Security.InvalidKeyException if an invalid key is detected. Java.Security.NoSuchProviderException if there is no default provider. Java.Security.SignatureException if signature errors are detected.
Verifies that this certificate was signed with the given public key.