Trait InlineVerify

Source
pub trait InlineVerify<'s, S: SOP<'s>, Certs: Load<'s, S>> {
    // Required methods
    fn not_before(
        self: Box<Self>,
        t: SystemTime,
    ) -> Box<dyn InlineVerify<'s, S, Certs> + 's>;
    fn not_after(
        self: Box<Self>,
        t: SystemTime,
    ) -> Box<dyn InlineVerify<'s, S, Certs> + 's>;
    fn certs(
        self: Box<Self>,
        certs: &Certs,
    ) -> Result<Box<dyn InlineVerify<'s, S, Certs> + 's>>;
    fn message<'d>(
        self: Box<Self>,
        data: &'d mut (dyn Read + Send + Sync),
    ) -> Result<Box<dyn Ready<Vec<Verification>> + 'd>>
       where 's: 'd;
}
Expand description

Builder for SOP::inline_verify.

Required Methods§

Source

fn not_before( self: Box<Self>, t: SystemTime, ) -> Box<dyn InlineVerify<'s, S, Certs> + 's>

Makes SOP consider signatures before this date invalid.

Source

fn not_after( self: Box<Self>, t: SystemTime, ) -> Box<dyn InlineVerify<'s, S, Certs> + 's>

Makes SOP consider signatures after this date invalid.

Source

fn certs( self: Box<Self>, certs: &Certs, ) -> Result<Box<dyn InlineVerify<'s, S, Certs> + 's>>

Adds the verification certs.

Source

fn message<'d>( self: Box<Self>, data: &'d mut (dyn Read + Send + Sync), ) -> Result<Box<dyn Ready<Vec<Verification>> + 'd>>
where 's: 'd,

Verifies an Inline-Signed Message.

Implementors§