35 lines
651 B
C#
35 lines
651 B
C#
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
|
|
#pragma warning disable
|
|
using System;
|
|
using System.Runtime.Serialization;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Security
|
|
{
|
|
[Serializable]
|
|
public class KeyException
|
|
: GeneralSecurityException
|
|
{
|
|
public KeyException()
|
|
: base()
|
|
{
|
|
}
|
|
|
|
public KeyException(string message)
|
|
: base(message)
|
|
{
|
|
}
|
|
|
|
public KeyException(string message, Exception innerException)
|
|
: base(message, innerException)
|
|
{
|
|
}
|
|
|
|
protected KeyException(SerializationInfo info, StreamingContext context)
|
|
: base(info, context)
|
|
{
|
|
}
|
|
}
|
|
}
|
|
#pragma warning restore
|
|
#endif
|