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
unsafe fn get_subject(&self, value: *mut LPWSTR) -> HRESULT
unsafe fn get_subject(&self, value: *mut LPWSTR) -> HRESULT
Subject of the certificate.
unsafe fn get_issuer(&self, value: *mut LPWSTR) -> HRESULT
unsafe fn get_issuer(&self, value: *mut LPWSTR) -> HRESULT
Name of the certificate authority that issued the certificate.
unsafe fn get_valid_from(&self, value: *mut f64) -> HRESULT
unsafe fn get_valid_from(&self, value: *mut f64) -> HRESULT
The valid start date and time for the certificate as the number of seconds since the UNIX epoch.
unsafe fn get_valid_to(&self, value: *mut f64) -> HRESULT
unsafe fn get_valid_to(&self, value: *mut f64) -> HRESULT
The valid expiration date and time for the certificate as the number of seconds since the UNIX epoch.
unsafe fn get_der_encoded_serial_number(&self, value: *mut LPWSTR) -> HRESULT
unsafe fn get_der_encoded_serial_number(&self, value: *mut LPWSTR) -> HRESULT
DER encoded serial number of the certificate. Read more about DER at [RFC 7468 DER] (https://tools.ietf.org/html/rfc7468#appendix-B).
unsafe fn get_display_name(&self, value: *mut LPWSTR) -> HRESULT
unsafe fn get_display_name(&self, value: *mut LPWSTR) -> HRESULT
Display name for a certificate.
unsafe fn to_pem_encoding(&self, pem_encoded_data: *mut LPWSTR) -> HRESULT
unsafe fn to_pem_encoding(&self, pem_encoded_data: *mut LPWSTR) -> HRESULT
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).
unsafe fn get_pem_encoded_issuer_certificate_chain(
&self,
value: *mut *mut *mut ICoreWebView2StringCollectionVTable
) -> HRESULT
unsafe fn get_pem_encoded_issuer_certificate_chain(
&self,
value: *mut *mut *mut ICoreWebView2StringCollectionVTable
) -> HRESULT
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.
unsafe fn get_kind(&self, value: *mut ClientCertificateKind) -> HRESULT
unsafe fn get_kind(&self, value: *mut ClientCertificateKind) -> HRESULT
Kind of a certificate (eg., smart card, pin, other).
Trait Implementations
A COM compatible V-Table
Check whether a given IID is in the inheritance hierarchy of this interface