Trait gio::prelude::TlsCertificateExt [−][src]
pub trait TlsCertificateExt {
fn get_issuer(&self) -> Option<TlsCertificate>;
fn is_same(&self, cert_two: &TlsCertificate) -> bool;
fn verify<'a, 'b, P: IsA<SocketConnectable> + 'a, Q: Into<Option<&'a P>>, R: Into<Option<&'b TlsCertificate>>>(
&self,
identity: Q,
trusted_ca: R
) -> TlsCertificateFlags;
fn get_property_certificate_pem(&self) -> Option<String>;
fn connect_property_certificate_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_certificate_pem_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_issuer_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_private_key_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_private_key_pem_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}Required Methods
fn get_issuer(&self) -> Option<TlsCertificate>
fn is_same(&self, cert_two: &TlsCertificate) -> bool
fn verify<'a, 'b, P: IsA<SocketConnectable> + 'a, Q: Into<Option<&'a P>>, R: Into<Option<&'b TlsCertificate>>>(
&self,
identity: Q,
trusted_ca: R
) -> TlsCertificateFlags
&self,
identity: Q,
trusted_ca: R
) -> TlsCertificateFlags
fn get_property_certificate_pem(&self) -> Option<String>
fn connect_property_certificate_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_certificate_pem_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_issuer_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_private_key_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_private_key_pem_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<TlsCertificate> + IsA<Object>> TlsCertificateExt for O