Java Code Examples for sun.security.x509.X509CRLImpl#verify()
The following examples show how to use
sun.security.x509.X509CRLImpl#verify() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: X509CRL.java From jdk1.8-source-analysis with Apache License 2.0 | 2 votes |
/** * Verifies that this CRL was signed using the * private key that corresponds to the given public key. * This method uses the signature verification engine * supplied by the given provider. Note that the specified Provider object * does not have to be registered in the provider list. * * This method was added to version 1.8 of the Java Platform Standard * Edition. In order to maintain backwards compatibility with existing * service providers, this method is not {@code abstract} * and it provides a default implementation. * * @param key the PublicKey used to carry out the verification. * @param sigProvider the signature provider. * * @exception NoSuchAlgorithmException on unsupported signature * algorithms. * @exception InvalidKeyException on incorrect key. * @exception SignatureException on signature errors. * @exception CRLException on encoding errors. * @since 1.8 */ public void verify(PublicKey key, Provider sigProvider) throws CRLException, NoSuchAlgorithmException, InvalidKeyException, SignatureException { X509CRLImpl.verify(this, key, sigProvider); }
Example 2
Source File: X509CRL.java From dragonwell8_jdk with GNU General Public License v2.0 | 2 votes |
/** * Verifies that this CRL was signed using the * private key that corresponds to the given public key. * This method uses the signature verification engine * supplied by the given provider. Note that the specified Provider object * does not have to be registered in the provider list. * * This method was added to version 1.8 of the Java Platform Standard * Edition. In order to maintain backwards compatibility with existing * service providers, this method is not {@code abstract} * and it provides a default implementation. * * @param key the PublicKey used to carry out the verification. * @param sigProvider the signature provider. * * @exception NoSuchAlgorithmException on unsupported signature * algorithms. * @exception InvalidKeyException on incorrect key. * @exception SignatureException on signature errors. * @exception CRLException on encoding errors. * @since 1.8 */ public void verify(PublicKey key, Provider sigProvider) throws CRLException, NoSuchAlgorithmException, InvalidKeyException, SignatureException { X509CRLImpl.verify(this, key, sigProvider); }
Example 3
Source File: X509CRL.java From TencentKona-8 with GNU General Public License v2.0 | 2 votes |
/** * Verifies that this CRL was signed using the * private key that corresponds to the given public key. * This method uses the signature verification engine * supplied by the given provider. Note that the specified Provider object * does not have to be registered in the provider list. * * This method was added to version 1.8 of the Java Platform Standard * Edition. In order to maintain backwards compatibility with existing * service providers, this method is not {@code abstract} * and it provides a default implementation. * * @param key the PublicKey used to carry out the verification. * @param sigProvider the signature provider. * * @exception NoSuchAlgorithmException on unsupported signature * algorithms. * @exception InvalidKeyException on incorrect key. * @exception SignatureException on signature errors. * @exception CRLException on encoding errors. * @since 1.8 */ public void verify(PublicKey key, Provider sigProvider) throws CRLException, NoSuchAlgorithmException, InvalidKeyException, SignatureException { X509CRLImpl.verify(this, key, sigProvider); }
Example 4
Source File: X509CRL.java From jdk8u60 with GNU General Public License v2.0 | 2 votes |
/** * Verifies that this CRL was signed using the * private key that corresponds to the given public key. * This method uses the signature verification engine * supplied by the given provider. Note that the specified Provider object * does not have to be registered in the provider list. * * This method was added to version 1.8 of the Java Platform Standard * Edition. In order to maintain backwards compatibility with existing * service providers, this method is not {@code abstract} * and it provides a default implementation. * * @param key the PublicKey used to carry out the verification. * @param sigProvider the signature provider. * * @exception NoSuchAlgorithmException on unsupported signature * algorithms. * @exception InvalidKeyException on incorrect key. * @exception SignatureException on signature errors. * @exception CRLException on encoding errors. * @since 1.8 */ public void verify(PublicKey key, Provider sigProvider) throws CRLException, NoSuchAlgorithmException, InvalidKeyException, SignatureException { X509CRLImpl.verify(this, key, sigProvider); }
Example 5
Source File: X509CRL.java From JDKSourceCode1.8 with MIT License | 2 votes |
/** * Verifies that this CRL was signed using the * private key that corresponds to the given public key. * This method uses the signature verification engine * supplied by the given provider. Note that the specified Provider object * does not have to be registered in the provider list. * * This method was added to version 1.8 of the Java Platform Standard * Edition. In order to maintain backwards compatibility with existing * service providers, this method is not {@code abstract} * and it provides a default implementation. * * @param key the PublicKey used to carry out the verification. * @param sigProvider the signature provider. * * @exception NoSuchAlgorithmException on unsupported signature * algorithms. * @exception InvalidKeyException on incorrect key. * @exception SignatureException on signature errors. * @exception CRLException on encoding errors. * @since 1.8 */ public void verify(PublicKey key, Provider sigProvider) throws CRLException, NoSuchAlgorithmException, InvalidKeyException, SignatureException { X509CRLImpl.verify(this, key, sigProvider); }
Example 6
Source File: X509CRL.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 2 votes |
/** * Verifies that this CRL was signed using the * private key that corresponds to the given public key. * This method uses the signature verification engine * supplied by the given provider. Note that the specified Provider object * does not have to be registered in the provider list. * * This method was added to version 1.8 of the Java Platform Standard * Edition. In order to maintain backwards compatibility with existing * service providers, this method is not {@code abstract} * and it provides a default implementation. * * @param key the PublicKey used to carry out the verification. * @param sigProvider the signature provider. * * @exception NoSuchAlgorithmException on unsupported signature * algorithms. * @exception InvalidKeyException on incorrect key. * @exception SignatureException on signature errors. * @exception CRLException on encoding errors. * @since 1.8 */ public void verify(PublicKey key, Provider sigProvider) throws CRLException, NoSuchAlgorithmException, InvalidKeyException, SignatureException { X509CRLImpl.verify(this, key, sigProvider); }
Example 7
Source File: X509CRL.java From openjdk-jdk9 with GNU General Public License v2.0 | 2 votes |
/** * Verifies that this CRL was signed using the * private key that corresponds to the given public key. * This method uses the signature verification engine * supplied by the given provider. Note that the specified Provider object * does not have to be registered in the provider list. * * This method was added to version 1.8 of the Java Platform Standard * Edition. In order to maintain backwards compatibility with existing * service providers, this method is not {@code abstract} * and it provides a default implementation. * * @param key the PublicKey used to carry out the verification. * @param sigProvider the signature provider. * * @exception NoSuchAlgorithmException on unsupported signature * algorithms. * @exception InvalidKeyException on incorrect key. * @exception SignatureException on signature errors. * @exception CRLException on encoding errors. * @since 1.8 */ public void verify(PublicKey key, Provider sigProvider) throws CRLException, NoSuchAlgorithmException, InvalidKeyException, SignatureException { X509CRLImpl.verify(this, key, sigProvider); }
Example 8
Source File: X509CRL.java From jdk8u-jdk with GNU General Public License v2.0 | 2 votes |
/** * Verifies that this CRL was signed using the * private key that corresponds to the given public key. * This method uses the signature verification engine * supplied by the given provider. Note that the specified Provider object * does not have to be registered in the provider list. * * This method was added to version 1.8 of the Java Platform Standard * Edition. In order to maintain backwards compatibility with existing * service providers, this method is not {@code abstract} * and it provides a default implementation. * * @param key the PublicKey used to carry out the verification. * @param sigProvider the signature provider. * * @exception NoSuchAlgorithmException on unsupported signature * algorithms. * @exception InvalidKeyException on incorrect key. * @exception SignatureException on signature errors. * @exception CRLException on encoding errors. * @since 1.8 */ public void verify(PublicKey key, Provider sigProvider) throws CRLException, NoSuchAlgorithmException, InvalidKeyException, SignatureException { X509CRLImpl.verify(this, key, sigProvider); }
Example 9
Source File: X509CRL.java From Java8CN with Apache License 2.0 | 2 votes |
/** * Verifies that this CRL was signed using the * private key that corresponds to the given public key. * This method uses the signature verification engine * supplied by the given provider. Note that the specified Provider object * does not have to be registered in the provider list. * * This method was added to version 1.8 of the Java Platform Standard * Edition. In order to maintain backwards compatibility with existing * service providers, this method is not {@code abstract} * and it provides a default implementation. * * @param key the PublicKey used to carry out the verification. * @param sigProvider the signature provider. * * @exception NoSuchAlgorithmException on unsupported signature * algorithms. * @exception InvalidKeyException on incorrect key. * @exception SignatureException on signature errors. * @exception CRLException on encoding errors. * @since 1.8 */ public void verify(PublicKey key, Provider sigProvider) throws CRLException, NoSuchAlgorithmException, InvalidKeyException, SignatureException { X509CRLImpl.verify(this, key, sigProvider); }
Example 10
Source File: X509CRL.java From hottub with GNU General Public License v2.0 | 2 votes |
/** * Verifies that this CRL was signed using the * private key that corresponds to the given public key. * This method uses the signature verification engine * supplied by the given provider. Note that the specified Provider object * does not have to be registered in the provider list. * * This method was added to version 1.8 of the Java Platform Standard * Edition. In order to maintain backwards compatibility with existing * service providers, this method is not {@code abstract} * and it provides a default implementation. * * @param key the PublicKey used to carry out the verification. * @param sigProvider the signature provider. * * @exception NoSuchAlgorithmException on unsupported signature * algorithms. * @exception InvalidKeyException on incorrect key. * @exception SignatureException on signature errors. * @exception CRLException on encoding errors. * @since 1.8 */ public void verify(PublicKey key, Provider sigProvider) throws CRLException, NoSuchAlgorithmException, InvalidKeyException, SignatureException { X509CRLImpl.verify(this, key, sigProvider); }
Example 11
Source File: X509CRL.java From openjdk-8-source with GNU General Public License v2.0 | 2 votes |
/** * Verifies that this CRL was signed using the * private key that corresponds to the given public key. * This method uses the signature verification engine * supplied by the given provider. Note that the specified Provider object * does not have to be registered in the provider list. * * This method was added to version 1.8 of the Java Platform Standard * Edition. In order to maintain backwards compatibility with existing * service providers, this method is not {@code abstract} * and it provides a default implementation. * * @param key the PublicKey used to carry out the verification. * @param sigProvider the signature provider. * * @exception NoSuchAlgorithmException on unsupported signature * algorithms. * @exception InvalidKeyException on incorrect key. * @exception SignatureException on signature errors. * @exception CRLException on encoding errors. * @since 1.8 */ public void verify(PublicKey key, Provider sigProvider) throws CRLException, NoSuchAlgorithmException, InvalidKeyException, SignatureException { X509CRLImpl.verify(this, key, sigProvider); }
Example 12
Source File: X509CRL.java From openjdk-8 with GNU General Public License v2.0 | 2 votes |
/** * Verifies that this CRL was signed using the * private key that corresponds to the given public key. * This method uses the signature verification engine * supplied by the given provider. Note that the specified Provider object * does not have to be registered in the provider list. * * This method was added to version 1.8 of the Java Platform Standard * Edition. In order to maintain backwards compatibility with existing * service providers, this method is not {@code abstract} * and it provides a default implementation. * * @param key the PublicKey used to carry out the verification. * @param sigProvider the signature provider. * * @exception NoSuchAlgorithmException on unsupported signature * algorithms. * @exception InvalidKeyException on incorrect key. * @exception SignatureException on signature errors. * @exception CRLException on encoding errors. * @since 1.8 */ public void verify(PublicKey key, Provider sigProvider) throws CRLException, NoSuchAlgorithmException, InvalidKeyException, SignatureException { X509CRLImpl.verify(this, key, sigProvider); }
Example 13
Source File: X509CRL.java From jdk8u-jdk with GNU General Public License v2.0 | 2 votes |
/** * Verifies that this CRL was signed using the * private key that corresponds to the given public key. * This method uses the signature verification engine * supplied by the given provider. Note that the specified Provider object * does not have to be registered in the provider list. * * This method was added to version 1.8 of the Java Platform Standard * Edition. In order to maintain backwards compatibility with existing * service providers, this method is not {@code abstract} * and it provides a default implementation. * * @param key the PublicKey used to carry out the verification. * @param sigProvider the signature provider. * * @exception NoSuchAlgorithmException on unsupported signature * algorithms. * @exception InvalidKeyException on incorrect key. * @exception SignatureException on signature errors. * @exception CRLException on encoding errors. * @since 1.8 */ public void verify(PublicKey key, Provider sigProvider) throws CRLException, NoSuchAlgorithmException, InvalidKeyException, SignatureException { X509CRLImpl.verify(this, key, sigProvider); }
Example 14
Source File: X509CRL.java From jdk8u-dev-jdk with GNU General Public License v2.0 | 2 votes |
/** * Verifies that this CRL was signed using the * private key that corresponds to the given public key. * This method uses the signature verification engine * supplied by the given provider. Note that the specified Provider object * does not have to be registered in the provider list. * * This method was added to version 1.8 of the Java Platform Standard * Edition. In order to maintain backwards compatibility with existing * service providers, this method is not {@code abstract} * and it provides a default implementation. * * @param key the PublicKey used to carry out the verification. * @param sigProvider the signature provider. * * @exception NoSuchAlgorithmException on unsupported signature * algorithms. * @exception InvalidKeyException on incorrect key. * @exception SignatureException on signature errors. * @exception CRLException on encoding errors. * @since 1.8 */ public void verify(PublicKey key, Provider sigProvider) throws CRLException, NoSuchAlgorithmException, InvalidKeyException, SignatureException { X509CRLImpl.verify(this, key, sigProvider); }