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 certs(
        self: Box<Self>,
        certs: &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

Makes SOP consider signatures before this date invalid.

Makes SOP consider signatures after this date invalid.

Adds the verification cert.

Adds the verification certs.

Like Verify::cert, but for multiple certs.

Provides the signatures.

Implementors