[][src]Trait ostree::SignExt

pub trait SignExt: 'static {
    fn add_pk(&self, public_key: &Variant) -> Result<(), Error>;
fn clear_keys(&self) -> Result<(), Error>;
fn commit<P: IsA<Cancellable>>(
        &self,
        repo: &Repo,
        commit_checksum: &str,
        cancellable: Option<&P>
    ) -> Result<(), Error>;
fn commit_verify<P: IsA<Cancellable>>(
        &self,
        repo: &Repo,
        commit_checksum: &str,
        cancellable: Option<&P>
    ) -> Result<Option<GString>, Error>;
fn data<P: IsA<Cancellable>>(
        &self,
        data: &Bytes,
        cancellable: Option<&P>
    ) -> Result<Bytes, Error>;
fn data_verify(
        &self,
        data: &Bytes,
        signatures: &Variant
    ) -> Result<Option<GString>, Error>;
fn get_name(&self) -> Option<GString>;
fn load_pk(&self, options: &Variant) -> Result<(), Error>;
fn metadata_format(&self) -> Option<GString>;
fn metadata_key(&self) -> Option<GString>;
fn set_pk(&self, public_key: &Variant) -> Result<(), Error>;
fn set_sk(&self, secret_key: &Variant) -> Result<(), Error>;
fn summary<P: IsA<Cancellable>>(
        &self,
        repo: &Repo,
        keys: &Variant,
        cancellable: Option<&P>
    ) -> Result<(), Error>; }

Required methods

fn add_pk(&self, public_key: &Variant) -> Result<(), Error>

fn clear_keys(&self) -> Result<(), Error>

fn commit<P: IsA<Cancellable>>(
    &self,
    repo: &Repo,
    commit_checksum: &str,
    cancellable: Option<&P>
) -> Result<(), Error>

fn commit_verify<P: IsA<Cancellable>>(
    &self,
    repo: &Repo,
    commit_checksum: &str,
    cancellable: Option<&P>
) -> Result<Option<GString>, Error>

fn data<P: IsA<Cancellable>>(
    &self,
    data: &Bytes,
    cancellable: Option<&P>
) -> Result<Bytes, Error>

fn data_verify(
    &self,
    data: &Bytes,
    signatures: &Variant
) -> Result<Option<GString>, Error>

fn get_name(&self) -> Option<GString>

fn load_pk(&self, options: &Variant) -> Result<(), Error>

fn metadata_format(&self) -> Option<GString>

fn metadata_key(&self) -> Option<GString>

fn set_pk(&self, public_key: &Variant) -> Result<(), Error>

fn set_sk(&self, secret_key: &Variant) -> Result<(), Error>

fn summary<P: IsA<Cancellable>>(
    &self,
    repo: &Repo,
    keys: &Variant,
    cancellable: Option<&P>
) -> Result<(), Error>

Loading content...

Implementors

impl<O: IsA<Sign>> SignExt for O[src]

Loading content...