aboutsummaryrefslogtreecommitdiffstats
path: root/smime/gui/certificate-viewer.c
Commit message (Collapse)AuthorAgeFilesLines
* Coding style and whitespace cleanup.Matthew Barnes2013-01-111-33/+43
|
* Use the same certificate-viewer as the trust-prompt from edsMilan Crha2012-12-121-211/+514
| | | | | | This way it'll be possible to copy whole files if change in one of them will be done. A real code reuse, rather than copy, would be ideal, but the trust-prompt is just a module for evolution-user-prompter.
* Address couple issues found by a Coverity scanMilan Crha2012-11-301-3/+5
|
* Coding style and whitespace cleanup.Matthew Barnes2012-11-111-40/+53
|
* Coding style and whitespace cleanup.Matthew Barnes2012-08-201-2/+2
|
* Coding style and whitespace cleanup.Matthew Barnes2012-02-201-2/+6
|
* Coding style and whitespace cleanup.Matthew Barnes2011-09-041-8/+15
|
* Coding style cleanups.Matthew Barnes2011-05-091-2/+2
|
* Giant leap towards GSEAL compliance.Matthew Barnes2010-04-081-5/+8
|
* BugĀ 589153 - Use GtkBuilder instead of libgladeMatthew Barnes2009-11-171-26/+20
|
* Prefer GLib basic types over C types.Matthew Barnes2009-05-291-6/+6
|
* Remove trailing whitespace, again.Matthew Barnes2009-05-291-1/+1
|
* Change License from GPL to LGPL. 2nd batch.Sankarasivasubramanian Pasupathilingam2008-09-031-15/+14
| | | | | | More changes to come. svn path=/trunk/; revision=36247
* updated novell copyright notices (left others alone)Jeffrey Stedfast2008-06-211-1/+1
| | | | svn path=/trunk/; revision=35665
* ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES andMatthew Barnes2008-06-061-2/+0
| | | | | | | | | | 2008-06-06 Matthew Barnes <mbarnes@redhat.com> ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES defined. (#536637) svn path=/trunk/; revision=35606
* ** Remove trailing whitespace from source code.Matthew Barnes2007-11-151-4/+4
| | | | | | | | | 2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
* Update FSF address in header comments (#469886). Patch from TobiasMatthew Barnes2007-09-021-1/+1
| | | | | | | | | | 2007-09-02 Matthew Barnes <mbarnes@redhat.com> * Update FSF address in header comments (#469886). Patch from Tobias Mueller. svn path=/trunk/; revision=34151
* ** Fixes bug #419524Matthew Barnes2007-03-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | 2007-03-20 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #419524 * Include <glib/gi18n.h> instead of <libgnome/gnome-i18n.h>. * e-util/e-xml-utils.c (e_xml_get_child_by_name_by_lang_list): * mail/em-migrate.c (emm_setup_initial): * shell/e-component-registry.c (query_components): * shell/e-shell-settings-dialog.c (load_pages): * shell/e-shell-window-commands.c (command_quick_reference): * tools/killev.c (main): Use g_get_language_names() instead of gnome_i18n_get_language_list(). * e-util/e-util.c: Remove e_gettext(). * e-util/Makefile.am: Remove e-i18n.h. svn path=/trunk/; revision=33319
* Remove unused code. Use #ifdef instead of #if some places. Add missingKjartan Maraas2006-01-301-1/+0
| | | | | | | | | | | | | | | | 2006-01-29 Kjartan Maraas <kmaraas@gnome.org> * gui/cert-trust-dialog.c: (ctd_response): * gui/certificate-viewer.c: (fill_in_general): * gui/component.c: * lib/e-cert-db.c: (initialize_nss), (default_nickname): * lib/e-cert-db.h: * lib/e-cert.c: (create_tbs_certificate_asn1_struct): * lib/e-pkcs12.c: (import_from_file_helper): Remove unused code. Use #ifdef instead of #if some places. Add missing header. svn path=/trunk/; revision=31368
* gui/ca-trust-dialog.c (ca_trust_dialog_show) gui/cert-trust-dialog.cTor Lillqvist2005-12-181-1/+9
| | | | | | | | | | | | | 2005-12-18 Tor Lillqvist <tml@novell.com> * gui/ca-trust-dialog.c (ca_trust_dialog_show) * gui/cert-trust-dialog.c (cert_trust_dialog_show) * gui/certificate-manager.c (certificate_manager_config_control_new) * gui/certificate-viewer.c (certificate_viewer_show) * gui/e-cert-selector.c (e_cert_selector_new): Construct glade file pathname at run-time. svn path=/trunk/; revision=30857
* add BOOL:POINTER,POINTER,POINTER,POINTER for confirm_ca_cert_import.Chris Toshok2004-03-251-14/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fix the border width setting for the button area, to be HIG-compliantRodney Dawes2004-03-111-0/+3
| | | | | | | | | | | 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
* Same.Jeffrey Stedfast2004-02-121-0/+5
| | | | | | | | | | | | 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
* use <tt> markup around the fingerprints, and italicize the Not part ofChris Toshok2004-01-061-10/+55
| | | | | | | | | | | | | 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
* set the window title based on e_cert_get_window_title.Chris Toshok2003-12-051-0/+8
| | | | | | | | | | | | | 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
* add prototype for e_cert_get_asn1_struct.Chris Toshok2003-12-051-5/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* add e-asn1-object.[ch]Chris Toshok2003-12-041-12/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* mostly implement a viewer for certificates.Chris Toshok2003-11-261-0/+125
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