pub fn seal_message(clear: &[u8], to: &[&Cert]) -> Result<Vec<u8>, String>Expand description
A message as it reads (opened, in clear), sealed again for to, as an
encrypted message comes (PGP/MIME, RFC 3156): its own headers in clear but
those of its content (From, To, Date, Subject, Message-ID: what a list of
mail shows), its content and their headers encrypted inside. open
gives the same message back. For the copy kept beside a draft that
answers an encrypted message, never left in clear.