PkcsIOException.cs 753 B

123456789101112131415161718192021222324252627282930313233343536
  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.Pkcs
  7. {
  8. /// <summary>Base exception for parsing related issues in the PKCS namespace.</summary>
  9. [Serializable]
  10. public class PkcsIOException
  11. : IOException
  12. {
  13. public PkcsIOException()
  14. : base()
  15. {
  16. }
  17. public PkcsIOException(string message)
  18. : base(message)
  19. {
  20. }
  21. public PkcsIOException(string message, Exception innerException)
  22. : base(message, innerException)
  23. {
  24. }
  25. protected PkcsIOException(SerializationInfo info, StreamingContext context)
  26. : base(info, context)
  27. {
  28. }
  29. }
  30. }
  31. #pragma warning restore
  32. #endif