pub trait TlsCertificateExt: 'static {
Show 21 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

Available on crate feature v2_70 only.
Available on crate feature v2_70 only.
Available on crate feature v2_70 only.
Available on crate feature v2_70 only.
Available on crate feature v2_70 only.
Available on crate feature v2_70 only.
Available on crate feature v2_68 only.
Available on crate feature v2_68 only.
Available on crate feature v2_70 only.
Available on crate feature v2_70 only.
Available on crate feature v2_70 only.
Available on crate feature v2_70 only.
Available on crate feature v2_70 only.
Available on crate feature v2_70 only.

Implementors