pub trait TlsCertificateExt: 'static {
Show 21 methods // Required methods fn dns_names(&self) -> Vec<Bytes>; fn ip_addresses(&self) -> Vec<InetAddress>; fn issuer(&self) -> Option<TlsCertificate>; fn issuer_name(&self) -> Option<GString>; fn not_valid_after(&self) -> Option<DateTime>; fn not_valid_before(&self) -> Option<DateTime>; fn subject_name(&self) -> Option<GString>; fn is_same(&self, cert_two: &impl IsA<TlsCertificate>) -> bool; fn verify( &self, identity: Option<&impl IsA<SocketConnectable>>, trusted_ca: Option<&impl IsA<TlsCertificate>> ) -> TlsCertificateFlags; fn certificate(&self) -> Option<ByteArray>; fn certificate_pem(&self) -> Option<GString>; fn pkcs11_uri(&self) -> Option<GString>; fn private_key(&self) -> Option<ByteArray>; fn private_key_pem(&self) -> Option<GString>; fn private_key_pkcs11_uri(&self) -> Option<GString>; fn connect_dns_names_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_ip_addresses_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_issuer_name_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_not_valid_after_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_not_valid_before_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_subject_name_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId;
}

Required Methods§

source

fn dns_names(&self) -> Vec<Bytes>

Available on crate feature v2_70 only.
source

fn ip_addresses(&self) -> Vec<InetAddress>

Available on crate feature v2_70 only.
source

fn issuer(&self) -> Option<TlsCertificate>

source

fn issuer_name(&self) -> Option<GString>

Available on crate feature v2_70 only.
source

fn not_valid_after(&self) -> Option<DateTime>

Available on crate feature v2_70 only.
source

fn not_valid_before(&self) -> Option<DateTime>

Available on crate feature v2_70 only.
source

fn subject_name(&self) -> Option<GString>

Available on crate feature v2_70 only.
source

fn is_same(&self, cert_two: &impl IsA<TlsCertificate>) -> bool

source

fn verify( &self, identity: Option<&impl IsA<SocketConnectable>>, trusted_ca: Option<&impl IsA<TlsCertificate>> ) -> TlsCertificateFlags

source

fn certificate(&self) -> Option<ByteArray>

source

fn certificate_pem(&self) -> Option<GString>

source

fn pkcs11_uri(&self) -> Option<GString>

Available on crate feature v2_68 only.
source

fn private_key(&self) -> Option<ByteArray>

source

fn private_key_pem(&self) -> Option<GString>

source

fn private_key_pkcs11_uri(&self) -> Option<GString>

Available on crate feature v2_68 only.
source

fn connect_dns_names_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

Available on crate feature v2_70 only.
source

fn connect_ip_addresses_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

Available on crate feature v2_70 only.
source

fn connect_issuer_name_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

Available on crate feature v2_70 only.
source

fn connect_not_valid_after_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

Available on crate feature v2_70 only.
source

fn connect_not_valid_before_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

Available on crate feature v2_70 only.
source

fn connect_subject_name_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

Available on crate feature v2_70 only.

Implementors§