#[repr(C)]pub struct _cef_x509_cert_principal_t {
pub base: cef_base_ref_counted_t,
pub get_display_name: Option<unsafe extern "C" fn(self_: *mut _cef_x509_cert_principal_t) -> cef_string_userfree_t>,
pub get_common_name: Option<unsafe extern "C" fn(self_: *mut _cef_x509_cert_principal_t) -> cef_string_userfree_t>,
pub get_locality_name: Option<unsafe extern "C" fn(self_: *mut _cef_x509_cert_principal_t) -> cef_string_userfree_t>,
pub get_state_or_province_name: Option<unsafe extern "C" fn(self_: *mut _cef_x509_cert_principal_t) -> cef_string_userfree_t>,
pub get_country_name: Option<unsafe extern "C" fn(self_: *mut _cef_x509_cert_principal_t) -> cef_string_userfree_t>,
pub get_organization_names: Option<unsafe extern "C" fn(self_: *mut _cef_x509_cert_principal_t, names: cef_string_list_t)>,
pub get_organization_unit_names: Option<unsafe extern "C" fn(self_: *mut _cef_x509_cert_principal_t, names: cef_string_list_t)>,
}Expand description
Structure representing the issuer or subject field of an X.509 certificate.
NOTE: This struct is allocated DLL-side.
Fields§
§base: cef_base_ref_counted_tBase structure.
get_display_name: Option<unsafe extern "C" fn(self_: *mut _cef_x509_cert_principal_t) -> cef_string_userfree_t>Returns a name that can be used to represent the issuer. It tries in this order: Common Name (CN), Organization Name (O) and Organizational Unit Name (OU) and returns the first non-NULL one found.
get_common_name: Option<unsafe extern "C" fn(self_: *mut _cef_x509_cert_principal_t) -> cef_string_userfree_t>Returns the common name.
get_locality_name: Option<unsafe extern "C" fn(self_: *mut _cef_x509_cert_principal_t) -> cef_string_userfree_t>Returns the locality name.
get_state_or_province_name: Option<unsafe extern "C" fn(self_: *mut _cef_x509_cert_principal_t) -> cef_string_userfree_t>Returns the state or province name.
get_country_name: Option<unsafe extern "C" fn(self_: *mut _cef_x509_cert_principal_t) -> cef_string_userfree_t>Returns the country name.
get_organization_names: Option<unsafe extern "C" fn(self_: *mut _cef_x509_cert_principal_t, names: cef_string_list_t)>Retrieve the list of organization names.
get_organization_unit_names: Option<unsafe extern "C" fn(self_: *mut _cef_x509_cert_principal_t, names: cef_string_list_t)>Retrieve the list of organization unit names.
Trait Implementations§
Source§impl Clone for _cef_x509_cert_principal_t
impl Clone for _cef_x509_cert_principal_t
Source§fn clone(&self) -> _cef_x509_cert_principal_t
fn clone(&self) -> _cef_x509_cert_principal_t
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for _cef_x509_cert_principal_t
impl Debug for _cef_x509_cert_principal_t
impl Copy for _cef_x509_cert_principal_t
Auto Trait Implementations§
impl Freeze for _cef_x509_cert_principal_t
impl RefUnwindSafe for _cef_x509_cert_principal_t
impl Send for _cef_x509_cert_principal_t
impl Sync for _cef_x509_cert_principal_t
impl Unpin for _cef_x509_cert_principal_t
impl UnwindSafe for _cef_x509_cert_principal_t
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more