Trait webview2_sys::ICoreWebView2ClientCertificate[][src]

pub trait ICoreWebView2ClientCertificate: IUnknown {
    unsafe fn get_subject(&self, value: *mut LPWSTR) -> HRESULT;
unsafe fn get_issuer(&self, value: *mut LPWSTR) -> HRESULT;
unsafe fn get_valid_from(&self, value: *mut f64) -> HRESULT;
unsafe fn get_valid_to(&self, value: *mut f64) -> HRESULT;
unsafe fn get_der_encoded_serial_number(
        &self,
        value: *mut LPWSTR
    ) -> HRESULT;
unsafe fn get_display_name(&self, value: *mut LPWSTR) -> HRESULT;
unsafe fn to_pem_encoding(&self, pem_encoded_data: *mut LPWSTR) -> HRESULT;
unsafe fn get_pem_encoded_issuer_certificate_chain(
        &self,
        value: *mut *mut *mut ICoreWebView2StringCollectionVTable
    ) -> HRESULT;
unsafe fn get_kind(&self, value: *mut ClientCertificateKind) -> HRESULT; }
Expand description

Provides access to the certificate metadata

Required methods

Subject of the certificate.

Name of the certificate authority that issued the certificate.

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

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

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

Display name for a certificate.

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).

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.

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

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