encrypt_sync


Description:

[ 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.

Parameters:

this

a CipherContext

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

Returns:

true on success, false on error




2022 vala-language.org