Throws an exception if the certificate was not signed using the
verification key provided. This method uses the signature verification
engine supplied by the specified provider. Note that the specified
Provider object does not have to be registered in the provider list.
Successfully verifying a certificate does <em>not</em> indicate that one
should trust the entity which it represents.
@param key the key used for verification.
@param sigProvider the provider.
@exception NoSuchAlgorithmException on unsupported signature
algorithms.
@exception InvalidKeyException on incorrect key.
@exception SignatureException on signature errors.
@exception CertificateException on encoding errors.
Throws an exception if the certificate was not signed using the verification key provided. This method uses the signature verification engine supplied by the specified provider. Note that the specified Provider object does not have to be registered in the provider list. Successfully verifying a certificate does <em>not</em> indicate that one should trust the entity which it represents.
@param key the key used for verification. @param sigProvider the provider.
@exception NoSuchAlgorithmException on unsupported signature algorithms. @exception InvalidKeyException on incorrect key. @exception SignatureException on signature errors. @exception CertificateException on encoding errors.