fn write_data_to_sign<W: Write>(&self, mut w: W) -> io::Result<()> {
        self.to_tags(|tag| match tag {
            Tag::Header(h) => Tag::Header(Header {
                signed: true,
                encrypted: h.encrypted,
            })
            .write(&mut w), // force the `signed` flag to `true`
            Tag::Signature(_) => Ok(()), // signature doesnt't sign itself
            other => other.write(&mut w),
        })
    }
/// Writes the bytes that make up the signature to a writer.
Writes the bytes that make up the signature to a writer.
Writes the bytes that make up the signature to a writer .
fn write_data_to_sign<W: Write>(&self, mut w: W) -> io::Result<()> {
        self.to_tags(|tag| match tag {
            Tag::Header(h) => Tag::Header(Header {
                signed: true,
                encrypted: h.encrypted,
            })
            .write(&mut w), // force the `signed` flag to `true`
            Tag::Signature(_) => Ok(()), // signature doesnt't sign itself
            other => other.write(&mut w),
        })
    }
fn write_data_to_sign < W : Write > ( & self , mut w : W ) -> io :: Result < ( ) > { self . to_tags ( | tag | match tag { Tag :: Header ( h ) => Tag :: Header ( Header { signed : true , encrypted : h . encrypted , } ) . write ( & mut w ) , // force the `signed` flag to `true` Tag :: Signature ( _ ) => Ok ( ( ) ) , // signature doesnt't sign itself other => other . write ( & mut w ) , } ) }
Writes the bytes that make up the signature to a writer.
Writes the bytes that make up the signature to a writer .
&self
w
W