- key
- public key for which verification should be performed.
- sigProvider
- the name of the signature provider.
Type Reason Javax.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. Uses the signature algorithm given by the provider.