aboutsummaryrefslogtreecommitdiffstats
path: root/smime/lib/e-cert.h
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-05-28 15:52:37 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-05-28 15:52:37 +0800
commit1dc76861d81c012c80871738ae6d18ed4fc881fe (patch)
tree0370aa975a8c377549f53d9bb99fc6b6d1fbcc70 /smime/lib/e-cert.h
parent80b2ded553a96ab787d327a928d4db11fb0264b2 (diff)
downloadgsoc2013-evolution-1dc76861d81c012c80871738ae6d18ed4fc881fe.tar.gz
gsoc2013-evolution-1dc76861d81c012c80871738ae6d18ed4fc881fe.tar.zst
gsoc2013-evolution-1dc76861d81c012c80871738ae6d18ed4fc881fe.zip
** See bugs #52061 & #52669.
2004-05-28 Not Zed <NotZed@Ximian.com> ** See bugs #52061 & #52669. * gui/smime-ui.glade: added cert-trust-dialog and tweaked the ca-trust-dialog. * gui/ca-trust-dialog.c (ca_trust_dialog_show): Fix the %s in the label. Slack. (ca_trust_dialog_show): slight rearrangement. * gui/certificate-manager.c (add_contact_cert): fill out fields. * lib/e-cert.c (e_cert_get_usage): helper to get the usage of a cert. * gui/certificate-manager.c (edit_ca): use the right certdb, not the e-one. (add_user_cert): fill out missing columns. * lib/e-cert.c (e_cert_get_ca_cert): new method to find the ca cert of a cert. * gui/cert-trust-dialog.[ch]: peer cert trust editor. * gui/certificate-manager.c (edit_contact): implement. svn path=/trunk/; revision=26119
Diffstat (limited to 'smime/lib/e-cert.h')
-rw-r--r--smime/lib/e-cert.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/smime/lib/e-cert.h b/smime/lib/e-cert.h
index 243ce1539b..5e0ae78fba 100644
--- a/smime/lib/e-cert.h
+++ b/smime/lib/e-cert.h
@@ -88,12 +88,14 @@ PRTime e_cert_get_issued_on_time (ECert *cert);
const char* e_cert_get_issued_on (ECert *cert);
PRTime e_cert_get_expires_on_time (ECert *cert);
const char* e_cert_get_expires_on (ECert *cert);
+const char* e_cert_get_usage(ECert *cert);
const char* e_cert_get_serial_number (ECert *cert);
const char* e_cert_get_sha1_fingerprint (ECert *cert);
const char* e_cert_get_md5_fingerprint (ECert *cert);
GList* e_cert_get_chain (ECert *cert);
+ECert * e_cert_get_ca_cert (ECert *ecert);
EASN1Object* e_cert_get_asn1_struct (ECert *cert);
gboolean e_cert_mark_for_deletion (ECert *cert);