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.

82 lines
3.4 KiB

  1. ----------------------------------------------------------------------------
  2. -- X509.ASN
  3. --
  4. -- ASN.1 definitions for SET X509 v3 certificate extensions
  5. ----------------------------------------------------------------------------
  6. --#comment "Copyright (C) Microsoft Corporation, 1996-1999. All rights reserved."--
  7. --#comment "ASN.1 definitions for SET X509 v3 certificates"--
  8. --#SS.basic lenptr-- -- set of and sequence of w/o size constraint
  9. --#SS.sized lenptr-- -- set of and sequence of w/ size constraint
  10. X509
  11. DEFINITIONS EXPLICIT TAGS ::=
  12. BEGIN
  13. HUGEINTEGER ::= INTEGER --#intx-- -- tag 0x02
  14. BITSTRING ::= BIT STRING --#lenptr-- --#nomemcpy-- -- tag 0x03
  15. OCTETSTRING ::= OCTET STRING --#lenptr-- --#nomemcpy-- -- tag 0x04
  16. NOCOPYANY ::= ANY --#nomemcpy--
  17. NUMERICSTRING ::= NumericString --#lenptr-- -- tag 0x12 (18)
  18. PRINTABLESTRING ::= PrintableString --#lenptr-- -- tag 0x13 (19)
  19. TELETEXSTRING ::= TeletexString --#lenptr-- -- tag 0x14 (20)
  20. T61STRING ::= T61String --#lenptr-- -- tag 0x14 (20)
  21. VIDEOTEXSTRING ::= VideotexString --#lenptr-- -- tag 0x15 (21)
  22. IA5STRING ::= IA5String --#lenptr-- -- tag 0x16 (22)
  23. GRAPHICSTRING ::= GraphicString --#lenptr-- -- tag 0x19 (25)
  24. VISIBLESTRING ::= VisibleString --#lenptr-- -- tag 0x1A (26)
  25. ISO646STRING ::= ISO646String --#lenptr-- -- tag 0x1A (26)
  26. GENERALSTRING ::= GeneralString --#lenptr-- -- tag 0x1B (27)
  27. UNIVERSALSTRING ::= UniversalString --#lenptr-- -- tag 0x1C (28)
  28. BMPSTRING ::= BMPString --#lenptr-- -- tag 0x1E (30)
  29. --------------------------------------------
  30. -- SET Private Extensions
  31. --------------------------------------------
  32. --------------------------------------------
  33. -- Account Alias Private Extension
  34. --
  35. -- Identifies if the actual bankcard number is used
  36. -- or if an alias is used.
  37. -- Not critical.
  38. --------------------------------------------
  39. SETAccountAlias ::= BOOLEAN --#public--
  40. --------------------------------------------
  41. -- Hashed Root Key Private Extension
  42. --
  43. -- This extension is used only in the root Certifice
  44. -- It contains the SHA hash of the next root key.
  45. -- Not critical.
  46. --------------------------------------------
  47. SETHashedRootKey ::= OCTETSTRING --#public--
  48. --------------------------------------------
  49. -- Certificate Type Private Extension
  50. --
  51. -- The certificate type is used to distinguish
  52. -- between the different elements.
  53. -- Not critical.
  54. --------------------------------------------
  55. SETCertificateType ::= BITSTRING --#public--
  56. --------------------------------------------
  57. -- Merchant Data
  58. --------------------------------------------
  59. SETMerchantData ::= SEQUENCE {
  60. merID IA5STRING,
  61. merAcquirerBIN NUMERICSTRING,
  62. merTermID IA5STRING,
  63. merName IA5STRING,
  64. merCity IA5STRING,
  65. merStateProvince IA5STRING,
  66. merPostalCode IA5STRING,
  67. merCountry IA5STRING,
  68. merPhone IA5STRING,
  69. merPhoneRelease BOOLEAN,
  70. merAuthFlag BOOLEAN
  71. } --#public--
  72. END