- key
- PublicKey public key for which verification should be performed.
- sigProvider
- String the name of the signature provider.
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 the specified provider does not exists. Java.Security.SignatureException if signature errors are detected.
Verifies that this certificate was signed with the given public key. It Uses the signature algorithm given by the provider.