C# Class EU.Europa.EC.Markt.Dss.Validation.OCSPAndCRLCertificateVerifier

Fetch revocation data from a certificate by querying a OCSP server first and then an CRL server if no OCSP response could be retrieved.
Fetch revocation data from a certificate by querying a OCSP server first and then an CRL server if no OCSP response could be retrieved.
Inheritance: CertificateStatusVerifier
Mostra file Open project: nonorganic/dssnet Class Usage Examples

Public Methods

Method Description
Check ( X509Certificate cert, X509Certificate potentialIssuer, System.DateTime validationDate ) : CertificateStatus
GetCrlSource ( ) : ICrlSource

Get the CRL source from this verifier

GetOcspSource ( ) : IOcspSource

Get the OCSP Source from this verifier

OCSPAndCRLCertificateVerifier ( ) : System

The default constructor for OCSPAndCRLCertificateVerifier.

The default constructor for OCSPAndCRLCertificateVerifier.

OCSPAndCRLCertificateVerifier ( ICrlSource crlSource, IOcspSource ocspSource ) : System

Build a OCSPAndCRLCertificateVerifier that will use the provided CRLSource and OCSPSource

SetCrlSource ( ICrlSource crlSource ) : void

Set the CRL source for this verifier

SetOcspSource ( IOcspSource ocspSource ) : void

Set the OCSP source for this verifier

Method Details

Check() public method

public Check ( X509Certificate cert, X509Certificate potentialIssuer, System.DateTime validationDate ) : CertificateStatus
cert X509Certificate
potentialIssuer X509Certificate
validationDate System.DateTime
return CertificateStatus

GetCrlSource() public method

Get the CRL source from this verifier
public GetCrlSource ( ) : ICrlSource
return ICrlSource

GetOcspSource() public method

Get the OCSP Source from this verifier
public GetOcspSource ( ) : IOcspSource
return IOcspSource

OCSPAndCRLCertificateVerifier() public method

The default constructor for OCSPAndCRLCertificateVerifier.
The default constructor for OCSPAndCRLCertificateVerifier.
public OCSPAndCRLCertificateVerifier ( ) : System
return System

OCSPAndCRLCertificateVerifier() public method

Build a OCSPAndCRLCertificateVerifier that will use the provided CRLSource and OCSPSource
public OCSPAndCRLCertificateVerifier ( ICrlSource crlSource, IOcspSource ocspSource ) : System
crlSource ICrlSource
ocspSource IOcspSource
return System

SetCrlSource() public method

Set the CRL source for this verifier
public SetCrlSource ( ICrlSource crlSource ) : void
crlSource ICrlSource
return void

SetOcspSource() public method

Set the OCSP source for this verifier
public SetOcspSource ( IOcspSource ocspSource ) : void
ocspSource IOcspSource
return void