X509CertImpl.verify

Throws an exception if the certificate was not signed using the verification key provided. 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.

@exception InvalidKeyException on incorrect key. @exception NoSuchAlgorithmException on unsupported signature algorithms. @exception NoSuchProviderException if there's no default provider. @exception SignatureException on signature errors. @exception CertificateException on encoding errors.

Meta