Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

66 lines
2.1 KiB

  1. ----------------------------------------------------------------------------
  2. -- X509.ASN
  3. --
  4. -- ASN.1 definitions for X509 v3 certificates
  5. ----------------------------------------------------------------------------
  6. --<ROOT X509>--
  7. --<COPYRIGHT "Copyright (C) Microsoft Corporation, 1996 - 1996">--
  8. --<OBJECTID LONG>--
  9. --<OBJECTID 16>--
  10. --<NOPDU>--
  11. --<NOVALUE>--
  12. --<LENGTHSIZE LONG>--
  13. --<SUPPRESS C0391W>-- -- C0391W: Duplicate PDU tag
  14. --<SUPPRESS A0427W>-- -- A0427W: Mixed 1990 and 1994 ASN.1 syntax
  15. --<SUPPRESS A0433W>-- -- A0433W: 'ANY' is invalid 1994 ASN.1 syntax
  16. --<UNBOUNDED SEQUENCE OF, SET OF>--
  17. --<UNBOUNDED BIT STRING, OCTET STRING>--
  18. X509
  19. DEFINITIONS EXPLICIT TAGS ::=
  20. BEGIN
  21. BITSTRING ::= BIT STRING --<UNBOUNDED>-- --<NOCOPY>-- -- tag 0x03
  22. BMPSTRING ::= BMPString --<UNBOUNDED>-- -- tag 0x1E (30)
  23. --------------------------------------------
  24. -- Enhanced Key Usage Extension (2.5.29.32)
  25. --------------------------------------------
  26. EnhancedKeyUsage ::= SEQUENCE --<PDU>-- OF UsageIdentifier
  27. UsageIdentifier ::= OBJECT IDENTIFIER
  28. --------------------------------------------
  29. -- Private Datasturcture for requests, REQUESTFLAGS
  30. --------------------------------------------
  31. RequestFlags ::= SEQUENCE {
  32. fWriteToCSP BOOLEAN,
  33. fWriteToDS BOOLEAN,
  34. openFlags INTEGER
  35. } --<PDU>--
  36. -----------------------------------------------------------------------
  37. -- PKCS10 Attribute to decribe the CSP Provider used
  38. -----------------------------------------------------------------------
  39. CSPProvider ::= SEQUENCE {
  40. keySpec INTEGER,
  41. cspName BMPSTRING,
  42. signature BITSTRING
  43. } --<PDU>--
  44. -----------------------------------------------------------------------
  45. -- Enrollment Name Value Pair Authenticated Attributes in RA PKCS7s
  46. -----------------------------------------------------------------------
  47. EnrollmentNameValuePair ::= SEQUENCE {
  48. name BMPSTRING,
  49. value BMPSTRING
  50. } --<PDU>--
  51. END