TlsCertificateExt

Trait TlsCertificateExt 

Source
pub trait TlsCertificateExt: IsA<TlsCertificate> + 'static {
Show 21 methods // Provided 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 { ... }
}

Provided Methods§

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

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>

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§