PkcsException.cs 705 B

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