ICoreWebView2ClientCertificate

Undocumented in source.

Members

Functions

ToPemEncoding
HRESULT ToPemEncoding(LPWSTR* pemEncodedData)

PEM encoded data for the certificate. Returns Base64 encoding of DER encoded certificate. Read more about PEM at [RFC 1421 Privacy Enhanced Mail] (https://tools.ietf.org/html/rfc1421).

get_DerEncodedSerialNumber
HRESULT get_DerEncodedSerialNumber(LPWSTR* value)

Base64 encoding of DER encoded serial number of the certificate. Read more about DER at [RFC 7468 DER] (https://tools.ietf.org/html/rfc7468#appendix-B).

get_DisplayName
HRESULT get_DisplayName(LPWSTR* value)

Display name for a certificate.

get_Issuer
HRESULT get_Issuer(LPWSTR* value)

Name of the certificate authority that issued the certificate.

get_Kind
HRESULT get_Kind(COREWEBVIEW2_CLIENT_CERTIFICATE_KIND* value)

Kind of a certificate (eg., smart card, pin, other).

get_PemEncodedIssuerCertificateChain
HRESULT get_PemEncodedIssuerCertificateChain(ICoreWebView2StringCollection* value)

Collection of PEM encoded client certificate issuer chain. In this collection first element is the current certificate followed by intermediate1, intermediate2...intermediateN-1. Root certificate is the last element in collection.

get_Subject
HRESULT get_Subject(LPWSTR* value)

Subject of the certificate.

get_ValidFrom
HRESULT get_ValidFrom(double* value)

The valid start date and time for the certificate as the number of seconds since the UNIX epoch.

get_ValidTo
HRESULT get_ValidTo(double* value)

The valid expiration date and time for the certificate as the number of seconds since the UNIX epoch.

Meta