CipherContext
Object Hierarchy:
Description:
[
CCode ( type_id =
"camel_cipher_context_get_type ()" ) ]
public class CipherContext :
Object
Content:
Properties:
Static methods:
Creation methods:
Methods:
- public async CipherValidity decrypt (MimePart ipart, MimePart opart, int io_priority, Cancellable? cancellable = null) throws Error
Asynchronously decrypts ipart
into opart
.
- public virtual CipherValidity decrypt_sync (MimePart ipart, MimePart opart, Cancellable? cancellable = null) throws Error
Decrypts ipart
into opart
.
- public async bool encrypt (string? userid, GenericArray<string> recipients, MimePart ipart, MimePart opart, int io_priority, Cancellable? cancellable = null) throws Error
Asynchronously encrypts the clear-text ipart
and writes the
resulting cipher-text to opart
.
- public virtual bool encrypt_sync (string? userid, GenericArray<string> recipients, MimePart ipart, MimePart opart, Cancellable? cancellable = null) throws Error
Encrypts the clear-text ipart
and writes the resulting
cipher-text to opart
.
- public unowned Session? get_session ()
- public virtual unowned string hash_to_id (CipherHash hash)
- public virtual CipherHash id_to_hash (string id)
- public async bool sign (string userid, CipherHash hash, MimePart ipart, MimePart opart, int io_priority, Cancellable? cancellable = null) throws Error
Asynchronously converts the (unsigned) part ipart
into a new
self-contained MIME part opart
.
- public virtual bool sign_sync (string userid, CipherHash hash, MimePart ipart, MimePart opart, Cancellable? cancellable = null) throws Error
Converts the (unsigned) part ipart
into a new self-contained
MIME part opart
.
- public async CipherValidity verify (MimePart ipart, int io_priority, Cancellable? cancellable = null) throws Error
Asynchronously verifies the signature.
- public virtual CipherValidity verify_sync (MimePart ipart, Cancellable? cancellable = null) throws Error
Verifies the signature.
Inherited Members:
All known members inherited from class GLib.Object