CRLNumber.cs 548 B

123456789101112131415161718192021222324252627282930313233
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. using Org.BouncyCastle.Math;
  3. namespace Org.BouncyCastle.Asn1.X509
  4. {
  5. /**
  6. * The CRLNumber object.
  7. * <pre>
  8. * CRLNumber::= Integer(0..MAX)
  9. * </pre>
  10. */
  11. public class CrlNumber
  12. : DerInteger
  13. {
  14. public CrlNumber(
  15. BigInteger number)
  16. : base(number)
  17. {
  18. }
  19. public BigInteger Number
  20. {
  21. get { return PositiveValue; }
  22. }
  23. public override string ToString()
  24. {
  25. return "CRLNumber: " + Number;
  26. }
  27. }
  28. }
  29. #endif