diff options
author | David Hook <dgh@bouncycastle.org> | 2021-05-23 14:02:47 +1000 |
---|---|---|
committer | David Hook <dgh@bouncycastle.org> | 2021-05-23 14:02:47 +1000 |
commit | 6e06829728168f62bf9fe9e42c1c4d4a2136711e (patch) | |
tree | 0e2bcfe331aad934dd23dbbdf47e0aaf02a75dff /crypto | |
parent | github #283 added extra features fields, corrected parsing for new draft (diff) | |
download | BouncyCastle.NET-ed25519-6e06829728168f62bf9fe9e42c1c4d4a2136711e.tar.xz |
github #250 lookup table error
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/src/cms/CMSSignedGenerator.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/cms/CMSSignedGenerator.cs b/crypto/src/cms/CMSSignedGenerator.cs index d89d4e5b4..95d5ba65b 100644 --- a/crypto/src/cms/CMSSignedGenerator.cs +++ b/crypto/src/cms/CMSSignedGenerator.cs @@ -120,9 +120,9 @@ namespace Org.BouncyCastle.Cms algorithms["SHA1WITHECDSA"] = X9ObjectIdentifiers.ECDsaWithSha1; algorithms["ECDSAWITHSHA1"] = X9ObjectIdentifiers.ECDsaWithSha1; algorithms["SHA224WITHECDSA"] = X9ObjectIdentifiers.ECDsaWithSha224; - algorithms["SHA256WITHECDSA"] = X9ObjectIdentifiers.ECDsaWithSha224; + algorithms["SHA256WITHECDSA"] = X9ObjectIdentifiers.ECDsaWithSha256; algorithms["SHA384WITHECDSA"] = X9ObjectIdentifiers.ECDsaWithSha384; - algorithms["SHA512WITHECDSA"] = X9ObjectIdentifiers.ECDsaWithSha256; + algorithms["SHA512WITHECDSA"] = X9ObjectIdentifiers.ECDsaWithSha512; algorithms["GOST3411WITHGOST3410"] = CryptoProObjectIdentifiers.GostR3411x94WithGostR3410x94; |