Encrypts (and optionally signs) the content of the this and then replaces the content with the new, encrypted, content.
this |
a Part |
sign |
true if the content should also be signed; otherwise, false |
userid |
the key id (or email address) to use when signing (assuming |
flags |
a set of EncryptFlags |
recipients |
an array of recipient key ids and/or email addresses |
true on success or false on error. |