summary refs log tree commit diff
path: root/crypto/src/cms/KeyAgreeRecipientInfoGenerator.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2023-07-19 16:41:48 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2023-07-19 16:41:48 +0700
commit9cfd752fbd95a23581d68b44e674e13afae61498 (patch)
tree4e470734055de57076feabdda09198cd626765b9 /crypto/src/cms/KeyAgreeRecipientInfoGenerator.cs
parentRefactoring around SubjectPublicKeyInfo (diff)
downloadBouncyCastle.NET-ed25519-9cfd752fbd95a23581d68b44e674e13afae61498.tar.xz
Add more MQV OIDs
Diffstat (limited to 'crypto/src/cms/KeyAgreeRecipientInfoGenerator.cs')
-rw-r--r--crypto/src/cms/KeyAgreeRecipientInfoGenerator.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/cms/KeyAgreeRecipientInfoGenerator.cs b/crypto/src/cms/KeyAgreeRecipientInfoGenerator.cs
index ab7c1a0bd..fc1554205 100644
--- a/crypto/src/cms/KeyAgreeRecipientInfoGenerator.cs
+++ b/crypto/src/cms/KeyAgreeRecipientInfoGenerator.cs
@@ -75,7 +75,7 @@ namespace Org.BouncyCastle.Cms
 			}
 
 			Asn1OctetString ukm = null;
-			if (m_keyAgreementOid.Id.Equals(CmsEnvelopedGenerator.ECMqvSha1Kdf))
+            if (CmsUtilities.IsMqv(m_keyAgreementOid))
 			{
 				try
 				{