Asn1Exception.cs 657 B

1234567891011121314151617181920212223242526272829303132333435
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. #pragma warning disable
  3. using System;
  4. using System.IO;
  5. using System.Runtime.Serialization;
  6. namespace Best.HTTP.SecureProtocol.Org.BouncyCastle.Asn1
  7. {
  8. [Serializable]
  9. public class Asn1Exception
  10. : IOException
  11. {
  12. public Asn1Exception()
  13. : base()
  14. {
  15. }
  16. public Asn1Exception(string message)
  17. : base(message)
  18. {
  19. }
  20. public Asn1Exception(string message, Exception innerException)
  21. : base(message, innerException)
  22. {
  23. }
  24. protected Asn1Exception(SerializationInfo info, StreamingContext context)
  25. : base(info, context)
  26. {
  27. }
  28. }
  29. }
  30. #pragma warning restore
  31. #endif