Trait gio::prelude::TlsFileDatabaseExt
source · pub trait TlsFileDatabaseExt: 'static {
// Required methods
fn anchors(&self) -> Option<GString>;
fn set_anchors(&self, anchors: Option<&str>);
fn connect_anchors_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}
Expand description
Required Methods§
sourcefn anchors(&self) -> Option<GString>
fn anchors(&self) -> Option<GString>
The path to a file containing PEM encoded certificate authority
root anchors. The certificates in this file will be treated as
root authorities for the purpose of verifying other certificates
via the TlsDatabaseExt::verify_chain()
operation.
sourcefn set_anchors(&self, anchors: Option<&str>)
fn set_anchors(&self, anchors: Option<&str>)
The path to a file containing PEM encoded certificate authority
root anchors. The certificates in this file will be treated as
root authorities for the purpose of verifying other certificates
via the TlsDatabaseExt::verify_chain()
operation.