OCSPRespStatus.cs 748 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. public abstract class OcscpRespStatus : OcspRespStatus
  7. {
  8. }
  9. public abstract class OcspRespStatus
  10. {
  11. /**
  12. * note 4 is not used.
  13. */
  14. public const int Successful = 0; // --Response has valid confirmations
  15. public const int MalformedRequest = 1; // --Illegal confirmation request
  16. public const int InternalError = 2; // --Internal error in issuer
  17. public const int TryLater = 3; // --Try again later
  18. public const int SigRequired = 5; // --Must sign the request
  19. public const int Unauthorized = 6; // --Request unauthorized
  20. }
  21. }
  22. #pragma warning restore
  23. #endif