C# Class PeNet.CrlUrlList

This class parses the Certificate Revocation Lists of a signing certificate. It provides access to all CRL URLs in the certificate.
ファイルを表示 Open project: secana/PeNet Class Usage Examples

Public Methods

Method Description
CrlUrlList ( X509Certificate2 cert ) : System

Create a new CrlUrlList object.

CrlUrlList ( byte rawData ) : System

Create a new CrlUrlList object.

ToString ( ) : string

Create a string representation of all CRL in the list.

Private Methods

Method Description
IsValidUri ( string uri ) : bool
ParseCrls ( byte rawData ) : void

Method Details

CrlUrlList() public method

Create a new CrlUrlList object.
public CrlUrlList ( X509Certificate2 cert ) : System
cert System.Security.Cryptography.X509Certificates.X509Certificate2 A X509 certificate object.
return System

CrlUrlList() public method

Create a new CrlUrlList object.
public CrlUrlList ( byte rawData ) : System
rawData byte A byte array containing a X509 certificate
return System

ToString() public method

Create a string representation of all CRL in the list.
public ToString ( ) : string
return string