pub trait TlsCertificateExt: 'static {
// Required methods
fn get_issuer(&self) -> Option<TlsCertificate>;
fn is_same<P: IsA<TlsCertificate>>(&self, cert_two: &P) -> bool;
fn verify<P: IsA<SocketConnectable>, Q: IsA<TlsCertificate>>(
&self,
identity: Option<&P>,
trusted_ca: Option<&Q>,
) -> TlsCertificateFlags;
fn get_property_certificate_pem(&self) -> Option<GString>;
}
Required Methods§
fn get_issuer(&self) -> Option<TlsCertificate>
fn is_same<P: IsA<TlsCertificate>>(&self, cert_two: &P) -> bool
fn verify<P: IsA<SocketConnectable>, Q: IsA<TlsCertificate>>( &self, identity: Option<&P>, trusted_ca: Option<&Q>, ) -> TlsCertificateFlags
fn get_property_certificate_pem(&self) -> Option<GString>
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.