summary refs log tree commit diff
path: root/crypto/src/cms
diff options
context:
space:
mode:
authorKristian Rastrup <kristian@rastrup.net>2019-03-26 14:21:11 +0100
committerGitHub <noreply@github.com>2019-03-26 14:21:11 +0100
commitf55dd97cb99d8541ebc5dde34462dce35ce6511a (patch)
tree03fbab204291cee9c9146f8afbb9e52bce48e8cd /crypto/src/cms
parentDTLS: Guard against epoch wrapping (diff)
downloadBouncyCastle.NET-ed25519-f55dd97cb99d8541ebc5dde34462dce35ce6511a.tar.xz
Update CMSSignedHelper.cs
Change to Id Field for TeleTrusTObjectIdentifiers.TeleTrusTRsaSignatureAlgorithm
Diffstat (limited to 'crypto/src/cms')
-rw-r--r--crypto/src/cms/CMSSignedHelper.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/cms/CMSSignedHelper.cs b/crypto/src/cms/CMSSignedHelper.cs
index 3fb3cee26..6d49a5513 100644
--- a/crypto/src/cms/CMSSignedHelper.cs
+++ b/crypto/src/cms/CMSSignedHelper.cs
@@ -84,7 +84,7 @@ namespace Org.BouncyCastle.Cms
 
 			encryptionAlgs.Add(X9ObjectIdentifiers.IdDsa.Id, "DSA");
 			encryptionAlgs.Add(PkcsObjectIdentifiers.RsaEncryption.Id, "RSA");
-			encryptionAlgs.Add(TeleTrusTObjectIdentifiers.TeleTrusTRsaSignatureAlgorithm, "RSA");
+			encryptionAlgs.Add(TeleTrusTObjectIdentifiers.TeleTrusTRsaSignatureAlgorithm.Id, "RSA");
 			encryptionAlgs.Add(X509ObjectIdentifiers.IdEARsa.Id, "RSA");
 			encryptionAlgs.Add(CmsSignedGenerator.EncryptionRsaPss, "RSAandMGF1");
 			encryptionAlgs.Add(CryptoProObjectIdentifiers.GostR3410x94.Id, "GOST3410");