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.

290 lines
12 KiB

  1. // This list contains the oids defined for Microsoft. The OID's can
  2. // be used to represent components like X509 extensions, PKCS #7
  3. // extensions and PKCS #7 contents.
  4. //
  5. // Each subtree within the microsoft OID is assigned to a specific
  6. // area. Do not create new oid's outside of the subtree assigned to
  7. // you!
  8. // Microsoft OID
  9. // 1.3.6.1.4.1.311 subtree is Microsoft
  10. // Authenticode
  11. // 1.3.6.1.4.1.311.2 subtree is defined for authenticode
  12. // Time Stamping (with Associated encoder/decoders)
  13. // 1.3.6.1.4.1.311.3 subtree is defined for Time stamping
  14. // Permissions
  15. // 1.3.6.1.4.1.311.4 subtree is defined for permissions
  16. // Crypto 2.0
  17. // 1.3.6.1.4.1.311.10 subtree is defined for Crypt 2.0
  18. // Catalog
  19. // 1.3.6.1.4.1.311.12 subtree is defined for Catalog Files
  20. // Microsoft Java
  21. // 1.3.6.1.4.1.311.15 subtree is defined for Java
  22. // Microsoft Outlook/Exchange
  23. // 1.3.6.1.4.1.311.16 subtree is defined for Microsoft Outlook/Exchange
  24. // PKCS12 attributes specific to Microsoft
  25. // 1.3.6.1.4.1.311.17 subtree is defined for Microsoft PKCS12
  26. // Microsoft Hydra
  27. // 1.3.6.1.4.1.311.18 subtree is defined for Microsoft Hydra
  28. // Microsoft ISPU Test
  29. // 1.3.6.1.4.1.311.19 subtree is defined for Microsoft ISPU test
  30. // Microsoft Enrollment Infastructure
  31. // 1.3.6.1.4.1.311.20 subtree is defined for Microsoft Enrollment Infastructure
  32. // Microsoft CertSrv Infastructure
  33. // 1.3.6.1.4.1.311.21 subtree is defined for Microsoft CertSrv Infastructure
  34. //
  35. // 1.3.6.1.4.1.311.25 subtree is defined for Microsoft Directory Service
  36. //
  37. // 1.3.6.1.4.1.311.30 subtree is defined for IIS
  38. // 1.3.6.1.4.1.311.31 subtree is defined for Windows updates and service packs
  39. //
  40. // 1.3.6.1.4.1.311.40 subtree is defined for fonts
  41. //
  42. // 1.3.6.1.4.1.311.41 subtree is defined for Microsoft Licensing and Registration
  43. //
  44. // 1.3.6.1.4.1.311.42 subtree is defined for Microsoft Corporate PKI (ITG)
  45. //
  46. // 1.3.6.1.4.1.311.43 subtree is defined for Microsoft WWOps BizExt
  47. //
  48. // 1.3.6.1.4.1.311.44 subtree is defined for Microsoft Peer Networking
  49. //
  50. // 1.3.6.1.4.1.311.45 subtree is defined for Mobile Devices Code Signing
  51. // Software Publishing (with associated encoders/decoders)
  52. // 1.3.6.1.4.1.311.2 subtree is defined for Software publishing
  53. #define SPC_INDIRECT_DATA_OBJID "1.3.6.1.4.1.311.2.1.4"
  54. #define SPC_STATEMENT_TYPE_OBJID "1.3.6.1.4.1.311.2.1.11"
  55. #define SPC_SP_OPUS_INFO_OBJID "1.3.6.1.4.1.311.2.1.12"
  56. #define SPC_PE_IMAGE_DATA_OBJID "1.3.6.1.4.1.311.2.1.15"
  57. #define SPC_SP_AGENCY_INFO_OBJID "1.3.6.1.4.1.311.2.1.10"
  58. #define SPC_MINIMAL_CRITERIA_OBJID "1.3.6.1.4.1.311.2.1.26"
  59. #define SPC_FINANCIAL_CRITERIA_OBJID "1.3.6.1.4.1.311.2.1.27"
  60. #define SPC_LINK_OBJID "1.3.6.1.4.1.311.2.1.28"
  61. #define SPC_HASH_INFO_OBJID "1.3.6.1.4.1.311.2.1.29"
  62. #define SPC_SIPINFO_OBJID "1.3.6.1.4.1.311.2.1.30"
  63. // Software Publishing (with NO associated encoders/decoders)
  64. #define SPC_CERT_EXTENSIONS_OBJID "1.3.6.1.4.1.311.2.1.14"
  65. #define SPC_RAW_FILE_DATA_OBJID "1.3.6.1.4.1.311.2.1.18"
  66. #define SPC_STRUCTURED_STORAGE_DATA_OBJID "1.3.6.1.4.1.311.2.1.19"
  67. #define SPC_JAVA_CLASS_DATA_OBJID "1.3.6.1.4.1.311.2.1.20"
  68. #define SPC_INDIVIDUAL_SP_KEY_PURPOSE_OBJID "1.3.6.1.4.1.311.2.1.21"
  69. #define SPC_COMMERCIAL_SP_KEY_PURPOSE_OBJID "1.3.6.1.4.1.311.2.1.22"
  70. #define SPC_CAB_DATA_OBJID "1.3.6.1.4.1.311.2.1.25"
  71. #define SPC_GLUE_RDN_OBJID "1.3.6.1.4.1.311.2.1.25" // Duplicate number??
  72. // CTL for Software Publishers Trusted CAs
  73. // 1.3.6.1.4.1.311.2.2 sub-subtree is defined for Software Publishing trusted CAs
  74. #define szOID_TRUSTED_CODESIGNING_CA_LIST "1.3.6.1.4.1.311.2.2.1"
  75. #define szOID_TRUSTED_CLIENT_AUTH_CA_LIST "1.3.6.1.4.1.311.2.2.2"
  76. #define szOID_TRUSTED_SERVER_AUTH_CA_LIST "1.3.6.1.4.1.311.2.2.3"
  77. // Time Stamping (with Associated encoder/decoders)
  78. // 1.3.6.1.4.1.311.3 subtree is defined for Time stamping
  79. #define SPC_TIME_STAMP_REQUEST_OBJID "1.3.6.1.4.1.311.3.2.1"
  80. // Permissions
  81. // 1.3.6.1.4.1.311.4 subtree is defined for permissions
  82. // Crypto 2.0
  83. // 1.3.6.1.4.1.311.10 subtree is defined for Crypt 2.0
  84. // PKCS #7 ContentType Object Identifier for Certificate Trust List (CTL)
  85. #define szOID_CTL "1.3.6.1.4.1.311.10.1"
  86. // Sorted CTL Extension
  87. #define szOID_SORTED_CTL "1.3.6.1.4.1.311.10.1.1"
  88. // Next Update Location extension or attribute. Value is an encoded
  89. // GeneralNames
  90. #define szOID_NEXT_UPDATE_LOCATION "1.3.6.1.4.1.311.10.2"
  91. // Enhanced Key Usage (Purpose)
  92. // Signer of CTLs
  93. #define szOID_KP_CTL_USAGE_SIGNING "1.3.6.1.4.1.311.10.3.1"
  94. // Signer of TimeStamps
  95. #define szOID_KP_TIME_STAMP_SIGNING "1.3.6.1.4.1.311.10.3.2"
  96. // Can use strong encryption in export environment
  97. #define szOID_SERVER_GATED_CRYPTO "1.3.6.1.4.1.311.10.3.3"
  98. #define szOID_SERIALIZED "1.3.6.1.4.1.311.10.3.3.1"
  99. // Can use encryptd file systems (EFS)
  100. #define szOID_EFS_CRYPTO "1.3.6.1.4.1.311.10.3.4"
  101. #define szOID_EFS_RECOVERY "1.3.6.1.4.1.311.10.3.4.1"
  102. // Can use Windows Hardware Compatible (WHQL)
  103. #define szOID_WHQL_CRYPTO "1.3.6.1.4.1.311.10.3.5"
  104. // Signed by the NT5 build lab
  105. #define szOID_NT5_CRYPTO "1.3.6.1.4.1.311.10.3.6"
  106. // Signed by and OEM of WHQL
  107. #define szOID_OEM_WHQL_CRYPTO "1.3.6.1.4.1.311.10.3.7"
  108. // Signed by the Embedded NT
  109. #define szOID_EMBEDDED_NT_CRYPTO "1.3.6.1.4.1.311.10.3.8"
  110. // Signer of a CTL containing trusted roots
  111. #define szOID_ROOT_LIST_SIGNER "1.3.6.1.4.1.311.10.3.9"
  112. // Can sign cross-cert and subordinate CA requests with qualified
  113. // subordination (name constraints, policy mapping, etc.)
  114. #define szOID_KP_QUALIFIED_SUBORDINATION "1.3.6.1.4.1.311.10.3.10"
  115. // Can be used to encrypt/recover escrowed keys
  116. #define szOID_KP_KEY_RECOVERY "1.3.6.1.4.1.311.10.3.11"
  117. // Signer of documents
  118. #define szOID_KP_DOCUMENT_SIGNING "1.3.6.1.4.1.311.10.3.12"
  119. // The default WinVerifyTrust Authenticode policy is to treat all time stamped
  120. // signatures as being valid forever. This OID limits the valid lifetime of the
  121. // signature to the lifetime of the certificate. This allows timestamped
  122. // signatures to expire. Normally this OID will be used in conjunction with
  123. // szOID_PKIX_KP_CODE_SIGNING to indicate new time stamp semantics should be
  124. // used. Support for this OID was added in WXP.
  125. #define szOID_KP_LIFETIME_SIGNING "1.3.6.1.4.1.311.10.3.13"
  126. // Microsoft Attribute Object Identifiers
  127. #define szOID_YESNO_TRUST_ATTR "1.3.6.1.4.1.311.10.4.1"
  128. // Microsoft Music
  129. #define szOID_DRM "1.3.6.1.4.1.311.10.5.1"
  130. // Microsoft DRM EKU
  131. #define szOID_DRM_INDIVIDUALIZATION "1.3.6.1.4.1.311.10.5.2"
  132. // Microsoft Licenses
  133. #define szOID_LICENSES "1.3.6.1.4.1.311.10.6.1"
  134. #define szOID_LICENSE_SERVER "1.3.6.1.4.1.311.10.6.2"
  135. // Microsoft CERT_RDN attribute Object Identifiers
  136. #define szOID_MICROSOFT_RDN_PREFIX "1.3.6.1.4.1.311.10.7"
  137. // Special RDN containing the KEY_ID. Its value type is CERT_RDN_OCTET_STRING.
  138. #define szOID_KEYID_RDN "1.3.6.1.4.1.311.10.7.1"
  139. // Microsoft extension in a CTL to add or remove the certificates. The
  140. // extension type is an INTEGER. 0 => add certificate, 1 => remove certificate
  141. #define szOID_REMOVE_CERTIFICATE "1.3.6.1.4.1.311.10.8.1"
  142. // Microsoft certificate extension containing cross certificate distribution
  143. // points. ASN.1 encoded as follows:
  144. // CrossCertDistPoints ::= SEQUENCE {
  145. // syncDeltaTime INTEGER (0..4294967295) OPTIONAL,
  146. // crossCertDistPointNames CrossCertDistPointNames
  147. // } --#public--
  148. //
  149. // CrossCertDistPointNames ::= SEQUENCE OF GeneralNames
  150. #define szOID_CROSS_CERT_DIST_POINTS "1.3.6.1.4.1.311.10.9.1"
  151. // 1.3.6.1.4.1.311.10.10 subtree is defined for Microsoft CMC OIDs
  152. // Similar to szOID_CMC_ADD_EXTENSIONS. Attributes replaces Extensions.
  153. #define szOID_CMC_ADD_ATTRIBUTES "1.3.6.1.4.1.311.10.10.1"
  154. // 1.3.6.1.4.1.311.10.11 subtree is defined for Microsoft certificate
  155. // property OIDs
  156. // The OID component following the prefix contains the PROP_ID (decimal)
  157. #define szOID_CERT_PROP_ID_PREFIX "1.3.6.1.4.1.311.10.11."
  158. // 1.3.6.1.4.1.311.10.12 subtree is defined for CryptUI
  159. #define szOID_ANY_APPLICATION_POLICY "1.3.6.1.4.1.311.10.12.1"
  160. // Catalog
  161. // 1.3.6.1.4.1.311.12 subtree for Catalog
  162. #define szOID_CATALOG_LIST "1.3.6.1.4.1.311.12.1.1"
  163. #define szOID_CATALOG_LIST_MEMBER "1.3.6.1.4.1.311.12.1.2"
  164. #define CAT_NAMEVALUE_OBJID "1.3.6.1.4.1.311.12.2.1"
  165. #define CAT_MEMBERINFO_OBJID "1.3.6.1.4.1.311.12.2.2"
  166. // Microsoft PKCS10 OIDs
  167. #define szOID_RENEWAL_CERTIFICATE "1.3.6.1.4.1.311.13.1"
  168. #define szOID_ENROLLMENT_NAME_VALUE_PAIR "1.3.6.1.4.1.311.13.2.1"
  169. #define szOID_ENROLLMENT_CSP_PROVIDER "1.3.6.1.4.1.311.13.2.2"
  170. // Java
  171. // 1.3.6.1.4.1.311.15 subtree is defined for java
  172. // Microsoft Outlook/Exchange
  173. // 1.3.6.1.4.1.311.16 subtree is defined for Microsoft Outlook/Exchange
  174. // PKCS12 attributes specific to Microsoft
  175. // 1.3.6.1.4.1.311.17 subtree is defined for Microsoft PKCS12
  176. #define szOID_LOCAL_MACHINE_KEYSET "1.3.6.1.4.1.311.17.1"
  177. // Enrollment Infastructure OIDs specific to Microsoft
  178. // 1.3.6.1.4.1.311.20 subtree is defined for Microsoft Enrollment Infastructure
  179. #define szOID_AUTO_ENROLL_CTL_USAGE "1.3.6.1.4.1.311.20.1"
  180. //
  181. // Extension contain certificate type
  182. #define szOID_ENROLL_CERTTYPE_EXTENSION "1.3.6.1.4.1.311.20.2"
  183. #define szOID_ENROLLMENT_AGENT "1.3.6.1.4.1.311.20.2.1"
  184. #define szOID_KP_SMARTCARD_LOGON "1.3.6.1.4.1.311.20.2.2"
  185. #define szOID_NT_PRINCIPAL_NAME "1.3.6.1.4.1.311.20.2.3"
  186. #define szOID_CERT_MANIFOLD "1.3.6.1.4.1.311.20.3"
  187. //
  188. // 1.3.6.1.4.1.311.25 subtree is defined for Microsoft Directory Service
  189. #define szOID_NTDS_REPLICATION "1.3.6.1.4.1.311.25.1"
  190. //
  191. // 1.3.6.1.4.1.311.30 subtree is defined for IIS
  192. #define szOID_IIS_VIRTUAL_SERVER "1.3.6.1.4.1.311.30.1"
  193. // 1.3.6.1.4.1.311.31 subtree is defined for Windows updates and service packs
  194. #define szOID_PRODUCT_UPDATE "1.3.6.1.4.1.311.31.1"
  195. //
  196. // 1.3.6.1.4.1.311.40 subtree is defined for fonts
  197. // Definitions for OIDs can be found in
  198. // \nt\private\ntos\w32\ntgdi\fondrv\tt\mssipotf\sip\authattr.h
  199. // Microsoft CertSrv Infastructure
  200. // 1.3.6.1.4.1.311.21 subtree is defined for Microsoft CertSrv Infastructure
  201. // CerSrv (with associated encoders/decoders)
  202. #define szOID_CERTSRV_CA_VERSION "1.3.6.1.4.1.311.21.1"
  203. //
  204. // CAPICOM
  205. // 1.3.6.1.4.1.311.88 subtree is defined for Microsoft CAPICOM.
  206. #define szOID_CAPICOM "1.3.6.1.4.1.311.88" // Reserved for CAPICOM.
  207. #define szOID_CAPICOM_VERSION "1.3.6.1.4.1.311.88.1" // CAPICOM version
  208. #define szOID_CAPICOM_ATTRIBUTE "1.3.6.1.4.1.311.88.2" // CAPICOM attribute
  209. #define szOID_CAPICOM_DOCUMENT_NAME "1.3.6.1.4.1.311.88.2.1" // Document type attribute
  210. #define szOID_CAPICOM_DOCUMENT_DESCRIPTION "1.3.6.1.4.1.311.88.2.2" // Document description attribute
  211. #define szOID_CAPICOM_ENCRYPTED_DATA "1.3.6.1.4.1.311.88.3" // CAPICOM encrypted data message.
  212. #define szOID_CAPICOM_ENCRYPTED_CONTENT "1.3.6.1.4.1.311.88.3.1" // CAPICOM content of encrypted data.