[ Version ( since = "3.0" ) ]
public virtual bool encrypt_sync (string? userid, GenericArray<string> recipients, MimePart ipart, MimePart opart, Cancellable? cancellable = null) throws Error
Encrypts (and optionally signs) the clear-text ipart
and writes the resulting cipher-text to opart
.
this | |
userid |
key ID (or email address) to use when signing, or null to not sign |
recipients |
an array of recipient key IDs and/or email addresses |
ipart |
clear-text MimePart |
opart |
cipher-text MimePart |
cancellable |
optional Cancellable object, or null |
true on success, false on error |