| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-03-24 Chris Toshok <toshok@ximian.com>
* lib/smime-marshal.list: add BOOL:POINTER,POINTER,POINTER,POINTER
for confirm_ca_cert_import.
* lib/e-cert-db.c (e_cert_db_class_init): initialize the
confirm_ca_cert_import signal.
(confirm_download_ca_cert): emit confirm_ca_cert_import and use
the returned values.
(handle_ca_cert_download): fix the ca trust foo.
(e_cert_db_import_certs): pass the cerdb to
handle_ca_cert_download since we need to emit something on that
object.
* lib/e-cert-db.h (struct _ECertDBClass): add
confirm_ca_cert_import signal.
* gui/smime-ui.glade: give names to the check buttons in the ca
trust dialog.
* gui/component.c (smime_confirm_ca_cert_import): new function,
show the trust dialog.
(smime_component_init): connect to "confirm_ca_cert_import"
signal.
* gui/certificate-viewer.c (fill_in_general): fix lots of
uninitialized variable accesses.
(certificate_viewer_show): don't show the dialog (or connect to
the response signal.) that's the caller's job.
* gui/certificate-manager.c (view_your): do the showing of the
certificate_viewer here.
(view_contact): same.
(view_ca): same.
(edit_ca): new function, pop up the ca trust dialog. we need more
here though, to fill in the toggle buttons when bringing up the
dialog, and also to save out the settings when the user clicks ok.
(initialize_authoritycerts_ui): hook up the edit_ca button.
* gui/Makefile.am (libevolution_smime_la_SOURCES): add
ca-trust-dialog.[ch].
* gui/ca-trust-dialog.[ch]: new file implementing the ca trust
dialog used for importing/editing ca trust levels.
svn path=/trunk/; revision=25177
|
|
|
|
|
|
|
|
|
|
|
| |
2004-03-10 Rodney Dawes <dobey@ximian.com>
* gui/certificate-viewer.c (certificate_viewer_show): Fix the border
width setting for the button area, to be HIG-compliant
* gui/smime-ui.glade: Update some border widths for the cert viweer
Remove dialog separators (This portion from William Jon McCann)
svn path=/trunk/; revision=25016
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-02-11 Jeffrey Stedfast <fejj@ximian.com>
* gui/e-cert-selector.c: Same.
* gui/certificate-viewer.c: Same.
* gui/certificate-manager.c: #include <config.h>
svn path=/trunk/; revision=24711
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-04 Chris Toshok <toshok@ximian.com>
* gui/certificate-viewer.c (fill_in_general): use <tt> markup
around the fingerprints, and italicize the Not part of certificate
text.
(fill_in_details): create a monospace text tag to be used in the
field value textbuffer.
(fields_selection_changed): use the text tag when inserting text.
svn path=/trunk/; revision=24055
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-04 Chris Toshok <toshok@ximian.com>
* gui/certificate-viewer.c (certificate_viewer_show): set the
window title based on e_cert_get_window_title.
* lib/e-cert.c (e_cert_get_window_title): new function, for use
with the certificate viewer.
(create_asn1_struct): call e_cert_get_window_title.
svn path=/trunk/; revision=23643
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-04 Chris Toshok <toshok@ximian.com>
* lib/e-cert.h: add prototype for e_cert_get_asn1_struct.
* lib/e-cert.c (e_cert_dispose): unref the asn1 object.
(get_int_value): copy and massage from mozilla source.
(process_version): same.
(process_serial_number_der): same.
(get_default_oid_format): same.
(get_oid_text): same.
(process_raw_bytes): same.
(process_sec_algorithm_id): same.
(process_subject_public_key_info): same.
(process_ns_cert_type_extensions): same.
(process_key_usage_extensions): same.
(process_extension_data): same.
(process_single_extension): same.
(process_extensions): same.
(process_name): same.
(create_tbs_certificate_asn1_struct): same.
(create_asn1_struct): same.
(e_cert_get_asn1_struct): new function.
* lib/e-asn1-object.c (e_asn1_object_dispose): free the display
name, value, and children.
(e_asn1_object_init): assume it's a valid container unless we hear
otherwise.
(e_asn1_object_new_from_cert): nuke.
(e_asn1_object_set_valid_container): implement.
(e_asn1_object_append_child): same.
(e_asn1_object_set_display_name): same.
(e_asn1_object_set_display_value): same.
* lib/e-asn1-object.h: add prototypes for
e_asn1_object_set_valid_container, e_asn1_object_set_display_name,
e_asn1_object_set_display_value, and e_asn1_object_append_child.
* gui/certificate-viewer.c (populate_fields_tree): populate the
tree from the asn structure.
(hierarchy_selection_changed): blow away the old fields_tree
content and populate it again.
(fields_selection_changed): implement, set the text view's
contents to the asn1 object's display_value.
(fill_in_details): expand all nodes in the hierarchy tree.
svn path=/trunk/; revision=23640
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-03 Chris Toshok <toshok@ximian.com>
* lib/Makefile.am (libessmime_la_SOURCES): add e-asn1-object.[ch]
* gui/smime-ui.glade: rename the ca trust dialog, and give it a
proper id.
* gui/certificate-manager.c (yourcerts_selection_changed): just
use @selection.
(contactcerts_selection_changed): same.
(authoritycerts_selection_changed): same.
* gui/certificate-viewer.c (free_data): free the cert chain.
(fill_in_general): move all the general tab stuff here.
(hierarchy_selection_changed): new function. not finished.
(fields_selection_changed): new function, unimplemented.
(fill_in_details): new function, fill in the heirarchy and hook up
signals and stuff.
(certificate_viewer_show): call fill_in_general/fill_in_details.
* lib/e-cert.c (e_cert_get_chain): new function.
* lib/e-cert.h: add prototype for e_cert_get_chain.
svn path=/trunk/; revision=23622
|
|
2003-11-26 Chris Toshok <toshok@ximian.com>
* gui/certificate-viewer.[ch]: mostly implement a viewer for
certificates.
* gui/smime-ui.glade: fingerprints-sh1 -> fingerprints-sha1.
* gui/certificate-manager.c (import_your): new function, use
e-pkcs12 to implement it.
(initialize_yourcerts_ui): hook up the import button.
(view_contact): new function, bring up the certificate viewer.
(initialize_contactcerts_ui): hook up the view button.
(view_ca): new function, bring up the certificate viewer.
(initialize_authoritycerts_ui): hook up the view button.
* gui/Makefile.am (libevolution_smime_la_SOURCES): add
certificate-viewer.[ch]
* lib/e-cert.c (e_cert_dispose): free all the new cached foo.
(e_cert_populate): populate all the new cached foo.
(e_cert_get_issuer_cn): new function.
(e_cert_get_issuer_org): same.
(e_cert_get_issuer_org_unit): same.
(e_cert_get_issued_on_time): same.
(e_cert_get_issued_on): same.
(e_cert_get_expires_on_time): same.
(e_cert_get_expires_on): same.
(e_cert_get_serial_number): same.
(e_cert_get_sha1_fingerprint): same.
(e_cert_get_md5_fingerprint): same.
* lib/e-cert.h: add prototypes for lots more accessors.
* lib/e-cert-db.c (e_cert_db_find_cert_by_key): fix typo.
(e_cert_db_find_cert_by_email_address): call
CERT_DestroyCertificate to free the cert.
(default_nickname): new function.
(e_cert_db_import_user_cert): implement.
(e_cert_db_import_server_cert): add blurb.
* lib/e-pkcs12.[ch]: new files.
* lib/Makefile.am (libessmime_la_SOURCES): add e-pkcs12.[ch]
svn path=/trunk/; revision=23486
|