ICoreWebView2ClientCertificateRequestedEventArgs

Undocumented in source.

Members

Functions

GetDeferral
HRESULT GetDeferral(ICoreWebView2Deferral* deferral)

Returns an ICoreWebView2Deferral object. Use this operation to complete the event at a later time.

get_AllowedCertificateAuthorities
HRESULT get_AllowedCertificateAuthorities(ICoreWebView2StringCollection* value)

Returns the ICoreWebView2StringCollection. The collection contains Base64 encoding of DER encoded distinguished names of certificate authorities allowed by the server.

get_Cancel
HRESULT get_Cancel(BOOL* value)

You may set this flag to cancel the certificate selection. If canceled, the request is aborted regardless of the Handled property. By default the value is FALSE.

get_Handled
HRESULT get_Handled(BOOL* value)

You may set this flag to TRUE to respond to the server with or without a certificate. If this flag is TRUE with a SelectedCertificate it responds to the server with the selected certificate otherwise respond to the server without a certificate. By default the value of Handled and Cancel are FALSE and display default client certificate selection dialog prompt to allow the user to choose a certificate. The SelectedCertificate is ignored unless Handled is set TRUE.

get_Host
HRESULT get_Host(LPWSTR* value)

Host name of the server that requested client certificate authentication. Normalization rules applied to the hostname are: * Convert to lowercase characters for ascii characters. * Punycode is used for representing non ascii characters. * Strip square brackets for IPV6 address.

get_IsProxy
HRESULT get_IsProxy(BOOL* value)

Returns true if the server that issued this request is an http proxy. Returns false if the server is the origin server.

get_MutuallyTrustedCertificates
HRESULT get_MutuallyTrustedCertificates(ICoreWebView2ClientCertificateCollection* value)

Returns the ICoreWebView2ClientCertificateCollection when client certificate authentication is requested. The collection contains mutually trusted CA certificates.

get_Port
HRESULT get_Port(int* value)

Port of the server that requested client certificate authentication.

get_SelectedCertificate
HRESULT get_SelectedCertificate(ICoreWebView2ClientCertificate* value)

Returns the selected certificate.

put_Cancel
HRESULT put_Cancel(BOOL value)

Sets the Cancel property.

put_Handled
HRESULT put_Handled(BOOL value)

Sets the Handled property.

put_SelectedCertificate
HRESULT put_SelectedCertificate(ICoreWebView2ClientCertificate value)

Sets the certificate to respond to the server.

Meta