summary refs log tree commit diff
path: root/crypto/src/cms
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2022-07-17 18:55:46 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2022-07-17 18:55:46 +0700
commit67108e3c641758ebe98484cf52454471d9948e0d (patch)
treea9437e154bf3b71ed41591f94fbe65fa04891bed /crypto/src/cms
parentRemove unused digest (diff)
downloadBouncyCastle.NET-ed25519-67108e3c641758ebe98484cf52454471d9948e0d.tar.xz
Utility method for selecting AES engine
Diffstat (limited to 'crypto/src/cms')
-rw-r--r--crypto/src/cms/EnvelopedDataHelper.cs9
1 files changed, 2 insertions, 7 deletions
diff --git a/crypto/src/cms/EnvelopedDataHelper.cs b/crypto/src/cms/EnvelopedDataHelper.cs
index 8c4dd7bf9..616048297 100644
--- a/crypto/src/cms/EnvelopedDataHelper.cs
+++ b/crypto/src/cms/EnvelopedDataHelper.cs
@@ -1,15 +1,10 @@
-using System;
-using System.Collections.Generic;
-
+
 using Org.BouncyCastle.Asn1;
-using Org.BouncyCastle.Asn1.Nist;
-using Org.BouncyCastle.Asn1.Pkcs;
 using Org.BouncyCastle.Asn1.X509;
 using Org.BouncyCastle.Crypto;
 using Org.BouncyCastle.Crypto.Parameters;
 using Org.BouncyCastle.Crypto.Utilities;
 using Org.BouncyCastle.Security;
-using Org.BouncyCastle.Utilities;
 
 namespace Org.BouncyCastle.Cms
 {
@@ -55,7 +50,7 @@ namespace Org.BouncyCastle.Cms
         //        || NistObjectIdentifiers.IdAes192Cbc.Equals(algorithm)
         //        || NistObjectIdentifiers.IdAes256Cbc.Equals(algorithm))
         //    {
-        //        return new Rfc3211WrapEngine(new AesEngine());
+        //        return new Rfc3211WrapEngine(AesUtilities.CreateEngine());
         //    }
         //    else if (PkcsObjectIdentifiers.DesEde3Cbc.Equals(algorithm))
         //    {