aboutsummaryrefslogtreecommitdiffstats
path: root/smime
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-05-20 05:09:26 +0800
committerMilan Crha <mcrha@redhat.com>2010-05-20 05:09:26 +0800
commit98adb40685d4a454d792b23c6ba23468b95c6216 (patch)
treeb453678fb5cb4e3f9b90084e380fb22f466e974d /smime
parent0e7a51c8bb58197beb605f8cd2f87d702912d49a (diff)
downloadgsoc2013-evolution-98adb40685d4a454d792b23c6ba23468b95c6216.tar
gsoc2013-evolution-98adb40685d4a454d792b23c6ba23468b95c6216.tar.gz
gsoc2013-evolution-98adb40685d4a454d792b23c6ba23468b95c6216.tar.bz2
gsoc2013-evolution-98adb40685d4a454d792b23c6ba23468b95c6216.tar.lz
gsoc2013-evolution-98adb40685d4a454d792b23c6ba23468b95c6216.tar.xz
gsoc2013-evolution-98adb40685d4a454d792b23c6ba23468b95c6216.tar.zst
gsoc2013-evolution-98adb40685d4a454d792b23c6ba23468b95c6216.zip
Bug #304415 - Allow change of signature hash algorithm
Diffstat (limited to 'smime')
-rw-r--r--smime/lib/e-cert.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/smime/lib/e-cert.c b/smime/lib/e-cert.c
index 86f8c5dced..1dee4d4a65 100644
--- a/smime/lib/e-cert.c
+++ b/smime/lib/e-cert.c
@@ -635,6 +635,15 @@ get_oid_text (SECItem *oid, gchar **text)
case SEC_OID_PKCS1_SHA1_WITH_RSA_ENCRYPTION:
*text = g_strdup (_("PKCS #1 SHA-1 With RSA Encryption"));
break;
+ case SEC_OID_PKCS1_SHA256_WITH_RSA_ENCRYPTION:
+ *text = g_strdup (_("PKCS #1 SHA-256 With RSA Encryption"));
+ break;
+ case SEC_OID_PKCS1_SHA384_WITH_RSA_ENCRYPTION:
+ *text = g_strdup (_("PKCS #1 SHA-384 With RSA Encryption"));
+ break;
+ case SEC_OID_PKCS1_SHA512_WITH_RSA_ENCRYPTION:
+ *text = g_strdup (_("PKCS #1 SHA-512 With RSA Encryption"));
+ break;
case SEC_OID_AVA_COUNTRY_NAME:
*text = g_strdup ("C");
break;