[ Back | warped.org | Gaim 2.0.0-beta4 Perl API ]


NAME

Gaim::Cipher::Context

METHODS

context = $cipher->new ($extra)

* $extra (void)

context = $name->new_by_name ($extra)

* $extra (void)

$context->append ($data, $len)

* $data (Glib::UChar)
* $len (size_t)

gpointer = $context->get_data

$context->set_data ($data)

* $data (gpointer)

integer = $context->decrypt ($data, $len, $output, $outlen)

* $data (Gaim::Cipher::Context)
* $len (size_t)
* $output (Gaim::Cipher::Context)
* $outlen (Gaim::Cipher::Context)

$context->destroy

boolean = $context->digest ($in_len, $digest, $out_len)

* $in_len (size_t)
* $digest (Gaim::Cipher::Context)
* $out_len (Gaim::Cipher::Context)

boolean = $context->digest_to_str ($in_len, $digest_s, $out_len)

* $in_len (size_t)
* $digest_s (Gaim::Cipher::Context)
* $out_len (Gaim::Cipher::Context)

integer = $context->encrypt ($data, $len, $output, $outlen)

* $data (Gaim::Cipher::Context)
* $len (size_t)
* $output (Gaim::Cipher::Context)
* $outlen (Gaim::Cipher::Context)

$context->set_iv ($iv, $len)

* $iv (Glib::UChar)
* $len (size_t)

$context->set_key ($key)

* $key (Glib::UChar)

size_t = $context->get_key_size

gpointer = $context->get_option ($name)

* $name (string)

$context->set_option ($name, $value)

* $name (string)
* $value (gpointer)

$context->reset ($extra)

* $extra (gpointer)

$context->set_salt ($salt)

* $salt (Glib::UChar)

size_t = $context->get_salt_size

COPYRIGHT

Copyright (C) 2006 The Gaim Team


If this information helped you, consider exiting through your right. ©2006 Max Baker
Sun Apr 27 22:32:20 2008 PST