diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-11-14 12:28:10 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-11-14 12:28:10 +0700 |
commit | ca2a457f179b052a298dcfc311d16ce0e45863b6 (patch) | |
tree | aab8369f93a09b021a2e342d30df9f2948c4175a /crypto/src/cms/CMSSignedHelper.cs | |
parent | NUnit 3.14.0 (diff) | |
download | BouncyCastle.NET-ed25519-ca2a457f179b052a298dcfc311d16ce0e45863b6.tar.xz |
Misc. cleanup
Diffstat (limited to 'crypto/src/cms/CMSSignedHelper.cs')
-rw-r--r-- | crypto/src/cms/CMSSignedHelper.cs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/crypto/src/cms/CMSSignedHelper.cs b/crypto/src/cms/CMSSignedHelper.cs index a1e894947..1f78835e8 100644 --- a/crypto/src/cms/CMSSignedHelper.cs +++ b/crypto/src/cms/CMSSignedHelper.cs @@ -130,7 +130,6 @@ namespace Org.BouncyCastle.Cms m_digestAliases.Add("SHA512", new string[]{ "SHA-512" }); m_noParams.Add(CmsSignedGenerator.EncryptionDsa); - //m_noParams.Add(EncryptionECDsa); m_noParams.Add(EncryptionECDsaWithSha1); m_noParams.Add(EncryptionECDsaWithSha224); m_noParams.Add(EncryptionECDsaWithSha256); @@ -174,10 +173,8 @@ namespace Org.BouncyCastle.Cms * JCA string representations rather than the algorithm identifier (if * possible). */ - internal static string GetEncryptionAlgName(string encryptionAlgOid) - { - return CollectionUtilities.GetValueOrKey(m_encryptionAlgs, encryptionAlgOid); - } + internal static string GetEncryptionAlgName(string encryptionAlgOid) => + CollectionUtilities.GetValueOrKey(m_encryptionAlgs, encryptionAlgOid); internal static IDigest GetDigestInstance(string algorithm) { |