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-26 13:47:16 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2023-07-26 13:47:16 +0700
commit8ce8a4d09d8e6cfb29e8ecbb96a354a3eed9c321 (patch)
treec367281f28b5a082f32f1e0d77d6a22d6b7cd779 /crypto/src/cms/KeyAgreeRecipientInfoGenerator.cs
parentCreate new API for algorithm finders (diff)
downloadBouncyCastle.NET-ed25519-8ce8a4d09d8e6cfb29e8ecbb96a354a3eed9c321.tar.xz
Refactor CMS helpers
Diffstat (limited to 'crypto/src/cms/KeyAgreeRecipientInfoGenerator.cs')
-rw-r--r--crypto/src/cms/KeyAgreeRecipientInfoGenerator.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/crypto/src/cms/KeyAgreeRecipientInfoGenerator.cs b/crypto/src/cms/KeyAgreeRecipientInfoGenerator.cs
index fc1554205..37bd1f770 100644
--- a/crypto/src/cms/KeyAgreeRecipientInfoGenerator.cs
+++ b/crypto/src/cms/KeyAgreeRecipientInfoGenerator.cs
@@ -14,11 +14,9 @@ using Org.BouncyCastle.X509;
 
 namespace Org.BouncyCastle.Cms
 {
-	internal class KeyAgreeRecipientInfoGenerator
+    internal class KeyAgreeRecipientInfoGenerator
 		: RecipientInfoGenerator
 	{
-		private static readonly CmsEnvelopedHelper Helper = CmsEnvelopedHelper.Instance;
-
         private readonly List<KeyAgreeRecipientIdentifier> m_recipientIDs = new List<KeyAgreeRecipientIdentifier>();
         private readonly List<AsymmetricKeyParameter> m_recipientKeys = new List<AsymmetricKeyParameter>();