|
iText 7 7.2.4 API
|
This class consists of some methods that allow you to verify certificates. More...
Static Public Member Functions |
|
| static String | VerifyCertificate (X509Certificate cert, ICollection< X509Crl > crls) |
| Verifies a single certificate for the current date. More... |
|
| static String | VerifyCertificate (X509Certificate cert, ICollection< X509Crl > crls, DateTime calendar) |
| Verifies a single certificate. More... |
|
| static IList< VerificationException > | VerifyCertificates (X509Certificate[] certs, List< X509Certificate > keystore, ICollection< X509Crl > crls) |
| Verifies a certificate chain against a KeyStore for the current date. More... |
|
| static IList< VerificationException > | VerifyCertificates (X509Certificate[] certs, List< X509Certificate > keystore, ICollection< X509Crl > crls, DateTime calendar) |
| Verifies a certificate chain against a KeyStore. More... |
|
| static IList< VerificationException > | VerifyCertificates (X509Certificate[] certs, List< X509Certificate > keystore) |
| Verifies a certificate chain against a KeyStore for the current date. More... |
|
| static IList< VerificationException > | VerifyCertificates (X509Certificate[] certs, List< X509Certificate > keystore, DateTime calendar) |
| Verifies a certificate chain against a KeyStore. More... |
|
| static bool | VerifyOcspCertificates (BasicOcspResp ocsp, List< X509Certificate > keystore) |
| Verifies an OCSP response against a KeyStore. More... |
|
| static bool | VerifyTimestampCertificates (TimeStampToken ts, List< X509Certificate > keystore) |
| Verifies a time stamp against a KeyStore. More... |
|
Static Public Attributes |
|
| const String | HAS_UNSUPPORTED_EXTENSIONS = "Has unsupported critical extension" |
| const String | CERTIFICATE_REVOKED = "Certificate revoked" |
This class consists of some methods that allow you to verify certificates.
|
inlinestatic |
Verifies a single certificate for the current date.
| cert | the certificate to verify |
| crls | the certificate revocation list or null |
String with the error description or null if no error
|
inlinestatic |
Verifies a single certificate.
| cert | the certificate to verify |
| crls | the certificate revocation list or null |
| calendar | the date, shall not be null |
String with the error description or null if no error
|
inlinestatic |
Verifies a certificate chain against a KeyStore for the current date.
| certs | the certificate chain |
| keystore | the KeyStore |
null if the certificate chain could be validated or a Object[]{cert,error} where cert is the failed certificate and error is the error message
|
inlinestatic |
Verifies a certificate chain against a KeyStore.
| certs | the certificate chain |
| keystore | the KeyStore |
| calendar | the date, shall not be null |
null if the certificate chain could be validated or a Object[]{cert,error} where cert is the failed certificate and error is the error message
|
inlinestatic |
Verifies a certificate chain against a KeyStore for the current date.
| certs | the certificate chain |
| keystore | the KeyStore |
| crls | the certificate revocation list or null |
Object[]{cert,error} where cert is the failed certificate and error is the error message
|
inlinestatic |
Verifies a certificate chain against a KeyStore.
| certs | the certificate chain |
| keystore | the KeyStore |
| crls | the certificate revocation list or null |
| calendar | the date, shall not be null |
Object[]{cert,error} where cert is the failed certificate and error is the error message
|
inlinestatic |
Verifies an OCSP response against a KeyStore.
| ocsp | the OCSP response |
| keystore | the KeyStore |
true is a certificate was found
|
inlinestatic |
Verifies a time stamp against a KeyStore.
| ts | the time stamp |
| keystore | the KeyStore |
true is a certificate was found