CertStatus.cs 920 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. #pragma warning disable
  3. using System;
  4. using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Date;
  5. namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Pkix
  6. {
  7. public class CertStatus
  8. {
  9. public const int Unrevoked = 11;
  10. public const int Undetermined = 12;
  11. private int status = Unrevoked;
  12. DateTimeObject revocationDate = null;
  13. /// <summary>
  14. /// Returns the revocationDate.
  15. /// </summary>
  16. public DateTimeObject RevocationDate
  17. {
  18. get { return revocationDate; }
  19. set { this.revocationDate = value; }
  20. }
  21. /// <summary>
  22. /// Returns the certStatus.
  23. /// </summary>
  24. public int Status
  25. {
  26. get { return status; }
  27. set { this.status = value; }
  28. }
  29. }
  30. }
  31. #pragma warning restore
  32. #endif