Trait sop::Sign [−][src]
pub trait Sign<'a> { fn no_armor(self: Box<Self>) -> Box<dyn Sign<'a> + 'a>; fn mode(self: Box<Self>, mode: SignAs) -> Box<dyn Sign<'a> + 'a>; fn key(
self: Box<Self>,
key: &mut (dyn Read + Send + Sync)
) -> Result<Box<dyn Sign<'a> + 'a>>; fn keys(
self: Box<Self>,
keys: &mut (dyn Read + Send + Sync)
) -> Result<Box<dyn Sign<'a> + 'a>>; fn data(
self: Box<Self>,
data: &'a mut (dyn Read + Send + Sync)
) -> Result<Box<dyn Ready + 'a>>; }
Expand description
Builder for SOP::sign
.
Required methods
Adds the signer key.
Adds the signer keys.
Like Sign::key
, but for multiple keys.