CipherContext
Object Hierarchy:
Description:
[ CCode ( free_function = "purple_cipher_context_destroy" ) ]
[ Compact ]
public class CipherContext
Content:
Creation methods:
Methods:
- public void append (uchar[] data, size_t len)
- public int decrypt (uchar[] data, size_t len, uchar[] output, size_t outlen)
- public bool digest (size_t in_len, uchar[] digest, size_t out_len)
- public bool digest_to_str (size_t in_len, char[] digest_s, size_t out_len)
- public int encrypt (uchar[] data, size_t len, uchar[] output, size_t outlen)
- public CipherBatchMode get_batch_mode ()
- public size_t get_block_size ()
- public void* get_data ()
- public size_t get_key_size ()
- public void* get_option (string name)
- public size_t get_salt_size ()
- public void reset (void* extra)
- public void set_batch_mode (CipherBatchMode mode)
- public void set_data (void* data)
- public void set_iv (uchar[] iv, size_t len)
- public void set_key (uchar[] key)
- public void set_key_with_len (uchar[] key, size_t len)
- public void set_option (string name, void* value)
- public void set_salt (uchar[] salt)