iText 5

CertificateVerification

CertificateVerification Public class

Diagram

flowchart LR classDef interfaceStyle stroke-dasharray: 5 5; classDef abstractStyle stroke-width:4px subgraph iTextSharp.text.pdf.security iTextSharp.text.pdf.security.CertificateVerification[[CertificateVerification]] end

Members

Methods

Public Static methods

Returns

Name

string

VerifyCertificate

(X509Certificate cert, ICollection<X509Crl> crls, DateTime calendar)

IList<

VerificationException

>

VerifyCertificates

(...)

bool

VerifyOcspCertificates

(BasicOcspResp ocsp, ICollection<X509Certificate> keystore)

bool

VerifyTimestampCertificates

(TimeStampToken ts, ICollection<X509Certificate> keystore)

Details

Methods

VerifyCertificate

Source code

public static string VerifyCertificate(X509Certificate cert, ICollection<X509Crl> crls, DateTime calendar)

Arguments

Type

Name

Description

X509Certificate

cert

ICollection<X509Crl>

crls

DateTime

calendar

VerifyCertificates [1/2]

Source code

public static IList<VerificationException> VerifyCertificates(ICollection<X509Certificate> certs, ICollection<X509Certificate> keystore, ICollection<X509Crl> crls, DateTime calendar)

Arguments

Type

Name

Description

ICollection<X509Certificate>

certs

ICollection<X509Certificate>

keystore

ICollection<X509Crl>

crls

DateTime

calendar

VerifyCertificates [2/2]

Source code

public static IList<VerificationException> VerifyCertificates(ICollection<X509Certificate> certs, ICollection<X509Certificate> keystore, DateTime calendar)

Arguments

Type

Name

Description

ICollection<X509Certificate>

certs

ICollection<X509Certificate>

keystore

DateTime

calendar

VerifyOcspCertificates

Source code

public static bool VerifyOcspCertificates(BasicOcspResp ocsp, ICollection<X509Certificate> keystore)

Arguments

Type

Name

Description

BasicOcspResp

ocsp

ICollection<X509Certificate>

keystore

VerifyTimestampCertificates

Source code

public static bool VerifyTimestampCertificates(TimeStampToken ts, ICollection<X509Certificate> keystore)

Arguments

Type

Name

Description

TimeStampToken

ts

ICollection<X509Certificate>

keystore

Generated with ModularDoc