Trait sop::Verify[][src]

pub trait Verify<'a> {
    fn not_before(self: Box<Self>, t: SystemTime) -> Box<dyn Verify<'a> + 'a>;
fn not_after(self: Box<Self>, t: SystemTime) -> Box<dyn Verify<'a> + 'a>;
fn cert(
        self: Box<Self>,
        cert: &mut (dyn Read + Send + Sync)
    ) -> Result<Box<dyn Verify<'a> + 'a>>;
fn signatures(
        self: Box<Self>,
        signatures: &'a mut (dyn Read + Send + Sync)
    ) -> Result<Box<dyn VerifySignatures + 'a>>; }
Expand description

Builder for SOP::verify.

Required methods

fn not_before(self: Box<Self>, t: SystemTime) -> Box<dyn Verify<'a> + 'a>[src]

Makes SOP consider signatures before this date invalid.

fn not_after(self: Box<Self>, t: SystemTime) -> Box<dyn Verify<'a> + 'a>[src]

Makes SOP consider signatures after this date invalid.

fn cert(
    self: Box<Self>,
    cert: &mut (dyn Read + Send + Sync)
) -> Result<Box<dyn Verify<'a> + 'a>>
[src]

Adds the verification cert.

fn signatures(
    self: Box<Self>,
    signatures: &'a mut (dyn Read + Send + Sync)
) -> Result<Box<dyn VerifySignatures + 'a>>
[src]

Provides the signatures.

Implementors