[−][src]Trait gio::prelude::TlsDatabaseExt
Required methods
fn create_certificate_handle<P: IsA<TlsCertificate>>(
&self,
certificate: &P
) -> Option<GString>
&self,
certificate: &P
) -> Option<GString>
fn lookup_certificate_for_handle<P: IsA<TlsInteraction>, Q: IsA<Cancellable>>(
&self,
handle: &str,
interaction: Option<&P>,
flags: TlsDatabaseLookupFlags,
cancellable: Option<&Q>
) -> Result<Option<TlsCertificate>, Error>
&self,
handle: &str,
interaction: Option<&P>,
flags: TlsDatabaseLookupFlags,
cancellable: Option<&Q>
) -> Result<Option<TlsCertificate>, Error>
fn lookup_certificate_for_handle_async<P: IsA<TlsInteraction>, Q: IsA<Cancellable>, R: FnOnce(Result<TlsCertificate, Error>) + Send + 'static>(
&self,
handle: &str,
interaction: Option<&P>,
flags: TlsDatabaseLookupFlags,
cancellable: Option<&Q>,
callback: R
)
&self,
handle: &str,
interaction: Option<&P>,
flags: TlsDatabaseLookupFlags,
cancellable: Option<&Q>,
callback: R
)
fn lookup_certificate_for_handle_async_future<P: IsA<TlsInteraction> + Clone + 'static>(
&self,
handle: &str,
interaction: Option<&P>,
flags: TlsDatabaseLookupFlags
) -> Pin<Box_<dyn Future<Output = Result<TlsCertificate, Error>> + 'static>>
&self,
handle: &str,
interaction: Option<&P>,
flags: TlsDatabaseLookupFlags
) -> Pin<Box_<dyn Future<Output = Result<TlsCertificate, Error>> + 'static>>
fn lookup_certificate_issuer<P: IsA<TlsCertificate>, Q: IsA<TlsInteraction>, R: IsA<Cancellable>>(
&self,
certificate: &P,
interaction: Option<&Q>,
flags: TlsDatabaseLookupFlags,
cancellable: Option<&R>
) -> Result<TlsCertificate, Error>
&self,
certificate: &P,
interaction: Option<&Q>,
flags: TlsDatabaseLookupFlags,
cancellable: Option<&R>
) -> Result<TlsCertificate, Error>
fn lookup_certificate_issuer_async<P: IsA<TlsCertificate>, Q: IsA<TlsInteraction>, R: IsA<Cancellable>, S: FnOnce(Result<TlsCertificate, Error>) + Send + 'static>(
&self,
certificate: &P,
interaction: Option<&Q>,
flags: TlsDatabaseLookupFlags,
cancellable: Option<&R>,
callback: S
)
&self,
certificate: &P,
interaction: Option<&Q>,
flags: TlsDatabaseLookupFlags,
cancellable: Option<&R>,
callback: S
)
fn lookup_certificate_issuer_async_future<P: IsA<TlsCertificate> + Clone + 'static, Q: IsA<TlsInteraction> + Clone + 'static>(
&self,
certificate: &P,
interaction: Option<&Q>,
flags: TlsDatabaseLookupFlags
) -> Pin<Box_<dyn Future<Output = Result<TlsCertificate, Error>> + 'static>>
&self,
certificate: &P,
interaction: Option<&Q>,
flags: TlsDatabaseLookupFlags
) -> Pin<Box_<dyn Future<Output = Result<TlsCertificate, Error>> + 'static>>
fn verify_chain<P: IsA<TlsCertificate>, Q: IsA<SocketConnectable>, R: IsA<TlsInteraction>, S: IsA<Cancellable>>(
&self,
chain: &P,
purpose: &str,
identity: Option<&Q>,
interaction: Option<&R>,
flags: TlsDatabaseVerifyFlags,
cancellable: Option<&S>
) -> Result<TlsCertificateFlags, Error>
&self,
chain: &P,
purpose: &str,
identity: Option<&Q>,
interaction: Option<&R>,
flags: TlsDatabaseVerifyFlags,
cancellable: Option<&S>
) -> Result<TlsCertificateFlags, Error>
fn verify_chain_async<P: IsA<TlsCertificate>, Q: IsA<SocketConnectable>, R: IsA<TlsInteraction>, S: IsA<Cancellable>, T: FnOnce(Result<TlsCertificateFlags, Error>) + Send + 'static>(
&self,
chain: &P,
purpose: &str,
identity: Option<&Q>,
interaction: Option<&R>,
flags: TlsDatabaseVerifyFlags,
cancellable: Option<&S>,
callback: T
)
&self,
chain: &P,
purpose: &str,
identity: Option<&Q>,
interaction: Option<&R>,
flags: TlsDatabaseVerifyFlags,
cancellable: Option<&S>,
callback: T
)
fn verify_chain_async_future<P: IsA<TlsCertificate> + Clone + 'static, Q: IsA<SocketConnectable> + Clone + 'static, R: IsA<TlsInteraction> + Clone + 'static>(
&self,
chain: &P,
purpose: &str,
identity: Option<&Q>,
interaction: Option<&R>,
flags: TlsDatabaseVerifyFlags
) -> Pin<Box_<dyn Future<Output = Result<TlsCertificateFlags, Error>> + 'static>>
&self,
chain: &P,
purpose: &str,
identity: Option<&Q>,
interaction: Option<&R>,
flags: TlsDatabaseVerifyFlags
) -> Pin<Box_<dyn Future<Output = Result<TlsCertificateFlags, Error>> + 'static>>
Implementors
impl<O: IsA<TlsDatabase>> TlsDatabaseExt for O
[src]
fn create_certificate_handle<P: IsA<TlsCertificate>>(
&self,
certificate: &P
) -> Option<GString>
[src]
&self,
certificate: &P
) -> Option<GString>
fn lookup_certificate_for_handle<P: IsA<TlsInteraction>, Q: IsA<Cancellable>>(
&self,
handle: &str,
interaction: Option<&P>,
flags: TlsDatabaseLookupFlags,
cancellable: Option<&Q>
) -> Result<Option<TlsCertificate>, Error>
[src]
&self,
handle: &str,
interaction: Option<&P>,
flags: TlsDatabaseLookupFlags,
cancellable: Option<&Q>
) -> Result<Option<TlsCertificate>, Error>
fn lookup_certificate_for_handle_async<P: IsA<TlsInteraction>, Q: IsA<Cancellable>, R: FnOnce(Result<TlsCertificate, Error>) + Send + 'static>(
&self,
handle: &str,
interaction: Option<&P>,
flags: TlsDatabaseLookupFlags,
cancellable: Option<&Q>,
callback: R
)
[src]
&self,
handle: &str,
interaction: Option<&P>,
flags: TlsDatabaseLookupFlags,
cancellable: Option<&Q>,
callback: R
)
fn lookup_certificate_for_handle_async_future<P: IsA<TlsInteraction> + Clone + 'static>(
&self,
handle: &str,
interaction: Option<&P>,
flags: TlsDatabaseLookupFlags
) -> Pin<Box_<dyn Future<Output = Result<TlsCertificate, Error>> + 'static>>
[src]
&self,
handle: &str,
interaction: Option<&P>,
flags: TlsDatabaseLookupFlags
) -> Pin<Box_<dyn Future<Output = Result<TlsCertificate, Error>> + 'static>>
fn lookup_certificate_issuer<P: IsA<TlsCertificate>, Q: IsA<TlsInteraction>, R: IsA<Cancellable>>(
&self,
certificate: &P,
interaction: Option<&Q>,
flags: TlsDatabaseLookupFlags,
cancellable: Option<&R>
) -> Result<TlsCertificate, Error>
[src]
&self,
certificate: &P,
interaction: Option<&Q>,
flags: TlsDatabaseLookupFlags,
cancellable: Option<&R>
) -> Result<TlsCertificate, Error>
fn lookup_certificate_issuer_async<P: IsA<TlsCertificate>, Q: IsA<TlsInteraction>, R: IsA<Cancellable>, S: FnOnce(Result<TlsCertificate, Error>) + Send + 'static>(
&self,
certificate: &P,
interaction: Option<&Q>,
flags: TlsDatabaseLookupFlags,
cancellable: Option<&R>,
callback: S
)
[src]
&self,
certificate: &P,
interaction: Option<&Q>,
flags: TlsDatabaseLookupFlags,
cancellable: Option<&R>,
callback: S
)
fn lookup_certificate_issuer_async_future<P: IsA<TlsCertificate> + Clone + 'static, Q: IsA<TlsInteraction> + Clone + 'static>(
&self,
certificate: &P,
interaction: Option<&Q>,
flags: TlsDatabaseLookupFlags
) -> Pin<Box_<dyn Future<Output = Result<TlsCertificate, Error>> + 'static>>
[src]
&self,
certificate: &P,
interaction: Option<&Q>,
flags: TlsDatabaseLookupFlags
) -> Pin<Box_<dyn Future<Output = Result<TlsCertificate, Error>> + 'static>>
fn verify_chain<P: IsA<TlsCertificate>, Q: IsA<SocketConnectable>, R: IsA<TlsInteraction>, S: IsA<Cancellable>>(
&self,
chain: &P,
purpose: &str,
identity: Option<&Q>,
interaction: Option<&R>,
flags: TlsDatabaseVerifyFlags,
cancellable: Option<&S>
) -> Result<TlsCertificateFlags, Error>
[src]
&self,
chain: &P,
purpose: &str,
identity: Option<&Q>,
interaction: Option<&R>,
flags: TlsDatabaseVerifyFlags,
cancellable: Option<&S>
) -> Result<TlsCertificateFlags, Error>
fn verify_chain_async<P: IsA<TlsCertificate>, Q: IsA<SocketConnectable>, R: IsA<TlsInteraction>, S: IsA<Cancellable>, T: FnOnce(Result<TlsCertificateFlags, Error>) + Send + 'static>(
&self,
chain: &P,
purpose: &str,
identity: Option<&Q>,
interaction: Option<&R>,
flags: TlsDatabaseVerifyFlags,
cancellable: Option<&S>,
callback: T
)
[src]
&self,
chain: &P,
purpose: &str,
identity: Option<&Q>,
interaction: Option<&R>,
flags: TlsDatabaseVerifyFlags,
cancellable: Option<&S>,
callback: T
)
fn verify_chain_async_future<P: IsA<TlsCertificate> + Clone + 'static, Q: IsA<SocketConnectable> + Clone + 'static, R: IsA<TlsInteraction> + Clone + 'static>(
&self,
chain: &P,
purpose: &str,
identity: Option<&Q>,
interaction: Option<&R>,
flags: TlsDatabaseVerifyFlags
) -> Pin<Box_<dyn Future<Output = Result<TlsCertificateFlags, Error>> + 'static>>
[src]
&self,
chain: &P,
purpose: &str,
identity: Option<&Q>,
interaction: Option<&R>,
flags: TlsDatabaseVerifyFlags
) -> Pin<Box_<dyn Future<Output = Result<TlsCertificateFlags, Error>> + 'static>>