diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-04-20 03:38:40 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-04-20 03:38:40 +0800 |
commit | 9844450fd7d502b0316e10ed2aad85debc88cf49 (patch) | |
tree | 7b1e9be5a63756c3472b32bafff7fc588a1e3e55 /po | |
parent | c9d4ba32ba0470094b3f5deb3d7a60df4c791b87 (diff) | |
download | gsoc2013-evolution-9844450fd7d502b0316e10ed2aad85debc88cf49.tar gsoc2013-evolution-9844450fd7d502b0316e10ed2aad85debc88cf49.tar.gz gsoc2013-evolution-9844450fd7d502b0316e10ed2aad85debc88cf49.tar.bz2 gsoc2013-evolution-9844450fd7d502b0316e10ed2aad85debc88cf49.tar.lz gsoc2013-evolution-9844450fd7d502b0316e10ed2aad85debc88cf49.tar.xz gsoc2013-evolution-9844450fd7d502b0316e10ed2aad85debc88cf49.tar.zst gsoc2013-evolution-9844450fd7d502b0316e10ed2aad85debc88cf49.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.
svn path=/trunk/; revision=9460
Diffstat (limited to 'po')
0 files changed, 0 insertions, 0 deletions