Merge pull request #378 from adamhathcock/fix_crypto_namespace

Fix namespaces to not interfere with bouncy castle users
This commit is contained in:
Adam Hathcock
2018-05-06 09:20:17 +01:00
committed by GitHub
7 changed files with 7 additions and 9 deletions

View File

@@ -4,8 +4,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using Org.BouncyCastle.Crypto.Engines;
using Org.BouncyCastle.Crypto.Parameters;
using SharpCompress.Crypto;
namespace SharpCompress.Common.Rar
{

View File

@@ -1,6 +1,6 @@
using System;
namespace Org.BouncyCastle.Crypto
namespace SharpCompress.Crypto
{
public class CryptoException
: Exception

View File

@@ -1,6 +1,6 @@
using System;
namespace Org.BouncyCastle.Crypto
namespace SharpCompress.Crypto
{
public class DataLengthException
: CryptoException

View File

@@ -1,4 +1,4 @@
namespace Org.BouncyCastle.Crypto
namespace SharpCompress.Crypto
{
/// <remarks>Base interface for a symmetric key block cipher.</remarks>
public interface IBlockCipher

View File

@@ -1,4 +1,4 @@
namespace Org.BouncyCastle.Crypto
namespace SharpCompress.Crypto
{
public interface ICipherParameters
{

View File

@@ -1,6 +1,6 @@
using System;
namespace Org.BouncyCastle.Crypto.Parameters
namespace SharpCompress.Crypto
{
public class KeyParameter
: ICipherParameters

View File

@@ -1,7 +1,6 @@
using System;
using Org.BouncyCastle.Crypto.Parameters;
namespace Org.BouncyCastle.Crypto.Engines
namespace SharpCompress.Crypto
{
public class RijndaelEngine
: IBlockCipher