Certificate.verify

Verifies that this certificate was signed using the private key that corresponds to the specified key. This method uses the signature verification engine supplied by the specified provider.

@param key the PublicKey used to carry out the verification. @param sigProvider the name of the signature provider.

@exception NoSuchAlgorithmException on unsupported signature algorithms. @exception InvalidKeyException on incorrect key. @exception NoSuchProviderException on incorrect provider. @exception SignatureException on signature errors. @exception CertificateException on encoding errors.

  1. void verify(PublicKey key)
  2. void verify(PublicKey key, string sigProvider)
    class Certificate
    abstract
    void
    verify
  3. void verify(PublicKey key, Provider sigProvider)

Meta