• Chris Toshok's avatar
    mostly implement a viewer for certificates. · 4e4c1676
    Chris Toshok authored
    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
    4e4c1676
Name
Last commit
Last update
a11y Loading commit data...
addressbook Loading commit data...
art Loading commit data...
calendar Loading commit data...
camel Loading commit data...
composer Loading commit data...
data Loading commit data...
default_user Loading commit data...
designs Loading commit data...
devel-docs Loading commit data...
doc Loading commit data...
e-util Loading commit data...
filter Loading commit data...
help Loading commit data...
macros Loading commit data...
mail Loading commit data...
po Loading commit data...
shell Loading commit data...
smime Loading commit data...
sounds Loading commit data...
tools Loading commit data...
ui Loading commit data...
views Loading commit data...
widgets Loading commit data...
.cvsignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING-DOCS Loading commit data...
ChangeLog Loading commit data...
ChangeLog.pre-1-4 Loading commit data...
HACKING Loading commit data...
INSTALL Loading commit data...
MAINTAINERS Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
NEWS-1.0 Loading commit data...
README Loading commit data...
RELEASE-NOTES Loading commit data...
acinclude.m4 Loading commit data...
autogen.sh Loading commit data...
camel.pc.in Loading commit data...
configure.in Loading commit data...
evolution-shell.pc.in Loading commit data...
marshal.mk Loading commit data...
server.mk Loading commit data...
stamp.h.in Loading commit data...