TlsCryptoException.cs 573 B

1234567891011121314151617181920212223
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. #pragma warning disable
  3. using System;
  4. namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Tls.Crypto
  5. {
  6. /// <summary>Basic exception class for crypto services to pass back a cause.</summary>
  7. public class TlsCryptoException
  8. : TlsException
  9. {
  10. public TlsCryptoException(string msg)
  11. : base(msg)
  12. {
  13. }
  14. public TlsCryptoException(string msg, Exception cause)
  15. : base(msg, cause)
  16. {
  17. }
  18. }
  19. }
  20. #pragma warning restore
  21. #endif