Class CoreWebView2Certificate
Represents a certificate. Gives access to a certificate's metadata.
public class CoreWebView2Certificate
- Inheritance
-
CoreWebView2Certificate
- Inherited Members
Properties
DerEncodedSerialNumber
Base64 encoding of DER encoded serial number of the certificate. Read more about DER at RFC 7468 DER.
public string DerEncodedSerialNumber { get; }
Property Value
DisplayName
Display name for a certificate.
public string DisplayName { get; }
Property Value
Issuer
Name of the certificate authority that issued the certificate.
public string Issuer { get; }
Property Value
PemEncodedIssuerCertificateChain
Returns list of PEM encoded certificate issuer chain. In this list first element is the current certificate followed by intermediate1, intermediate2...intermediateN-1. Root certificate is the last element in the list.
public IReadOnlyList<string> PemEncodedIssuerCertificateChain { get; }
Property Value
Subject
Subject of the certificate.
public string Subject { get; }
Property Value
ValidFrom
The valid date and time for the certificate since the UNIX epoc.
public DateTime ValidFrom { get; }
Property Value
ValidTo
The valid date and time for the certificate since the UNIX epoc.
public DateTime ValidTo { get; }
Property Value
Methods
ToPemEncoding()
PEM encoded data for the certificate. Returns Base64 encoding of DER encoded certificate. Read more about PEM at RFC 1421 Privacy Enhanced Mail.
public string ToPemEncoding()
Returns
ToX509Certificate2()
Converts this to a X509Certificate2.
public X509Certificate2 ToX509Certificate2()
Returns
- X509Certificate2
An object created using PEM encoded data from this CoreWebView2Certificate object.
- See Also