OCSPRespStatus.cs 685 B

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