X509BasicConstraintsExtension.cs 737 B

123456789101112131415161718192021222324252627282930313233343536
  1. //
  2. // X509BasicConstraintsExtension.cs - System.Security.Cryptography.X509BasicConstraintsExtension
  3. //
  4. // Author:
  5. // Sebastien Pouliot ([email protected])
  6. //
  7. // (C) 2003 Motus Technologies Inc. (http://www.motus.com)
  8. //
  9. #if NET_1_2
  10. using System;
  11. namespace System.Security.Cryptography.X509Certificates {
  12. // Note: Match the definition of framework version 1.2.3400.0 on http://longhorn.msdn.microsoft.com
  13. public sealed class X509BasicConstraintsExtension : X509Extension {
  14. public X509BasicConstraintsExtension () {}
  15. public bool CertificateAuthority {
  16. get { return false; }
  17. }
  18. public bool HasPathLengthConstraint {
  19. get { return false; }
  20. }
  21. public int PathLengthConstraint {
  22. get { return 0; }
  23. }
  24. }
  25. }
  26. #endif