C# Class Opc.Ua.X509CRL

Provides access to an X509 CRL object.
Inheritance: IDisposable
ファイルを表示 Open project: OPCFoundation/Misc-Tools Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Frees any unmanaged resources.

IsRevoked ( X509Certificate2 certificate ) : bool

Returns true the certificate is in the CRL.

VerifySignature ( X509Certificate2 issuer, bool throwOnError ) : bool

Verifies the signature on the CRL.

X509CRL ( byte crl ) : System

Loads a CRL from a memory buffer.

X509CRL ( string filePath ) : System

Loads a CRL from a file.

Private Methods

Method Description
Dispose ( bool disposing ) : void

An overrideable version of the Dispose.

FreeUnmanagedPointers ( ) : void
Initialize ( byte crl ) : void
SaveUnmanagedPointer ( IntPtr pData ) : void

Method Details

Dispose() public method

Frees any unmanaged resources.
public Dispose ( ) : void
return void

IsRevoked() public method

Returns true the certificate is in the CRL.
public IsRevoked ( X509Certificate2 certificate ) : bool
certificate System.Security.Cryptography.X509Certificates.X509Certificate2
return bool

VerifySignature() public method

Verifies the signature on the CRL.
public VerifySignature ( X509Certificate2 issuer, bool throwOnError ) : bool
issuer System.Security.Cryptography.X509Certificates.X509Certificate2
throwOnError bool
return bool

X509CRL() public method

Loads a CRL from a memory buffer.
public X509CRL ( byte crl ) : System
crl byte
return System

X509CRL() public method

Loads a CRL from a file.
public X509CRL ( string filePath ) : System
filePath string
return System