You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
595 B
32 lines
595 B
using System;
|
|
|
|
namespace Org.BouncyCastle.Crypto
|
|
{
|
|
/// <summary>
|
|
/// This exception is thrown whenever a cipher requires a change of key, iv
|
|
/// or similar after x amount of bytes enciphered
|
|
/// </summary>
|
|
#if !(NETCF_1_0 || NETCF_2_0 || SILVERLIGHT || PORTABLE)
|
|
[Serializable]
|
|
#endif
|
|
public class MaxBytesExceededException
|
|
: CryptoException
|
|
{
|
|
public MaxBytesExceededException()
|
|
{
|
|
}
|
|
|
|
public MaxBytesExceededException(
|
|
string message)
|
|
: base(message)
|
|
{
|
|
}
|
|
|
|
public MaxBytesExceededException(
|
|
string message,
|
|
Exception e)
|
|
: base(message, e)
|
|
{
|
|
}
|
|
}
|
|
}
|
|
|