Table of Contents

Class Certificate

Namespace
DotNetBrowser.Net.Certificates
Assembly
DotNetBrowser.dll

Provides information about the digital certificate. This certificate represents a X.509 certificate, which consists of a particular identity or end-entity certificate, such as an server identity or a client public key certificate, and zero or more intermediate certificates.

public sealed class Certificate
Inheritance
Certificate
Inherited Members

Constructors

Certificate(X509Certificate)

Constructs a new Certificate instance from an X509Certificate.

Certificate(X509Certificate, X509CertificateCollection)

Constructs a new Certificate instance from an X509Certificate and the list of intermediate X.509 certificates associated with this the certificate that may be needed for chain building.

Properties

CaFingerPrint

The CA Fingerprint of certificate.

Expired

Indicates whether the certificate has already expired.

ExtendedKeyUsages

A collection of extended key usages. This collection can be empty if the extended key usages info was not extracted from certificate because of corrupt data.

Fingerprint

A certificate fingerprint. Can be an empty string if the fingerprint was not extracted from certificate because of corrupt data.

IntermediateCertificates

Gets the list of intermediate certificates associated with this certificate that may be needed for chain building.

Issuer

The Issuer entity of certificate. Can be null if the issuer was not extracted from certificate because of corrupt certificate data.

IssuerName

The name of the issuer of the certificate.

KeyUsages

The key usages as a combination of flags. Can be null if the key usages info was not extracted from the certificate because of corrupt data.

NotAfter

The DateTime that describes until what time the certificate is valid.

NotBefore

The DateTime starting from the certificate is valid.

SerialNumber

The serial number of certificate. Can be an empty string if the serial number was not extracted from certificate because of corrupt data.

Subject

The Subject entity of certificate. Can be null if the subject was not extracted from certificate data because of corrupt certificate data.

SubjectName

The name of the subject of the certificate. For HTTPS server certificates, this represents the web server. The common name of the subject should match the host name of the web server.

X509Certificate

The X509Certificate that provides access to all certificate information. Can be null if the information was not extracted because of corrupt certificate data.

X509Certificate2

The X509Certificate2 that provides access to all certificate information. Can be null if the information was not extracted because of corrupt certificate data.

Methods

ToString()