diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-04-20 07:15:51 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-04-20 07:15:51 +0800 |
commit | 4cfa7d8551c86c315cd1b3ce20e552e45eb492d7 (patch) | |
tree | 2cc106b6794611c8eb9c306f99e6db6d097df2c6 /e-util/e-text-event-processor-emacs-like.c | |
parent | 9844450fd7d502b0316e10ed2aad85debc88cf49 (diff) | |
download | gsoc2013-evolution-4cfa7d8551c86c315cd1b3ce20e552e45eb492d7.tar gsoc2013-evolution-4cfa7d8551c86c315cd1b3ce20e552e45eb492d7.tar.gz gsoc2013-evolution-4cfa7d8551c86c315cd1b3ce20e552e45eb492d7.tar.bz2 gsoc2013-evolution-4cfa7d8551c86c315cd1b3ce20e552e45eb492d7.tar.lz gsoc2013-evolution-4cfa7d8551c86c315cd1b3ce20e552e45eb492d7.tar.xz gsoc2013-evolution-4cfa7d8551c86c315cd1b3ce20e552e45eb492d7.tar.zst gsoc2013-evolution-4cfa7d8551c86c315cd1b3ce20e552e45eb492d7.zip |
Implemented. (pkcs7_clearsign): Implemented. (get_zero_len_passwd):
2001-04-19 Jeffrey Stedfast <fejj@ximian.com>
* camel-pkcs7-context.c (pkcs7_sign): Implemented.
(pkcs7_clearsign): Implemented.
(get_zero_len_passwd): Convenience function to try a 0-length key
on the certificate db - if this works then there is no need to
prompt the user.
(get_password): Callback to get the password.
(camel_cipher_hash_to_nss): Convenience function to convert a
CamelCipherHash to an NSS HASH_HashType.
(nss_hash_to_sec_oid): Converts a HASH_HashType to a SecOidTag.
(pkcs7_digest): Digest function for use with pkcs7_sign().
(sign_encode_cb): Callback to write the signed data to the output
stream.
(pkcs7_verify): Hacked on a bit more but am still a bit on the
confused side. This might work but I wouldn't hold my breath. The
sign/clearsign should be close if not correct, but this one...god
only knows.
(pkcs7_decrypt): Implemented.
(pkcs7_encrypt): Implemented (mostly, still need to handle when
'sign' is TRUE).
svn path=/trunk/; revision=9461
Diffstat (limited to 'e-util/e-text-event-processor-emacs-like.c')
0 files changed, 0 insertions, 0 deletions