diff options
author | Kristian Rastrup <kristian@rastrup.net> | 2019-03-26 14:21:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-26 14:21:11 +0100 |
commit | f55dd97cb99d8541ebc5dde34462dce35ce6511a (patch) | |
tree | 03fbab204291cee9c9146f8afbb9e52bce48e8cd /crypto/src/cms | |
parent | DTLS: Guard against epoch wrapping (diff) | |
download | BouncyCastle.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.cs | 2 |
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"); |