From 98adb40685d4a454d792b23c6ba23468b95c6216 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Wed, 19 May 2010 23:09:26 +0200 Subject: Bug #304415 - Allow change of signature hash algorithm --- smime/lib/e-cert.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'smime/lib') 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; -- cgit v1.2.3