Set the virtual method pointers to the import/export methods.
authorJeffrey Stedfast <fejj@ximian.com>
Fri, 1 Nov 2002 00:45:05 +0000 (00:45 +0000)
committerJeffrey Stedfast <fejj@src.gnome.org>
Fri, 1 Nov 2002 00:45:05 +0000 (00:45 +0000)
commit817937991cc32af65065d9328141777f33a5fefd
tree1c23f5df7305bcd1932033fb50e3544f4874c73c
parent97ea05da9715034875fb9d5ec7ffc5fc0b7247f6
Set the virtual method pointers to the import/export methods.

2002-10-31  Jeffrey Stedfast  <fejj@ximian.com>

* camel-gpg-context.c (camel_gpg_context_class_init): Set the
virtual method pointers to the import/export methods.
(camel_gpg_context_init): Set the key_protocol string.
(gpg_hash_to_id): Handle 2 more hash types.
(gpg_id_to_hash): Same.
(gpg_ctx_op_step): Slight fixes to support import/export.
(gpg_ctx_parse_status): Fix to hack around the fact that importing
keys doesn't write to stdout.
(gpg_import_keys): Implemented.
(gpg_export_keys): Implemented.

* camel-cipher-context.c (camel_cipher_context_class_init): Hook
up default virtual methods for import/export.
(camel_cipher_import_keys): Implemented.
(camel_cipher_export_keys): Implemented.
camel/ChangeLog
camel/camel-cipher-context.c
camel/camel-cipher-context.h
camel/camel-gpg-context.c
camel/camel-gpg-context.h