共用方式為


CoreWebView2Certificate Class

Definition

Represents a certificate and provides access to its metadata.

public class CoreWebView2Certificate
type CoreWebView2Certificate = class
Public Class CoreWebView2Certificate
Inheritance
CoreWebView2Certificate

Properties

DerEncodedSerialNumber

Base64 encoding of DER encoded serial number of the certificate. Read more about DER at RFC 7468 DER.

DisplayName

Display name for a certificate.

Issuer

Name of the certificate authority that issued the certificate.

Kind

Kind of a certificate. See CoreWebView2CertificateKind for descriptions.

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.

Subject

Subject of the certificate.

ValidFrom

The valid date and time for the certificate since the UNIX epoc.

ValidTo

The valid date and time for the certificate since the UNIX epoc.

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.

ToX509Certificate2()

Converts this to a X509Certificate2.

Applies to