InvalidCipherTextException.cs 821 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.Crypto
  6. {
  7. /// <summary>This exception is thrown whenever we find something we don't expect in a message.</summary>
  8. [Serializable]
  9. public class InvalidCipherTextException
  10. : CryptoException
  11. {
  12. public InvalidCipherTextException()
  13. : base()
  14. {
  15. }
  16. public InvalidCipherTextException(string message)
  17. : base(message)
  18. {
  19. }
  20. public InvalidCipherTextException(string message, Exception innerException)
  21. : base(message, innerException)
  22. {
  23. }
  24. protected InvalidCipherTextException(SerializationInfo info, StreamingContext context)
  25. : base(info, context)
  26. {
  27. }
  28. }
  29. }
  30. #pragma warning restore
  31. #endif