mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-09-24 16:05:27 +00:00
Merge pull request #378 from adamhathcock/fix_crypto_namespace
Fix namespaces to not interfere with bouncy castle users
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace Org.BouncyCastle.Crypto
|
||||
namespace SharpCompress.Crypto
|
||||
{
|
||||
public class CryptoException
|
||||
: Exception
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace Org.BouncyCastle.Crypto
|
||||
namespace SharpCompress.Crypto
|
||||
{
|
||||
public class DataLengthException
|
||||
: CryptoException
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace Org.BouncyCastle.Crypto
|
||||
namespace SharpCompress.Crypto
|
||||
{
|
||||
/// <remarks>Base interface for a symmetric key block cipher.</remarks>
|
||||
public interface IBlockCipher
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace Org.BouncyCastle.Crypto
|
||||
namespace SharpCompress.Crypto
|
||||
{
|
||||
public interface ICipherParameters
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace Org.BouncyCastle.Crypto.Parameters
|
||||
namespace SharpCompress.Crypto
|
||||
{
|
||||
public class KeyParameter
|
||||
: ICipherParameters
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
using System;
|
||||
using Org.BouncyCastle.Crypto.Parameters;
|
||||
|
||||
namespace Org.BouncyCastle.Crypto.Engines
|
||||
namespace SharpCompress.Crypto
|
||||
{
|
||||
public class RijndaelEngine
|
||||
: IBlockCipher
|
||||
|
||||
Reference in New Issue
Block a user