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.

154 lines
5.5 KiB

  1. ----------------------------------------------------------------------------
  2. -- WTASN.ASN
  3. --
  4. -- ASN.1 definitions for Indirect data contents
  5. ----------------------------------------------------------------------------
  6. --#comment "Copyright (C) Microsoft Corporation, 1996-1999. All rights reserved."--
  7. --#comment "ASN.1 definitions for Indirect data contents"--
  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. WINTRUST
  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. ObjectID ::= OBJECT IDENTIFIER --#public-- --#oid array--
  30. --------------------------------------------
  31. -- Algorithm Identifier
  32. --------------------------------------------
  33. AlgorithmIdentifier ::= SEQUENCE {
  34. algorithm ObjectID,
  35. parameters NOCOPYANY OPTIONAL
  36. }
  37. --------------------------------------------
  38. -- Digest Info
  39. --------------------------------------------
  40. DigestInfo ::= SEQUENCE {
  41. digestAlgorithm AlgorithmIdentifier,
  42. digest OCTETSTRING
  43. }
  44. --------------------------------------------
  45. -- (SPC) --
  46. --------------------------------------------
  47. SpcIndirectDataContent ::= SEQUENCE {
  48. data SpcAttributeTypeAndOptionalValue,
  49. messageDigest DigestInfo
  50. } --#public--
  51. SpcAttributeTypeAndOptionalValue ::= SEQUENCE {
  52. type ObjectID,
  53. value NOCOPYANY OPTIONAL
  54. }
  55. SpcString ::= CHOICE {
  56. unicode [0] IMPLICIT BMPSTRING,
  57. ascii [1] IMPLICIT IA5STRING
  58. }
  59. SpcSerializedObject ::= SEQUENCE {
  60. classId SpcUuid,
  61. serializedData OCTETSTRING
  62. }
  63. SpcUuid ::= OCTETSTRING
  64. SpcLink ::= CHOICE {
  65. url [0] IMPLICIT IA5STRING,
  66. moniker [1] IMPLICIT SpcSerializedObject,
  67. file [2] EXPLICIT SpcString
  68. } --#public--
  69. SpcPeImageData ::= SEQUENCE {
  70. flags SpcPeImageFlags DEFAULT { includeResources },
  71. file [0] EXPLICIT SpcLink OPTIONAL
  72. } --#public--
  73. SpcPeImageFlags ::= BIT STRING {
  74. includeResources (0),
  75. includeDebugInfo (1),
  76. includeImportAddressTable (2)
  77. }
  78. SpcSigInfo ::= SEQUENCE {
  79. dwSIPversion INTEGER,
  80. gSIPguid SpcUuid,
  81. dwReserved1 INTEGER,
  82. dwReserved2 INTEGER,
  83. dwReserved3 INTEGER,
  84. dwReserved4 INTEGER,
  85. dwReserved5 INTEGER
  86. } --#public--
  87. SpcSpAgencyInformation ::= SEQUENCE {
  88. policyInformation [0] EXPLICIT SpcLink OPTIONAL,
  89. policyDisplayText [1] EXPLICIT SpcString OPTIONAL,
  90. logoImage [2] IMPLICIT SpcImage OPTIONAL,
  91. logoLink [3] EXPLICIT SpcLink OPTIONAL
  92. } --#public--
  93. SpcImage ::= SEQUENCE {
  94. imageLink [0] EXPLICIT SpcLink OPTIONAL,
  95. bitmap [1] IMPLICIT OCTETSTRING OPTIONAL,
  96. metafile [2] IMPLICIT OCTETSTRING OPTIONAL,
  97. enhancedMetafile [3] IMPLICIT OCTETSTRING OPTIONAL,
  98. gifFile [4] IMPLICIT OCTETSTRING OPTIONAL
  99. }
  100. SpcMinimalCriteria ::= BOOLEAN --#public--
  101. SpcFinancialCriteria ::= SEQUENCE {
  102. financialInfoAvailable BOOLEAN,
  103. meetsCriteria BOOLEAN
  104. } --#public--
  105. SpcStatementType ::= SEQUENCE --#public-- OF ObjectID
  106. SpcSpOpusInfo ::= SEQUENCE {
  107. programName [0] EXPLICIT SpcString OPTIONAL,
  108. moreInfo [1] EXPLICIT SpcLink OPTIONAL,
  109. publisherInfo [2] EXPLICIT SpcLink OPTIONAL
  110. } --#public--
  111. UtcTime ::= UTCTime --#public--
  112. --------------------------------------------
  113. -- (Catalog) --
  114. --------------------------------------------
  115. NameValue ::= SEQUENCE {
  116. refname BMPSTRING,
  117. typeaction INTEGER,
  118. value OCTETSTRING
  119. } --#public--
  120. NameValues ::= SET OF NameValue
  121. MemberInfo ::= SEQUENCE {
  122. subguid BMPSTRING,
  123. certversion INTEGER
  124. } --#public--
  125. END