pub trait InlineSign<'a> {
    fn no_armor(self: Box<Self>) -> Box<dyn InlineSign<'a> + 'a>;
    fn mode(self: Box<Self>, mode: InlineSignAs) -> Box<dyn InlineSign<'a> + 'a>;
    fn key(
        self: Box<Self>,
        key: &mut (dyn Read + Send + Sync)
    ) -> Result<Box<dyn InlineSign<'a> + 'a>>; fn keys(
        self: Box<Self>,
        keys: &mut (dyn Read + Send + Sync)
    ) -> Result<Box<dyn InlineSign<'a> + 'a>>; fn with_key_password(
        self: Box<Self>,
        password: Password
    ) -> Result<Box<dyn InlineSign<'a> + 'a>>; fn data(
        self: Box<Self>,
        data: &'a mut (dyn Read + Send + Sync)
    ) -> Result<Box<dyn Ready + 'a>>; }
Expand description

Builder for SOP::inline_sign.

Required Methods

Disables armor encoding.

Sets signature mode.

Adds the signer key.

Adds the signer keys.

Like Sign::key, but for multiple keys.

Adds a password to unlock the signing keys with.

All supplied passwords will be used to try to unlock all signing keys.

Signs data.

Implementors