Trait webview2_sys::ICoreWebView2ClientCertificateRequestedEventArgs[][src]

pub trait ICoreWebView2ClientCertificateRequestedEventArgs: IUnknown {
    unsafe fn get_host(&self, value: *mut LPWSTR) -> HRESULT;
unsafe fn get_port(&self, value: *mut i32) -> HRESULT;
unsafe fn get_is_proxy(&self, value: *mut BOOL) -> HRESULT;
unsafe fn get_allowed_certificate_authorities(
        &self,
        value: *mut *mut *mut ICoreWebView2StringCollectionVTable
    ) -> HRESULT;
unsafe fn get_mutually_trusted_certificates(
        &self,
        value: *mut *mut *mut ICoreWebView2ClientCertificateCollectionVTable
    ) -> HRESULT;
unsafe fn get_selected_certificate(
        &self,
        value: *mut *mut *mut ICoreWebView2ClientCertificateVTable
    ) -> HRESULT;
unsafe fn put_selected_certificate(
        &self,
        value: *mut *mut ICoreWebView2ClientCertificateVTable
    ) -> HRESULT;
unsafe fn get_cancel(&self, value: *mut BOOL) -> HRESULT;
unsafe fn put_cancel(&self, value: BOOL) -> HRESULT;
unsafe fn get_handled(&self, value: *mut BOOL) -> HRESULT;
unsafe fn put_handled(&self, value: BOOL) -> HRESULT;
unsafe fn get_deferral(
        &self,
        deferral: *mut *mut *mut ICoreWebView2DeferralVTable
    ) -> HRESULT; }
Expand description

Event args for the ClientCertificateRequested event.

Required methods

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.

Port of the server that requested client certificate authentication.

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

Returns the ICoreWebView2StringCollection. The collection contains distinguished names of certificate authorities allowed by the server.

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

Returns the selected certificate.

Sets the certificate to respond to the server.

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.

�Sets�the�Cancel�property.

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.

�Sets�the�Handled�property.

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

Trait Implementations

A COM compatible V-Table

The interface that this interface inherits from

The associated id for this interface

Check whether a given IID is in the inheritance hierarchy of this interface

Get the vtable for a particular COM interface

Implementations on Foreign Types

Implementors