OCSPRespStatus.cs 813 B

1234567891011121314151617181920212223242526
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. #pragma warning disable
  3. using System;
  4. namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Ocsp
  5. {
  6. [Obsolete("Use version with correct spelling 'OcspRespStatus'")]
  7. public abstract class OcscpRespStatus : OcspRespStatus
  8. {
  9. }
  10. public abstract class OcspRespStatus
  11. {
  12. /**
  13. * note 4 is not used.
  14. */
  15. public const int Successful = 0; // --Response has valid confirmations
  16. public const int MalformedRequest = 1; // --Illegal confirmation request
  17. public const int InternalError = 2; // --Internal error in issuer
  18. public const int TryLater = 3; // --Try again later
  19. public const int SigRequired = 5; // --Must sign the request
  20. public const int Unauthorized = 6; // --Request unauthorized
  21. }
  22. }
  23. #pragma warning restore
  24. #endif