diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-07-19 16:41:48 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-07-19 16:41:48 +0700 |
commit | 9cfd752fbd95a23581d68b44e674e13afae61498 (patch) | |
tree | 4e470734055de57076feabdda09198cd626765b9 /crypto/src/security | |
parent | Refactoring around SubjectPublicKeyInfo (diff) | |
download | BouncyCastle.NET-ed25519-9cfd752fbd95a23581d68b44e674e13afae61498.tar.xz |
Add more MQV OIDs
Diffstat (limited to 'crypto/src/security')
-rw-r--r-- | crypto/src/security/GeneratorUtilities.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/crypto/src/security/GeneratorUtilities.cs b/crypto/src/security/GeneratorUtilities.cs index 26898aaf8..cb6ca9c1b 100644 --- a/crypto/src/security/GeneratorUtilities.cs +++ b/crypto/src/security/GeneratorUtilities.cs @@ -12,6 +12,7 @@ using Org.BouncyCastle.Asn1.Ntt; using Org.BouncyCastle.Asn1.Oiw; using Org.BouncyCastle.Asn1.Pkcs; using Org.BouncyCastle.Asn1.Rosstandart; +using Org.BouncyCastle.Asn1.Sec; using Org.BouncyCastle.Asn1.X9; using Org.BouncyCastle.Crypto; using Org.BouncyCastle.Crypto.Generators; @@ -217,7 +218,11 @@ namespace Org.BouncyCastle.Security "ECIES"); AddKpgAlgorithm("ECDHC"); AddKpgAlgorithm("ECMQV", - X9ObjectIdentifiers.MqvSinglePassSha1KdfScheme); + X9ObjectIdentifiers.MqvSinglePassSha1KdfScheme, + SecObjectIdentifiers.mqvSinglePass_sha224kdf_scheme, + SecObjectIdentifiers.mqvSinglePass_sha256kdf_scheme, + SecObjectIdentifiers.mqvSinglePass_sha384kdf_scheme, + SecObjectIdentifiers.mqvSinglePass_sha512kdf_scheme); AddKpgAlgorithm("ECDSA"); AddKpgAlgorithm("ECGOST3410", "ECGOST-3410", |