[][src]Trait gio::TlsFileDatabaseExt

pub trait TlsFileDatabaseExt: 'static {
    fn get_property_anchors(&self) -> Option<GString>;
fn set_property_anchors(&self, anchors: Option<&str>);
fn connect_property_anchors_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Trait containing all TlsFileDatabase methods.

Implementors

TlsFileDatabase

Required methods

fn get_property_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.

fn set_property_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.

fn connect_property_anchors_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

Loading content...

Implementors

impl<O: IsA<TlsFileDatabase>> TlsFileDatabaseExt for O[src]

Loading content...