diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-07-17 18:55:46 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-07-17 18:55:46 +0700 |
commit | 67108e3c641758ebe98484cf52454471d9948e0d (patch) | |
tree | a9437e154bf3b71ed41591f94fbe65fa04891bed /crypto/src/cms | |
parent | Remove unused digest (diff) | |
download | BouncyCastle.NET-ed25519-67108e3c641758ebe98484cf52454471d9948e0d.tar.xz |
Utility method for selecting AES engine
Diffstat (limited to 'crypto/src/cms')
-rw-r--r-- | crypto/src/cms/EnvelopedDataHelper.cs | 9 |
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)) // { |