Source code of Windows XP (NT5)
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.

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