iText 9.0.0 API
|
Class that allows you to verify a certificate against one or more Certificate Revocation Lists. More...
Public Member Functions |
|
CRLVerifier (CertificateVerifier verifier, IList< IX509Crl > crls) | |
Creates a CRLVerifier instance. More... |
|
override IList< VerificationOK > | Verify (IX509Certificate signCert, IX509Certificate issuerCert, DateTime signDate) |
Verifies whether a valid CRL is found for the certificate. More... |
|
virtual bool | Verify (IX509Crl crl, IX509Certificate signCert, IX509Certificate issuerCert, DateTime signDate) |
Verifies a certificate against a single CRL. More... |
|
virtual IX509Crl | GetCRL (IX509Certificate signCert, IX509Certificate issuerCert) |
Fetches a CRL for a specific certificate online (without further checking). More... |
|
virtual bool | IsSignatureValid (IX509Crl crl, IX509Certificate crlIssuer) |
Checks if a CRL verifies against the issuer certificate or a trusted anchor. More... |
|
Public Member Functions inherited from iText.Signatures.RootStoreVerifier | |
RootStoreVerifier (CertificateVerifier verifier) | |
Creates a RootStoreVerifier in a chain of verifiers. More... |
|
virtual void | SetRootStore (List< IX509Certificate > keyStore) |
Sets the Key Store against which a certificate can be checked. More... |
|
override IList< VerificationOK > | Verify (IX509Certificate signCert, IX509Certificate issuerCert, DateTime signDate) |
Verifies a single certificate against a key store (if present). More... |
|
Public Member Functions inherited from iText.Signatures.CertificateVerifier | |
CertificateVerifier (iText.Signatures.CertificateVerifier verifier) | |
Creates the final CertificateVerifier in a chain of verifiers. More... |
|
virtual void | SetOnlineCheckingAllowed (bool onlineCheckingAllowed) |
Decide whether or not online checking is allowed. More... |
|
Static Package Attributes |
|
static readonly ILogger | LOGGER |
The Logger instance More... |
|
Additional Inherited Members |
|
Package Attributes inherited from iText.Signatures.RootStoreVerifier | |
List< IX509Certificate > | rootStore = null |
A key store against which certificates can be verified. More... |
|
Package Attributes inherited from iText.Signatures.CertificateVerifier | |
iText.Signatures.CertificateVerifier | verifier |
The previous CertificateVerifier in the chain of verifiers. More... |
|
bool | onlineCheckingAllowed = true |
Indicates if going online to verify a certificate is allowed. More... |
|
Class that allows you to verify a certificate against one or more Certificate Revocation Lists.
|
inline |
Creates a CRLVerifier instance.
verifier | the next verifier in the chain |
crls | a list of CRLs |
|
inlinevirtual |
Fetches a CRL for a specific certificate online (without further checking).
signCert | the certificate |
issuerCert | its issuer left for backwards compatibility |
|
inlinevirtual |
Checks if a CRL verifies against the issuer certificate or a trusted anchor.
crl | the CRL |
crlIssuer | the trusted anchor |
|
inlinevirtual |
Verifies whether a valid CRL is found for the certificate.
Verifies whether a valid CRL is found for the certificate. If this method returns false, it doesn't mean the certificate isn't valid. It means we couldn't verify it against any CRL that was available.
signCert | the certificate that needs to be checked |
issuerCert | its issuer |
VerificationOK
objects. The list will be empty if the certificate couldn't be verified.
Reimplemented from iText.Signatures.CertificateVerifier.
|
inlinevirtual |
Verifies a certificate against a single CRL.
crl | the Certificate Revocation List |
signCert | a certificate that needs to be verified |
issuerCert | its issuer |
signDate | the sign date |
|
staticpackage |
The Logger instance