#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR) using System; namespace Org.BouncyCastle.Crypto { /// /// This exception is thrown whenever a cipher requires a change of key, iv /// or similar after x amount of bytes enciphered /// #if !(NETCF_1_0 || NETCF_2_0 || SILVERLIGHT || NETFX_CORE || PORTABLE) [Serializable] #endif public class MaxBytesExceededException : CryptoException { public MaxBytesExceededException() { } public MaxBytesExceededException( string message) : base(message) { } public MaxBytesExceededException( string message, Exception e) : base(message, e) { } } } #endif