pub fn encrypt_signed<R: Read, W: Write>(
input: &mut R,
output: &mut W,
recipients: &[RecipientPublic],
metadata: &Metadata,
identity: &SigningIdentity,
placement: SignaturePlacement,
) -> Result<u64, ObjectError>Expand description
Encrypts and signs. Unlike encrypt, this buffers the payload, because the
signature commits to the plaintext and so cannot be produced while streaming.