add all
This commit is contained in:
39
Packages/com.tivadar.best.http/Runtime/3rdParty/BouncyCastle/crypto/DataLengthException.cs
vendored
Normal file
39
Packages/com.tivadar.best.http/Runtime/3rdParty/BouncyCastle/crypto/DataLengthException.cs
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
|
||||
#pragma warning disable
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace Best.HTTP.SecureProtocol.Org.BouncyCastle.Crypto
|
||||
{
|
||||
/// <summary>This exception is thrown if a buffer that is meant to have output copied into it turns out to be too
|
||||
/// short, or if we've been given insufficient input.</summary>
|
||||
/// <remarks>
|
||||
/// In general this exception will get thrown rather than an <see cref="IndexOutOfRangeException"/>.
|
||||
/// </remarks>
|
||||
[Serializable]
|
||||
public class DataLengthException
|
||||
: CryptoException
|
||||
{
|
||||
public DataLengthException()
|
||||
: base()
|
||||
{
|
||||
}
|
||||
|
||||
public DataLengthException(string message)
|
||||
: base(message)
|
||||
{
|
||||
}
|
||||
|
||||
public DataLengthException(string message, Exception innerException)
|
||||
: base(message, innerException)
|
||||
{
|
||||
}
|
||||
|
||||
protected DataLengthException(SerializationInfo info, StreamingContext context)
|
||||
: base(info, context)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
#pragma warning restore
|
||||
#endif
|
||||
Reference in New Issue
Block a user