ExtendedValidation.cpp 57 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382
  1. /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
  2. *
  3. * This Source Code Form is subject to the terms of the Mozilla Public
  4. * License, v. 2.0. If a copy of the MPL was not distributed with this
  5. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  6. #include "ExtendedValidation.h"
  7. #include "base64.h"
  8. #include "cert.h"
  9. #include "certdb.h"
  10. #include "hasht.h"
  11. #include "mozilla/ArrayUtils.h"
  12. #include "mozilla/Assertions.h"
  13. #include "mozilla/Casting.h"
  14. #include "mozilla/PodOperations.h"
  15. #include "pk11pub.h"
  16. #include "pkix/pkixtypes.h"
  17. #include "prerror.h"
  18. #include "prinit.h"
  19. #include "secerr.h"
  20. extern mozilla::LazyLogModule gPIPNSSLog;
  21. #define CONST_OID static const unsigned char
  22. #define OI(x) { siDEROID, (unsigned char*) x, sizeof x }
  23. struct nsMyTrustedEVInfo
  24. {
  25. const char* dotted_oid;
  26. const char* oid_name; // Set this to null to signal an invalid structure,
  27. // (We can't have an empty list, so we'll use a dummy entry)
  28. SECOidTag oid_tag;
  29. const unsigned char ev_root_sha256_fingerprint[SHA256_LENGTH];
  30. const char* issuer_base64;
  31. const char* serial_base64;
  32. };
  33. // HOWTO enable additional CA root certificates for EV:
  34. //
  35. // For each combination of "root certificate" and "policy OID",
  36. // one entry must be added to the array named myTrustedEVInfos.
  37. //
  38. // We use the combination of "issuer name" and "serial number" to
  39. // uniquely identify the certificate. In order to avoid problems
  40. // because of encodings when comparing certificates, we don't
  41. // use plain text representation, we rather use the original encoding
  42. // as it can be found in the root certificate (in base64 format).
  43. //
  44. // We can use the NSS utility named "pp" to extract the encoding.
  45. //
  46. // Build standalone NSS including the NSS tools, then run
  47. // pp -t certificate-identity -i the-cert-filename
  48. //
  49. // You will need the output from sections "Issuer", "Fingerprint (SHA-256)",
  50. // "Issuer DER Base64" and "Serial DER Base64".
  51. //
  52. // The new section consists of 8 lines:
  53. //
  54. // - a comment that should contain the human readable issuer name
  55. // of the certificate, as printed by the pp tool
  56. // - the EV policy OID that is associated to the EV grant
  57. // - a text description of the EV policy OID. The array can contain
  58. // multiple entries with the same OID.
  59. // Please make sure to use the identical OID text description for
  60. // all entries with the same policy OID (use the text search
  61. // feature of your text editor to find duplicates).
  62. // When adding a new policy OID that is not yet contained in the array,
  63. // please make sure that your new description is different from
  64. // all the other descriptions (again use the text search feature
  65. // to be sure).
  66. // - the constant SEC_OID_UNKNOWN
  67. // (it will be replaced at runtime with another identifier)
  68. // - the SHA-256 fingerprint
  69. // - the "Issuer DER Base64" as printed by the pp tool.
  70. // Remove all whitespaces. If you use multiple lines, make sure that
  71. // only the final line will be followed by a comma.
  72. // - the "Serial DER Base64" (as printed by pp)
  73. //
  74. // After adding an entry, test it locally against the test site that
  75. // has been provided by the CA. Note that you must use a version of NSS
  76. // where the root certificate has already been added and marked as trusted
  77. // for issuing SSL server certificates (at least).
  78. //
  79. // If you are able to connect to the site without certificate errors,
  80. // but you don't see the EV status indicator, then most likely the CA
  81. // has a problem in their infrastructure. The most common problems are
  82. // related to the CA's OCSP infrastructure, either they use an incorrect
  83. // OCSP signing certificate, or OCSP for the intermediate certificates
  84. // isn't working, or OCSP isn't working at all.
  85. #ifdef DEBUG
  86. static const size_t NUM_TEST_EV_ROOTS = 2;
  87. #endif
  88. static struct nsMyTrustedEVInfo myTrustedEVInfos[] = {
  89. // IMPORTANT! When extending this list, if you add another entry that uses
  90. // the same dotted_oid as an existing entry, use the same oid_name.
  91. #ifdef DEBUG
  92. // Debug EV certificates should all use the following OID:
  93. // 1.3.6.1.4.1.13769.666.666.666.1.500.9.1.
  94. // (multiple entries with the same OID is ok)
  95. // If you add or remove debug EV certs you must also modify NUM_TEST_EV_ROOTS
  96. // so that the correct number of certs are skipped as these debug EV certs are
  97. // NOT part of the default trust store.
  98. {
  99. // This is the PSM xpcshell testing EV certificate. It can be generated
  100. // using pycert.py and the following specification:
  101. //
  102. // issuer:evroot
  103. // subject:evroot
  104. // subjectKey:ev
  105. // issuerKey:ev
  106. // validity:20150101-20350101
  107. // extension:basicConstraints:cA,
  108. // extension:keyUsage:keyCertSign,cRLSign
  109. //
  110. // If this ever needs to change, re-generate the certificate and update the
  111. // following entry with the new fingerprint, issuer, and serial number.
  112. "1.3.6.1.4.1.13769.666.666.666.1.500.9.1",
  113. "DEBUGtesting EV OID",
  114. SEC_OID_UNKNOWN,
  115. { 0xE4, 0xFB, 0x04, 0x16, 0x10, 0x32, 0x67, 0x08, 0x6C, 0x84, 0x2E,
  116. 0x91, 0xF3, 0xEF, 0x0E, 0x45, 0x99, 0xBC, 0xA8, 0x54, 0x73, 0xF5,
  117. 0x03, 0x2C, 0x7B, 0xDC, 0x09, 0x70, 0x76, 0x49, 0xBF, 0xAA },
  118. "MBExDzANBgNVBAMMBmV2cm9vdA==",
  119. "W9j5PS8YoKgynZdYa9i2Kwexnp8=",
  120. },
  121. {
  122. // This is an RSA root with an inadequate key size. It is used to test that
  123. // minimum key sizes are enforced when verifying for EV. It can be
  124. // generated using pycert.py and the following specification:
  125. //
  126. // issuer:ev_root_rsa_2040
  127. // subject:ev_root_rsa_2040
  128. // issuerKey:evRSA2040
  129. // subjectKey:evRSA2040
  130. // validity:20150101-20350101
  131. // extension:basicConstraints:cA,
  132. // extension:keyUsage:cRLSign,keyCertSign
  133. //
  134. // If this ever needs to change, re-generate the certificate and update the
  135. // following entry with the new fingerprint, issuer, and serial number.
  136. "1.3.6.1.4.1.13769.666.666.666.1.500.9.1",
  137. "DEBUGtesting EV OID",
  138. SEC_OID_UNKNOWN,
  139. { 0x49, 0x46, 0x10, 0xF4, 0xF5, 0xB1, 0x96, 0xE7, 0xFB, 0xFA, 0x4D,
  140. 0xA6, 0x34, 0x03, 0xD0, 0x99, 0x22, 0xD4, 0x77, 0x20, 0x3F, 0x84,
  141. 0xE0, 0xDF, 0x1C, 0xAD, 0xB4, 0xC2, 0x76, 0xBB, 0x63, 0x24 },
  142. "MBsxGTAXBgNVBAMMEGV2X3Jvb3RfcnNhXzIwNDA=",
  143. "P1iIBgxk6kH+x64EUBTV3qoHuas=",
  144. },
  145. #endif
  146. {
  147. // OU=Security Communication EV RootCA1,O="SECOM Trust Systems CO.,LTD.",C=JP
  148. "1.2.392.200091.100.721.1",
  149. "SECOM EV OID",
  150. SEC_OID_UNKNOWN,
  151. { 0xA2, 0x2D, 0xBA, 0x68, 0x1E, 0x97, 0x37, 0x6E, 0x2D, 0x39, 0x7D,
  152. 0x72, 0x8A, 0xAE, 0x3A, 0x9B, 0x62, 0x96, 0xB9, 0xFD, 0xBA, 0x60,
  153. 0xBC, 0x2E, 0x11, 0xF6, 0x47, 0xF2, 0xC6, 0x75, 0xFB, 0x37 },
  154. "MGAxCzAJBgNVBAYTAkpQMSUwIwYDVQQKExxTRUNPTSBUcnVzdCBTeXN0ZW1zIENP"
  155. "LixMVEQuMSowKAYDVQQLEyFTZWN1cml0eSBDb21tdW5pY2F0aW9uIEVWIFJvb3RD"
  156. "QTE=",
  157. "AA==",
  158. },
  159. {
  160. // CN=Cybertrust Global Root,O=Cybertrust, Inc
  161. "1.3.6.1.4.1.6334.1.100.1",
  162. "Cybertrust EV OID",
  163. SEC_OID_UNKNOWN,
  164. { 0x96, 0x0A, 0xDF, 0x00, 0x63, 0xE9, 0x63, 0x56, 0x75, 0x0C, 0x29,
  165. 0x65, 0xDD, 0x0A, 0x08, 0x67, 0xDA, 0x0B, 0x9C, 0xBD, 0x6E, 0x77,
  166. 0x71, 0x4A, 0xEA, 0xFB, 0x23, 0x49, 0xAB, 0x39, 0x3D, 0xA3 },
  167. "MDsxGDAWBgNVBAoTD0N5YmVydHJ1c3QsIEluYzEfMB0GA1UEAxMWQ3liZXJ0cnVz"
  168. "dCBHbG9iYWwgUm9vdA==",
  169. "BAAAAAABD4WqLUg=",
  170. },
  171. {
  172. // CN=SwissSign Gold CA - G2,O=SwissSign AG,C=CH
  173. "2.16.756.1.89.1.2.1.1",
  174. "SwissSign EV OID",
  175. SEC_OID_UNKNOWN,
  176. { 0x62, 0xDD, 0x0B, 0xE9, 0xB9, 0xF5, 0x0A, 0x16, 0x3E, 0xA0, 0xF8,
  177. 0xE7, 0x5C, 0x05, 0x3B, 0x1E, 0xCA, 0x57, 0xEA, 0x55, 0xC8, 0x68,
  178. 0x8F, 0x64, 0x7C, 0x68, 0x81, 0xF2, 0xC8, 0x35, 0x7B, 0x95 },
  179. "MEUxCzAJBgNVBAYTAkNIMRUwEwYDVQQKEwxTd2lzc1NpZ24gQUcxHzAdBgNVBAMT"
  180. "FlN3aXNzU2lnbiBHb2xkIENBIC0gRzI=",
  181. "ALtAHEP1Xk+w",
  182. },
  183. {
  184. // CN=StartCom Certification Authority,OU=Secure Digital Certificate Signing,O=StartCom Ltd.,C=IL
  185. "1.3.6.1.4.1.23223.1.1.1",
  186. "StartCom EV OID",
  187. SEC_OID_UNKNOWN,
  188. { 0xC7, 0x66, 0xA9, 0xBE, 0xF2, 0xD4, 0x07, 0x1C, 0x86, 0x3A, 0x31,
  189. 0xAA, 0x49, 0x20, 0xE8, 0x13, 0xB2, 0xD1, 0x98, 0x60, 0x8C, 0xB7,
  190. 0xB7, 0xCF, 0xE2, 0x11, 0x43, 0xB8, 0x36, 0xDF, 0x09, 0xEA },
  191. "MH0xCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSswKQYDVQQL"
  192. "EyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWduaW5nMSkwJwYDVQQDEyBT"
  193. "dGFydENvbSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eQ==",
  194. "AQ==",
  195. },
  196. {
  197. // CN=StartCom Certification Authority,OU=Secure Digital Certificate Signing,O=StartCom Ltd.,C=IL
  198. "1.3.6.1.4.1.23223.1.1.1",
  199. "StartCom EV OID",
  200. SEC_OID_UNKNOWN,
  201. { 0xE1, 0x78, 0x90, 0xEE, 0x09, 0xA3, 0xFB, 0xF4, 0xF4, 0x8B, 0x9C,
  202. 0x41, 0x4A, 0x17, 0xD6, 0x37, 0xB7, 0xA5, 0x06, 0x47, 0xE9, 0xBC,
  203. 0x75, 0x23, 0x22, 0x72, 0x7F, 0xCC, 0x17, 0x42, 0xA9, 0x11 },
  204. "MH0xCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSswKQYDVQQL"
  205. "EyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWduaW5nMSkwJwYDVQQDEyBT"
  206. "dGFydENvbSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eQ==",
  207. "LQ==",
  208. },
  209. {
  210. // CN=StartCom Certification Authority G2,O=StartCom Ltd.,C=IL
  211. "1.3.6.1.4.1.23223.1.1.1",
  212. "StartCom EV OID",
  213. SEC_OID_UNKNOWN,
  214. { 0xC7, 0xBA, 0x65, 0x67, 0xDE, 0x93, 0xA7, 0x98, 0xAE, 0x1F, 0xAA,
  215. 0x79, 0x1E, 0x71, 0x2D, 0x37, 0x8F, 0xAE, 0x1F, 0x93, 0xC4, 0x39,
  216. 0x7F, 0xEA, 0x44, 0x1B, 0xB7, 0xCB, 0xE6, 0xFD, 0x59, 0x95 },
  217. "MFMxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSwwKgYDVQQD"
  218. "EyNTdGFydENvbSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSBHMg==",
  219. "Ow==",
  220. },
  221. {
  222. // CN=VeriSign Class 3 Public Primary Certification Authority - G5,OU="(c) 2006 VeriSign, Inc. - For authorized use only",OU=VeriSign Trust Network,O="VeriSign, Inc.",C=US
  223. "2.16.840.1.113733.1.7.23.6",
  224. "VeriSign EV OID",
  225. SEC_OID_UNKNOWN,
  226. { 0x9A, 0xCF, 0xAB, 0x7E, 0x43, 0xC8, 0xD8, 0x80, 0xD0, 0x6B, 0x26,
  227. 0x2A, 0x94, 0xDE, 0xEE, 0xE4, 0xB4, 0x65, 0x99, 0x89, 0xC3, 0xD0,
  228. 0xCA, 0xF1, 0x9B, 0xAF, 0x64, 0x05, 0xE4, 0x1A, 0xB7, 0xDF },
  229. "MIHKMQswCQYDVQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNV"
  230. "BAsTFlZlcmlTaWduIFRydXN0IE5ldHdvcmsxOjA4BgNVBAsTMShjKSAyMDA2IFZl"
  231. "cmlTaWduLCBJbmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNlIG9ubHkxRTBDBgNVBAMT"
  232. "PFZlcmlTaWduIENsYXNzIDMgUHVibGljIFByaW1hcnkgQ2VydGlmaWNhdGlvbiBB"
  233. "dXRob3JpdHkgLSBHNQ==",
  234. "GNrRniZ96LtKIVjNzGs7Sg==",
  235. },
  236. {
  237. // CN=GeoTrust Primary Certification Authority,O=GeoTrust Inc.,C=US
  238. "1.3.6.1.4.1.14370.1.6",
  239. "GeoTrust EV OID",
  240. SEC_OID_UNKNOWN,
  241. { 0x37, 0xD5, 0x10, 0x06, 0xC5, 0x12, 0xEA, 0xAB, 0x62, 0x64, 0x21,
  242. 0xF1, 0xEC, 0x8C, 0x92, 0x01, 0x3F, 0xC5, 0xF8, 0x2A, 0xE9, 0x8E,
  243. 0xE5, 0x33, 0xEB, 0x46, 0x19, 0xB8, 0xDE, 0xB4, 0xD0, 0x6C },
  244. "MFgxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1HZW9UcnVzdCBJbmMuMTEwLwYDVQQD"
  245. "EyhHZW9UcnVzdCBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5",
  246. "GKy1av1pthU6Y2yv2vrEoQ==",
  247. },
  248. {
  249. // CN=thawte Primary Root CA,OU="(c) 2006 thawte, Inc. - For authorized use only",OU=Certification Services Division,O="thawte, Inc.",C=US
  250. "2.16.840.1.113733.1.7.48.1",
  251. "Thawte EV OID",
  252. SEC_OID_UNKNOWN,
  253. { 0x8D, 0x72, 0x2F, 0x81, 0xA9, 0xC1, 0x13, 0xC0, 0x79, 0x1D, 0xF1,
  254. 0x36, 0xA2, 0x96, 0x6D, 0xB2, 0x6C, 0x95, 0x0A, 0x97, 0x1D, 0xB4,
  255. 0x6B, 0x41, 0x99, 0xF4, 0xEA, 0x54, 0xB7, 0x8B, 0xFB, 0x9F },
  256. "MIGpMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMdGhhd3RlLCBJbmMuMSgwJgYDVQQL"
  257. "Ex9DZXJ0aWZpY2F0aW9uIFNlcnZpY2VzIERpdmlzaW9uMTgwNgYDVQQLEy8oYykg"
  258. "MjAwNiB0aGF3dGUsIEluYy4gLSBGb3IgYXV0aG9yaXplZCB1c2Ugb25seTEfMB0G"
  259. "A1UEAxMWdGhhd3RlIFByaW1hcnkgUm9vdCBDQQ==",
  260. "NE7VVyDV7exJ9C/ON9srbQ==",
  261. },
  262. {
  263. // CN=XRamp Global Certification Authority,O=XRamp Security Services Inc,OU=www.xrampsecurity.com,C=US
  264. "2.16.840.1.114404.1.1.2.4.1",
  265. "Trustwave EV OID",
  266. SEC_OID_UNKNOWN,
  267. { 0xCE, 0xCD, 0xDC, 0x90, 0x50, 0x99, 0xD8, 0xDA, 0xDF, 0xC5, 0xB1,
  268. 0xD2, 0x09, 0xB7, 0x37, 0xCB, 0xE2, 0xC1, 0x8C, 0xFB, 0x2C, 0x10,
  269. 0xC0, 0xFF, 0x0B, 0xCF, 0x0D, 0x32, 0x86, 0xFC, 0x1A, 0xA2 },
  270. "MIGCMQswCQYDVQQGEwJVUzEeMBwGA1UECxMVd3d3LnhyYW1wc2VjdXJpdHkuY29t"
  271. "MSQwIgYDVQQKExtYUmFtcCBTZWN1cml0eSBTZXJ2aWNlcyBJbmMxLTArBgNVBAMT"
  272. "JFhSYW1wIEdsb2JhbCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eQ==",
  273. "UJRs7Bjq1ZxN1ZfvdY+grQ==",
  274. },
  275. {
  276. // CN=SecureTrust CA,O=SecureTrust Corporation,C=US
  277. "2.16.840.1.114404.1.1.2.4.1",
  278. "Trustwave EV OID",
  279. SEC_OID_UNKNOWN,
  280. { 0xF1, 0xC1, 0xB5, 0x0A, 0xE5, 0xA2, 0x0D, 0xD8, 0x03, 0x0E, 0xC9,
  281. 0xF6, 0xBC, 0x24, 0x82, 0x3D, 0xD3, 0x67, 0xB5, 0x25, 0x57, 0x59,
  282. 0xB4, 0xE7, 0x1B, 0x61, 0xFC, 0xE9, 0xF7, 0x37, 0x5D, 0x73 },
  283. "MEgxCzAJBgNVBAYTAlVTMSAwHgYDVQQKExdTZWN1cmVUcnVzdCBDb3Jwb3JhdGlv"
  284. "bjEXMBUGA1UEAxMOU2VjdXJlVHJ1c3QgQ0E=",
  285. "DPCOXAgWpa1Cf/DrJxhZ0A==",
  286. },
  287. {
  288. // CN=Secure Global CA,O=SecureTrust Corporation,C=US
  289. "2.16.840.1.114404.1.1.2.4.1",
  290. "Trustwave EV OID",
  291. SEC_OID_UNKNOWN,
  292. { 0x42, 0x00, 0xF5, 0x04, 0x3A, 0xC8, 0x59, 0x0E, 0xBB, 0x52, 0x7D,
  293. 0x20, 0x9E, 0xD1, 0x50, 0x30, 0x29, 0xFB, 0xCB, 0xD4, 0x1C, 0xA1,
  294. 0xB5, 0x06, 0xEC, 0x27, 0xF1, 0x5A, 0xDE, 0x7D, 0xAC, 0x69 },
  295. "MEoxCzAJBgNVBAYTAlVTMSAwHgYDVQQKExdTZWN1cmVUcnVzdCBDb3Jwb3JhdGlv"
  296. "bjEZMBcGA1UEAxMQU2VjdXJlIEdsb2JhbCBDQQ==",
  297. "B1YipOjUiolN9BPI8PjqpQ==",
  298. },
  299. {
  300. // CN=COMODO ECC Certification Authority,O=COMODO CA Limited,L=Salford,ST=Greater Manchester,C=GB
  301. "1.3.6.1.4.1.6449.1.2.1.5.1",
  302. "Comodo EV OID",
  303. SEC_OID_UNKNOWN,
  304. { 0x17, 0x93, 0x92, 0x7A, 0x06, 0x14, 0x54, 0x97, 0x89, 0xAD, 0xCE,
  305. 0x2F, 0x8F, 0x34, 0xF7, 0xF0, 0xB6, 0x6D, 0x0F, 0x3A, 0xE3, 0xA3,
  306. 0xB8, 0x4D, 0x21, 0xEC, 0x15, 0xDB, 0xBA, 0x4F, 0xAD, 0xC7 },
  307. "MIGFMQswCQYDVQQGEwJHQjEbMBkGA1UECBMSR3JlYXRlciBNYW5jaGVzdGVyMRAw"
  308. "DgYDVQQHEwdTYWxmb3JkMRowGAYDVQQKExFDT01PRE8gQ0EgTGltaXRlZDErMCkG"
  309. "A1UEAxMiQ09NT0RPIEVDQyBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eQ==",
  310. "H0evqmIAcFBUTAGem2OZKg==",
  311. },
  312. {
  313. // CN=COMODO Certification Authority,O=COMODO CA Limited,L=Salford,ST=Greater Manchester,C=GB
  314. "1.3.6.1.4.1.6449.1.2.1.5.1",
  315. "Comodo EV OID",
  316. SEC_OID_UNKNOWN,
  317. { 0x0C, 0x2C, 0xD6, 0x3D, 0xF7, 0x80, 0x6F, 0xA3, 0x99, 0xED, 0xE8,
  318. 0x09, 0x11, 0x6B, 0x57, 0x5B, 0xF8, 0x79, 0x89, 0xF0, 0x65, 0x18,
  319. 0xF9, 0x80, 0x8C, 0x86, 0x05, 0x03, 0x17, 0x8B, 0xAF, 0x66 },
  320. "MIGBMQswCQYDVQQGEwJHQjEbMBkGA1UECBMSR3JlYXRlciBNYW5jaGVzdGVyMRAw"
  321. "DgYDVQQHEwdTYWxmb3JkMRowGAYDVQQKExFDT01PRE8gQ0EgTGltaXRlZDEnMCUG"
  322. "A1UEAxMeQ09NT0RPIENlcnRpZmljYXRpb24gQXV0aG9yaXR5",
  323. "ToEtioJl4AsC7j41AkblPQ==",
  324. },
  325. {
  326. // CN=AddTrust External CA Root,OU=AddTrust External TTP Network,O=AddTrust AB,C=SE
  327. "1.3.6.1.4.1.6449.1.2.1.5.1",
  328. "Comodo EV OID",
  329. SEC_OID_UNKNOWN,
  330. { 0x68, 0x7F, 0xA4, 0x51, 0x38, 0x22, 0x78, 0xFF, 0xF0, 0xC8, 0xB1,
  331. 0x1F, 0x8D, 0x43, 0xD5, 0x76, 0x67, 0x1C, 0x6E, 0xB2, 0xBC, 0xEA,
  332. 0xB4, 0x13, 0xFB, 0x83, 0xD9, 0x65, 0xD0, 0x6D, 0x2F, 0xF2 },
  333. "MG8xCzAJBgNVBAYTAlNFMRQwEgYDVQQKEwtBZGRUcnVzdCBBQjEmMCQGA1UECxMd"
  334. "QWRkVHJ1c3QgRXh0ZXJuYWwgVFRQIE5ldHdvcmsxIjAgBgNVBAMTGUFkZFRydXN0"
  335. "IEV4dGVybmFsIENBIFJvb3Q=",
  336. "AQ==",
  337. },
  338. {
  339. // CN=UTN-USERFirst-Hardware,OU=http://www.usertrust.com,O=The USERTRUST Network,L=Salt Lake City,ST=UT,C=US
  340. "1.3.6.1.4.1.6449.1.2.1.5.1",
  341. "Comodo EV OID",
  342. SEC_OID_UNKNOWN,
  343. { 0x6E, 0xA5, 0x47, 0x41, 0xD0, 0x04, 0x66, 0x7E, 0xED, 0x1B, 0x48,
  344. 0x16, 0x63, 0x4A, 0xA3, 0xA7, 0x9E, 0x6E, 0x4B, 0x96, 0x95, 0x0F,
  345. 0x82, 0x79, 0xDA, 0xFC, 0x8D, 0x9B, 0xD8, 0x81, 0x21, 0x37 },
  346. "MIGXMQswCQYDVQQGEwJVUzELMAkGA1UECBMCVVQxFzAVBgNVBAcTDlNhbHQgTGFr"
  347. "ZSBDaXR5MR4wHAYDVQQKExVUaGUgVVNFUlRSVVNUIE5ldHdvcmsxITAfBgNVBAsT"
  348. "GGh0dHA6Ly93d3cudXNlcnRydXN0LmNvbTEfMB0GA1UEAxMWVVROLVVTRVJGaXJz"
  349. "dC1IYXJkd2FyZQ==",
  350. "RL4Mi1AAJLQR0zYq/mUK/Q==",
  351. },
  352. {
  353. // OU=Go Daddy Class 2 Certification Authority,O=\"The Go Daddy Group, Inc.\",C=US
  354. "2.16.840.1.114413.1.7.23.3",
  355. "Go Daddy EV OID a",
  356. SEC_OID_UNKNOWN,
  357. { 0xC3, 0x84, 0x6B, 0xF2, 0x4B, 0x9E, 0x93, 0xCA, 0x64, 0x27, 0x4C,
  358. 0x0E, 0xC6, 0x7C, 0x1E, 0xCC, 0x5E, 0x02, 0x4F, 0xFC, 0xAC, 0xD2,
  359. 0xD7, 0x40, 0x19, 0x35, 0x0E, 0x81, 0xFE, 0x54, 0x6A, 0xE4 },
  360. "MGMxCzAJBgNVBAYTAlVTMSEwHwYDVQQKExhUaGUgR28gRGFkZHkgR3JvdXAsIElu"
  361. "Yy4xMTAvBgNVBAsTKEdvIERhZGR5IENsYXNzIDIgQ2VydGlmaWNhdGlvbiBBdXRo"
  362. "b3JpdHk=",
  363. "AA==",
  364. },
  365. {
  366. // CN=Go Daddy Root Certificate Authority - G2,O="GoDaddy.com, Inc.",L=Scottsdale,ST=Arizona,C=US
  367. "2.16.840.1.114413.1.7.23.3",
  368. "Go Daddy EV OID a",
  369. SEC_OID_UNKNOWN,
  370. { 0x45, 0x14, 0x0B, 0x32, 0x47, 0xEB, 0x9C, 0xC8, 0xC5, 0xB4, 0xF0,
  371. 0xD7, 0xB5, 0x30, 0x91, 0xF7, 0x32, 0x92, 0x08, 0x9E, 0x6E, 0x5A,
  372. 0x63, 0xE2, 0x74, 0x9D, 0xD3, 0xAC, 0xA9, 0x19, 0x8E, 0xDA },
  373. "MIGDMQswCQYDVQQGEwJVUzEQMA4GA1UECBMHQXJpem9uYTETMBEGA1UEBxMKU2Nv"
  374. "dHRzZGFsZTEaMBgGA1UEChMRR29EYWRkeS5jb20sIEluYy4xMTAvBgNVBAMTKEdv"
  375. "IERhZGR5IFJvb3QgQ2VydGlmaWNhdGUgQXV0aG9yaXR5IC0gRzI=",
  376. "AA==",
  377. },
  378. {
  379. // OU=Starfield Class 2 Certification Authority,O=\"Starfield Technologies, Inc.\",C=US
  380. "2.16.840.1.114414.1.7.23.3",
  381. "Go Daddy EV OID b",
  382. SEC_OID_UNKNOWN,
  383. { 0x14, 0x65, 0xFA, 0x20, 0x53, 0x97, 0xB8, 0x76, 0xFA, 0xA6, 0xF0,
  384. 0xA9, 0x95, 0x8E, 0x55, 0x90, 0xE4, 0x0F, 0xCC, 0x7F, 0xAA, 0x4F,
  385. 0xB7, 0xC2, 0xC8, 0x67, 0x75, 0x21, 0xFB, 0x5F, 0xB6, 0x58 },
  386. "MGgxCzAJBgNVBAYTAlVTMSUwIwYDVQQKExxTdGFyZmllbGQgVGVjaG5vbG9naWVz"
  387. "LCBJbmMuMTIwMAYDVQQLEylTdGFyZmllbGQgQ2xhc3MgMiBDZXJ0aWZpY2F0aW9u"
  388. "IEF1dGhvcml0eQ==",
  389. "AA==",
  390. },
  391. {
  392. // CN=Starfield Root Certificate Authority - G2,O="Starfield Technologies, Inc.",L=Scottsdale,ST=Arizona,C=US
  393. "2.16.840.1.114414.1.7.23.3",
  394. "Go Daddy EV OID b",
  395. SEC_OID_UNKNOWN,
  396. { 0x2C, 0xE1, 0xCB, 0x0B, 0xF9, 0xD2, 0xF9, 0xE1, 0x02, 0x99, 0x3F,
  397. 0xBE, 0x21, 0x51, 0x52, 0xC3, 0xB2, 0xDD, 0x0C, 0xAB, 0xDE, 0x1C,
  398. 0x68, 0xE5, 0x31, 0x9B, 0x83, 0x91, 0x54, 0xDB, 0xB7, 0xF5 },
  399. "MIGPMQswCQYDVQQGEwJVUzEQMA4GA1UECBMHQXJpem9uYTETMBEGA1UEBxMKU2Nv"
  400. "dHRzZGFsZTElMCMGA1UEChMcU3RhcmZpZWxkIFRlY2hub2xvZ2llcywgSW5jLjEy"
  401. "MDAGA1UEAxMpU3RhcmZpZWxkIFJvb3QgQ2VydGlmaWNhdGUgQXV0aG9yaXR5IC0g"
  402. "RzI=",
  403. "AA==",
  404. },
  405. {
  406. // CN=DigiCert High Assurance EV Root CA,OU=www.digicert.com,O=DigiCert Inc,C=US
  407. "2.16.840.1.114412.2.1",
  408. "DigiCert EV OID",
  409. SEC_OID_UNKNOWN,
  410. { 0x74, 0x31, 0xE5, 0xF4, 0xC3, 0xC1, 0xCE, 0x46, 0x90, 0x77, 0x4F,
  411. 0x0B, 0x61, 0xE0, 0x54, 0x40, 0x88, 0x3B, 0xA9, 0xA0, 0x1E, 0xD0,
  412. 0x0B, 0xA6, 0xAB, 0xD7, 0x80, 0x6E, 0xD3, 0xB1, 0x18, 0xCF },
  413. "MGwxCzAJBgNVBAYTAlVTMRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsT"
  414. "EHd3dy5kaWdpY2VydC5jb20xKzApBgNVBAMTIkRpZ2lDZXJ0IEhpZ2ggQXNzdXJh"
  415. "bmNlIEVWIFJvb3QgQ0E=",
  416. "AqxcJmoLQJuPC3nyrkYldw==",
  417. },
  418. {
  419. // CN=QuoVadis Root CA 2,O=QuoVadis Limited,C=BM
  420. "1.3.6.1.4.1.8024.0.2.100.1.2",
  421. "Quo Vadis EV OID",
  422. SEC_OID_UNKNOWN,
  423. { 0x85, 0xA0, 0xDD, 0x7D, 0xD7, 0x20, 0xAD, 0xB7, 0xFF, 0x05, 0xF8,
  424. 0x3D, 0x54, 0x2B, 0x20, 0x9D, 0xC7, 0xFF, 0x45, 0x28, 0xF7, 0xD6,
  425. 0x77, 0xB1, 0x83, 0x89, 0xFE, 0xA5, 0xE5, 0xC4, 0x9E, 0x86 },
  426. "MEUxCzAJBgNVBAYTAkJNMRkwFwYDVQQKExBRdW9WYWRpcyBMaW1pdGVkMRswGQYD"
  427. "VQQDExJRdW9WYWRpcyBSb290IENBIDI=",
  428. "BQk=",
  429. },
  430. {
  431. // CN=Network Solutions Certificate Authority,O=Network Solutions L.L.C.,C=US
  432. "1.3.6.1.4.1.782.1.2.1.8.1",
  433. "Network Solutions EV OID",
  434. SEC_OID_UNKNOWN,
  435. { 0x15, 0xF0, 0xBA, 0x00, 0xA3, 0xAC, 0x7A, 0xF3, 0xAC, 0x88, 0x4C,
  436. 0x07, 0x2B, 0x10, 0x11, 0xA0, 0x77, 0xBD, 0x77, 0xC0, 0x97, 0xF4,
  437. 0x01, 0x64, 0xB2, 0xF8, 0x59, 0x8A, 0xBD, 0x83, 0x86, 0x0C },
  438. "MGIxCzAJBgNVBAYTAlVTMSEwHwYDVQQKExhOZXR3b3JrIFNvbHV0aW9ucyBMLkwu"
  439. "Qy4xMDAuBgNVBAMTJ05ldHdvcmsgU29sdXRpb25zIENlcnRpZmljYXRlIEF1dGhv"
  440. "cml0eQ==",
  441. "V8szb8JcFuZHFhfjkDFo4A==",
  442. },
  443. {
  444. // CN=Entrust Root Certification Authority,OU="(c) 2006 Entrust, Inc.",OU=www.entrust.net/CPS is incorporated by reference,O="Entrust, Inc.",C=US
  445. "2.16.840.1.114028.10.1.2",
  446. "Entrust EV OID",
  447. SEC_OID_UNKNOWN,
  448. { 0x73, 0xC1, 0x76, 0x43, 0x4F, 0x1B, 0xC6, 0xD5, 0xAD, 0xF4, 0x5B,
  449. 0x0E, 0x76, 0xE7, 0x27, 0x28, 0x7C, 0x8D, 0xE5, 0x76, 0x16, 0xC1,
  450. 0xE6, 0xE6, 0x14, 0x1A, 0x2B, 0x2C, 0xBC, 0x7D, 0x8E, 0x4C },
  451. "MIGwMQswCQYDVQQGEwJVUzEWMBQGA1UEChMNRW50cnVzdCwgSW5jLjE5MDcGA1UE"
  452. "CxMwd3d3LmVudHJ1c3QubmV0L0NQUyBpcyBpbmNvcnBvcmF0ZWQgYnkgcmVmZXJl"
  453. "bmNlMR8wHQYDVQQLExYoYykgMjAwNiBFbnRydXN0LCBJbmMuMS0wKwYDVQQDEyRF"
  454. "bnRydXN0IFJvb3QgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHk=",
  455. "RWtQVA==",
  456. },
  457. {
  458. // CN=GlobalSign Root CA,OU=Root CA,O=GlobalSign nv-sa,C=BE
  459. "1.3.6.1.4.1.4146.1.1",
  460. "GlobalSign EV OID",
  461. SEC_OID_UNKNOWN,
  462. { 0xEB, 0xD4, 0x10, 0x40, 0xE4, 0xBB, 0x3E, 0xC7, 0x42, 0xC9, 0xE3,
  463. 0x81, 0xD3, 0x1E, 0xF2, 0xA4, 0x1A, 0x48, 0xB6, 0x68, 0x5C, 0x96,
  464. 0xE7, 0xCE, 0xF3, 0xC1, 0xDF, 0x6C, 0xD4, 0x33, 0x1C, 0x99 },
  465. "MFcxCzAJBgNVBAYTAkJFMRkwFwYDVQQKExBHbG9iYWxTaWduIG52LXNhMRAwDgYD"
  466. "VQQLEwdSb290IENBMRswGQYDVQQDExJHbG9iYWxTaWduIFJvb3QgQ0E=",
  467. "BAAAAAABFUtaw5Q=",
  468. },
  469. {
  470. // CN=GlobalSign,O=GlobalSign,OU=GlobalSign Root CA - R2
  471. "1.3.6.1.4.1.4146.1.1",
  472. "GlobalSign EV OID",
  473. SEC_OID_UNKNOWN,
  474. { 0xCA, 0x42, 0xDD, 0x41, 0x74, 0x5F, 0xD0, 0xB8, 0x1E, 0xB9, 0x02,
  475. 0x36, 0x2C, 0xF9, 0xD8, 0xBF, 0x71, 0x9D, 0xA1, 0xBD, 0x1B, 0x1E,
  476. 0xFC, 0x94, 0x6F, 0x5B, 0x4C, 0x99, 0xF4, 0x2C, 0x1B, 0x9E },
  477. "MEwxIDAeBgNVBAsTF0dsb2JhbFNpZ24gUm9vdCBDQSAtIFIyMRMwEQYDVQQKEwpH"
  478. "bG9iYWxTaWduMRMwEQYDVQQDEwpHbG9iYWxTaWdu",
  479. "BAAAAAABD4Ym5g0=",
  480. },
  481. {
  482. // CN=GlobalSign,O=GlobalSign,OU=GlobalSign Root CA - R3
  483. "1.3.6.1.4.1.4146.1.1",
  484. "GlobalSign EV OID",
  485. SEC_OID_UNKNOWN,
  486. { 0xCB, 0xB5, 0x22, 0xD7, 0xB7, 0xF1, 0x27, 0xAD, 0x6A, 0x01, 0x13,
  487. 0x86, 0x5B, 0xDF, 0x1C, 0xD4, 0x10, 0x2E, 0x7D, 0x07, 0x59, 0xAF,
  488. 0x63, 0x5A, 0x7C, 0xF4, 0x72, 0x0D, 0xC9, 0x63, 0xC5, 0x3B },
  489. "MEwxIDAeBgNVBAsTF0dsb2JhbFNpZ24gUm9vdCBDQSAtIFIzMRMwEQYDVQQKEwpH"
  490. "bG9iYWxTaWduMRMwEQYDVQQDEwpHbG9iYWxTaWdu",
  491. "BAAAAAABIVhTCKI=",
  492. },
  493. {
  494. // CN=Buypass Class 3 Root CA,O=Buypass AS-983163327,C=NO
  495. "2.16.578.1.26.1.3.3",
  496. "Buypass EV OID",
  497. SEC_OID_UNKNOWN,
  498. { 0xED, 0xF7, 0xEB, 0xBC, 0xA2, 0x7A, 0x2A, 0x38, 0x4D, 0x38, 0x7B,
  499. 0x7D, 0x40, 0x10, 0xC6, 0x66, 0xE2, 0xED, 0xB4, 0x84, 0x3E, 0x4C,
  500. 0x29, 0xB4, 0xAE, 0x1D, 0x5B, 0x93, 0x32, 0xE6, 0xB2, 0x4D },
  501. "ME4xCzAJBgNVBAYTAk5PMR0wGwYDVQQKDBRCdXlwYXNzIEFTLTk4MzE2MzMyNzEg"
  502. "MB4GA1UEAwwXQnV5cGFzcyBDbGFzcyAzIFJvb3QgQ0E=",
  503. "Ag==",
  504. },
  505. {
  506. // CN=Class 2 Primary CA,O=Certplus,C=FR
  507. "1.3.6.1.4.1.22234.2.5.2.3.1",
  508. "Certplus EV OID",
  509. SEC_OID_UNKNOWN,
  510. { 0x0F, 0x99, 0x3C, 0x8A, 0xEF, 0x97, 0xBA, 0xAF, 0x56, 0x87, 0x14,
  511. 0x0E, 0xD5, 0x9A, 0xD1, 0x82, 0x1B, 0xB4, 0xAF, 0xAC, 0xF0, 0xAA,
  512. 0x9A, 0x58, 0xB5, 0xD5, 0x7A, 0x33, 0x8A, 0x3A, 0xFB, 0xCB },
  513. "MD0xCzAJBgNVBAYTAkZSMREwDwYDVQQKEwhDZXJ0cGx1czEbMBkGA1UEAxMSQ2xh"
  514. "c3MgMiBQcmltYXJ5IENB",
  515. "AIW9S/PY2uNp9pTXX8OlRCM=",
  516. },
  517. {
  518. // CN=Chambers of Commerce Root - 2008,O=AC Camerfirma S.A.,serialNumber=A82743287,L=Madrid (see current address at www.camerfirma.com/address),C=EU
  519. "1.3.6.1.4.1.17326.10.14.2.1.2",
  520. "Camerfirma EV OID a",
  521. SEC_OID_UNKNOWN,
  522. { 0x06, 0x3E, 0x4A, 0xFA, 0xC4, 0x91, 0xDF, 0xD3, 0x32, 0xF3, 0x08,
  523. 0x9B, 0x85, 0x42, 0xE9, 0x46, 0x17, 0xD8, 0x93, 0xD7, 0xFE, 0x94,
  524. 0x4E, 0x10, 0xA7, 0x93, 0x7E, 0xE2, 0x9D, 0x96, 0x93, 0xC0 },
  525. "MIGuMQswCQYDVQQGEwJFVTFDMEEGA1UEBxM6TWFkcmlkIChzZWUgY3VycmVudCBh"
  526. "ZGRyZXNzIGF0IHd3dy5jYW1lcmZpcm1hLmNvbS9hZGRyZXNzKTESMBAGA1UEBRMJ"
  527. "QTgyNzQzMjg3MRswGQYDVQQKExJBQyBDYW1lcmZpcm1hIFMuQS4xKTAnBgNVBAMT"
  528. "IENoYW1iZXJzIG9mIENvbW1lcmNlIFJvb3QgLSAyMDA4",
  529. "AKPaQn6ksa7a",
  530. },
  531. {
  532. // CN=Global Chambersign Root - 2008,O=AC Camerfirma S.A.,serialNumber=A82743287,L=Madrid (see current address at www.camerfirma.com/address),C=EU
  533. "1.3.6.1.4.1.17326.10.8.12.1.2",
  534. "Camerfirma EV OID b",
  535. SEC_OID_UNKNOWN,
  536. { 0x13, 0x63, 0x35, 0x43, 0x93, 0x34, 0xA7, 0x69, 0x80, 0x16, 0xA0,
  537. 0xD3, 0x24, 0xDE, 0x72, 0x28, 0x4E, 0x07, 0x9D, 0x7B, 0x52, 0x20,
  538. 0xBB, 0x8F, 0xBD, 0x74, 0x78, 0x16, 0xEE, 0xBE, 0xBA, 0xCA },
  539. "MIGsMQswCQYDVQQGEwJFVTFDMEEGA1UEBxM6TWFkcmlkIChzZWUgY3VycmVudCBh"
  540. "ZGRyZXNzIGF0IHd3dy5jYW1lcmZpcm1hLmNvbS9hZGRyZXNzKTESMBAGA1UEBRMJ"
  541. "QTgyNzQzMjg3MRswGQYDVQQKExJBQyBDYW1lcmZpcm1hIFMuQS4xJzAlBgNVBAMT"
  542. "Hkdsb2JhbCBDaGFtYmVyc2lnbiBSb290IC0gMjAwOA==",
  543. "AMnN0+nVfSPO",
  544. },
  545. {
  546. // CN=AffirmTrust Commercial,O=AffirmTrust,C=US
  547. "1.3.6.1.4.1.34697.2.1",
  548. "AffirmTrust EV OID a",
  549. SEC_OID_UNKNOWN,
  550. { 0x03, 0x76, 0xAB, 0x1D, 0x54, 0xC5, 0xF9, 0x80, 0x3C, 0xE4, 0xB2,
  551. 0xE2, 0x01, 0xA0, 0xEE, 0x7E, 0xEF, 0x7B, 0x57, 0xB6, 0x36, 0xE8,
  552. 0xA9, 0x3C, 0x9B, 0x8D, 0x48, 0x60, 0xC9, 0x6F, 0x5F, 0xA7 },
  553. "MEQxCzAJBgNVBAYTAlVTMRQwEgYDVQQKDAtBZmZpcm1UcnVzdDEfMB0GA1UEAwwW"
  554. "QWZmaXJtVHJ1c3QgQ29tbWVyY2lhbA==",
  555. "d3cGJyapsXw=",
  556. },
  557. {
  558. // CN=AffirmTrust Networking,O=AffirmTrust,C=US
  559. "1.3.6.1.4.1.34697.2.2",
  560. "AffirmTrust EV OID b",
  561. SEC_OID_UNKNOWN,
  562. { 0x0A, 0x81, 0xEC, 0x5A, 0x92, 0x97, 0x77, 0xF1, 0x45, 0x90, 0x4A,
  563. 0xF3, 0x8D, 0x5D, 0x50, 0x9F, 0x66, 0xB5, 0xE2, 0xC5, 0x8F, 0xCD,
  564. 0xB5, 0x31, 0x05, 0x8B, 0x0E, 0x17, 0xF3, 0xF0, 0xB4, 0x1B },
  565. "MEQxCzAJBgNVBAYTAlVTMRQwEgYDVQQKDAtBZmZpcm1UcnVzdDEfMB0GA1UEAwwW"
  566. "QWZmaXJtVHJ1c3QgTmV0d29ya2luZw==",
  567. "fE8EORzUmS0=",
  568. },
  569. {
  570. // CN=AffirmTrust Premium,O=AffirmTrust,C=US
  571. "1.3.6.1.4.1.34697.2.3",
  572. "AffirmTrust EV OID c",
  573. SEC_OID_UNKNOWN,
  574. { 0x70, 0xA7, 0x3F, 0x7F, 0x37, 0x6B, 0x60, 0x07, 0x42, 0x48, 0x90,
  575. 0x45, 0x34, 0xB1, 0x14, 0x82, 0xD5, 0xBF, 0x0E, 0x69, 0x8E, 0xCC,
  576. 0x49, 0x8D, 0xF5, 0x25, 0x77, 0xEB, 0xF2, 0xE9, 0x3B, 0x9A },
  577. "MEExCzAJBgNVBAYTAlVTMRQwEgYDVQQKDAtBZmZpcm1UcnVzdDEcMBoGA1UEAwwT"
  578. "QWZmaXJtVHJ1c3QgUHJlbWl1bQ==",
  579. "bYwURrGmCu4=",
  580. },
  581. {
  582. // CN=AffirmTrust Premium ECC,O=AffirmTrust,C=US
  583. "1.3.6.1.4.1.34697.2.4",
  584. "AffirmTrust EV OID d",
  585. SEC_OID_UNKNOWN,
  586. { 0xBD, 0x71, 0xFD, 0xF6, 0xDA, 0x97, 0xE4, 0xCF, 0x62, 0xD1, 0x64,
  587. 0x7A, 0xDD, 0x25, 0x81, 0xB0, 0x7D, 0x79, 0xAD, 0xF8, 0x39, 0x7E,
  588. 0xB4, 0xEC, 0xBA, 0x9C, 0x5E, 0x84, 0x88, 0x82, 0x14, 0x23 },
  589. "MEUxCzAJBgNVBAYTAlVTMRQwEgYDVQQKDAtBZmZpcm1UcnVzdDEgMB4GA1UEAwwX"
  590. "QWZmaXJtVHJ1c3QgUHJlbWl1bSBFQ0M=",
  591. "dJclisc/elQ=",
  592. },
  593. {
  594. // CN=Certum Trusted Network CA,OU=Certum Certification Authority,O=Unizeto Technologies S.A.,C=PL
  595. "1.2.616.1.113527.2.5.1.1",
  596. "Certum EV OID",
  597. SEC_OID_UNKNOWN,
  598. { 0x5C, 0x58, 0x46, 0x8D, 0x55, 0xF5, 0x8E, 0x49, 0x7E, 0x74, 0x39,
  599. 0x82, 0xD2, 0xB5, 0x00, 0x10, 0xB6, 0xD1, 0x65, 0x37, 0x4A, 0xCF,
  600. 0x83, 0xA7, 0xD4, 0xA3, 0x2D, 0xB7, 0x68, 0xC4, 0x40, 0x8E },
  601. "MH4xCzAJBgNVBAYTAlBMMSIwIAYDVQQKExlVbml6ZXRvIFRlY2hub2xvZ2llcyBT"
  602. "LkEuMScwJQYDVQQLEx5DZXJ0dW0gQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkxIjAg"
  603. "BgNVBAMTGUNlcnR1bSBUcnVzdGVkIE5ldHdvcmsgQ0E=",
  604. "BETA",
  605. },
  606. {
  607. // CN=Certum Trusted Network CA 2,OU=Certum Certification Authority,O=Unizeto Technologies S.A.,C=PL
  608. "1.2.616.1.113527.2.5.1.1",
  609. "Certum EV OID",
  610. SEC_OID_UNKNOWN,
  611. { 0xB6, 0x76, 0xF2, 0xED, 0xDA, 0xE8, 0x77, 0x5C, 0xD3, 0x6C, 0xB0,
  612. 0xF6, 0x3C, 0xD1, 0xD4, 0x60, 0x39, 0x61, 0xF4, 0x9E, 0x62, 0x65,
  613. 0xBA, 0x01, 0x3A, 0x2F, 0x03, 0x07, 0xB6, 0xD0, 0xB8, 0x04 },
  614. "MIGAMQswCQYDVQQGEwJQTDEiMCAGA1UEChMZVW5pemV0byBUZWNobm9sb2dpZXMg"
  615. "Uy5BLjEnMCUGA1UECxMeQ2VydHVtIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MSQw"
  616. "IgYDVQQDExtDZXJ0dW0gVHJ1c3RlZCBOZXR3b3JrIENBIDI=",
  617. "IdbQSk8lD8kyN/yqXhKN6Q==",
  618. },
  619. {
  620. // CN=Izenpe.com,O=IZENPE S.A.,C=ES
  621. "1.3.6.1.4.1.14777.6.1.1",
  622. "Izenpe EV OID 1",
  623. SEC_OID_UNKNOWN,
  624. { 0x25, 0x30, 0xCC, 0x8E, 0x98, 0x32, 0x15, 0x02, 0xBA, 0xD9, 0x6F,
  625. 0x9B, 0x1F, 0xBA, 0x1B, 0x09, 0x9E, 0x2D, 0x29, 0x9E, 0x0F, 0x45,
  626. 0x48, 0xBB, 0x91, 0x4F, 0x36, 0x3B, 0xC0, 0xD4, 0x53, 0x1F },
  627. "MDgxCzAJBgNVBAYTAkVTMRQwEgYDVQQKDAtJWkVOUEUgUy5BLjETMBEGA1UEAwwK"
  628. "SXplbnBlLmNvbQ==",
  629. "ALC3WhZIX7/hy/WL1xnmfQ==",
  630. },
  631. {
  632. // CN=Izenpe.com,O=IZENPE S.A.,C=ES
  633. "1.3.6.1.4.1.14777.6.1.2",
  634. "Izenpe EV OID 2",
  635. SEC_OID_UNKNOWN,
  636. { 0x25, 0x30, 0xCC, 0x8E, 0x98, 0x32, 0x15, 0x02, 0xBA, 0xD9, 0x6F,
  637. 0x9B, 0x1F, 0xBA, 0x1B, 0x09, 0x9E, 0x2D, 0x29, 0x9E, 0x0F, 0x45,
  638. 0x48, 0xBB, 0x91, 0x4F, 0x36, 0x3B, 0xC0, 0xD4, 0x53, 0x1F },
  639. "MDgxCzAJBgNVBAYTAkVTMRQwEgYDVQQKDAtJWkVOUEUgUy5BLjETMBEGA1UEAwwK"
  640. "SXplbnBlLmNvbQ==",
  641. "ALC3WhZIX7/hy/WL1xnmfQ==",
  642. },
  643. {
  644. // CN=T-TeleSec GlobalRoot Class 3,OU=T-Systems Trust Center,O=T-Systems Enterprise Services GmbH,C=DE
  645. "1.3.6.1.4.1.7879.13.24.1",
  646. "T-Systems EV OID",
  647. SEC_OID_UNKNOWN,
  648. { 0xFD, 0x73, 0xDA, 0xD3, 0x1C, 0x64, 0x4F, 0xF1, 0xB4, 0x3B, 0xEF,
  649. 0x0C, 0xCD, 0xDA, 0x96, 0x71, 0x0B, 0x9C, 0xD9, 0x87, 0x5E, 0xCA,
  650. 0x7E, 0x31, 0x70, 0x7A, 0xF3, 0xE9, 0x6D, 0x52, 0x2B, 0xBD },
  651. "MIGCMQswCQYDVQQGEwJERTErMCkGA1UECgwiVC1TeXN0ZW1zIEVudGVycHJpc2Ug"
  652. "U2VydmljZXMgR21iSDEfMB0GA1UECwwWVC1TeXN0ZW1zIFRydXN0IENlbnRlcjEl"
  653. "MCMGA1UEAwwcVC1UZWxlU2VjIEdsb2JhbFJvb3QgQ2xhc3MgMw==",
  654. "AQ==",
  655. },
  656. {
  657. // CN=China Internet Network Information Center EV Certificates Root,O=China Internet Network Information Center,C=CN
  658. "1.3.6.1.4.1.29836.1.10",
  659. "CNNIC EV OID",
  660. SEC_OID_UNKNOWN,
  661. { 0x1C, 0x01, 0xC6, 0xF4, 0xDB, 0xB2, 0xFE, 0xFC, 0x22, 0x55, 0x8B,
  662. 0x2B, 0xCA, 0x32, 0x56, 0x3F, 0x49, 0x84, 0x4A, 0xCF, 0xC3, 0x2B,
  663. 0x7B, 0xE4, 0xB0, 0xFF, 0x59, 0x9F, 0x9E, 0x8C, 0x7A, 0xF7 },
  664. "MIGKMQswCQYDVQQGEwJDTjEyMDAGA1UECgwpQ2hpbmEgSW50ZXJuZXQgTmV0d29y"
  665. "ayBJbmZvcm1hdGlvbiBDZW50ZXIxRzBFBgNVBAMMPkNoaW5hIEludGVybmV0IE5l"
  666. "dHdvcmsgSW5mb3JtYXRpb24gQ2VudGVyIEVWIENlcnRpZmljYXRlcyBSb290",
  667. "SJ8AAQ==",
  668. },
  669. {
  670. // CN=TWCA Root Certification Authority,OU=Root CA,O=TAIWAN-CA,C=TW
  671. "1.3.6.1.4.1.40869.1.1.22.3",
  672. "TWCA EV OID",
  673. SEC_OID_UNKNOWN,
  674. { 0xBF, 0xD8, 0x8F, 0xE1, 0x10, 0x1C, 0x41, 0xAE, 0x3E, 0x80, 0x1B,
  675. 0xF8, 0xBE, 0x56, 0x35, 0x0E, 0xE9, 0xBA, 0xD1, 0xA6, 0xB9, 0xBD,
  676. 0x51, 0x5E, 0xDC, 0x5C, 0x6D, 0x5B, 0x87, 0x11, 0xAC, 0x44 },
  677. "MF8xCzAJBgNVBAYTAlRXMRIwEAYDVQQKDAlUQUlXQU4tQ0ExEDAOBgNVBAsMB1Jv"
  678. "b3QgQ0ExKjAoBgNVBAMMIVRXQ0EgUm9vdCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0"
  679. "eQ==",
  680. "AQ==",
  681. },
  682. {
  683. // CN=D-TRUST Root Class 3 CA 2 EV 2009,O=D-Trust GmbH,C=DE
  684. "1.3.6.1.4.1.4788.2.202.1",
  685. "D-TRUST EV OID",
  686. SEC_OID_UNKNOWN,
  687. { 0xEE, 0xC5, 0x49, 0x6B, 0x98, 0x8C, 0xE9, 0x86, 0x25, 0xB9, 0x34,
  688. 0x09, 0x2E, 0xEC, 0x29, 0x08, 0xBE, 0xD0, 0xB0, 0xF3, 0x16, 0xC2,
  689. 0xD4, 0x73, 0x0C, 0x84, 0xEA, 0xF1, 0xF3, 0xD3, 0x48, 0x81 },
  690. "MFAxCzAJBgNVBAYTAkRFMRUwEwYDVQQKDAxELVRydXN0IEdtYkgxKjAoBgNVBAMM"
  691. "IUQtVFJVU1QgUm9vdCBDbGFzcyAzIENBIDIgRVYgMjAwOQ==",
  692. "CYP0",
  693. },
  694. {
  695. // CN=Swisscom Root EV CA 2,OU=Digital Certificate Services,O=Swisscom,C=ch
  696. "2.16.756.1.83.21.0",
  697. "Swisscom EV OID",
  698. SEC_OID_UNKNOWN,
  699. { 0xD9, 0x5F, 0xEA, 0x3C, 0xA4, 0xEE, 0xDC, 0xE7, 0x4C, 0xD7, 0x6E,
  700. 0x75, 0xFC, 0x6D, 0x1F, 0xF6, 0x2C, 0x44, 0x1F, 0x0F, 0xA8, 0xBC,
  701. 0x77, 0xF0, 0x34, 0xB1, 0x9E, 0x5D, 0xB2, 0x58, 0x01, 0x5D },
  702. "MGcxCzAJBgNVBAYTAmNoMREwDwYDVQQKEwhTd2lzc2NvbTElMCMGA1UECxMcRGln"
  703. "aXRhbCBDZXJ0aWZpY2F0ZSBTZXJ2aWNlczEeMBwGA1UEAxMVU3dpc3Njb20gUm9v"
  704. "dCBFViBDQSAy",
  705. "APL6ZOJ0Y9ON/RAdBB92ylg=",
  706. },
  707. {
  708. // CN=VeriSign Universal Root Certification Authority,OU="(c) 2008 VeriSign, Inc. - For authorized use only",OU=VeriSign Trust Network,O="VeriSign, Inc.",C=US
  709. "2.16.840.1.113733.1.7.23.6",
  710. "VeriSign EV OID",
  711. SEC_OID_UNKNOWN,
  712. { 0x23, 0x99, 0x56, 0x11, 0x27, 0xA5, 0x71, 0x25, 0xDE, 0x8C, 0xEF,
  713. 0xEA, 0x61, 0x0D, 0xDF, 0x2F, 0xA0, 0x78, 0xB5, 0xC8, 0x06, 0x7F,
  714. 0x4E, 0x82, 0x82, 0x90, 0xBF, 0xB8, 0x60, 0xE8, 0x4B, 0x3C },
  715. "MIG9MQswCQYDVQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNV"
  716. "BAsTFlZlcmlTaWduIFRydXN0IE5ldHdvcmsxOjA4BgNVBAsTMShjKSAyMDA4IFZl"
  717. "cmlTaWduLCBJbmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNlIG9ubHkxODA2BgNVBAMT"
  718. "L1ZlcmlTaWduIFVuaXZlcnNhbCBSb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5",
  719. "QBrEZCGzEyEDDrvkEhrFHQ==",
  720. },
  721. {
  722. // CN=GeoTrust Primary Certification Authority - G3,OU=(c) 2008 GeoTrust Inc. - For authorized use only,O=GeoTrust Inc.,C=US
  723. "1.3.6.1.4.1.14370.1.6",
  724. "GeoTrust EV OID",
  725. SEC_OID_UNKNOWN,
  726. { 0xB4, 0x78, 0xB8, 0x12, 0x25, 0x0D, 0xF8, 0x78, 0x63, 0x5C, 0x2A,
  727. 0xA7, 0xEC, 0x7D, 0x15, 0x5E, 0xAA, 0x62, 0x5E, 0xE8, 0x29, 0x16,
  728. 0xE2, 0xCD, 0x29, 0x43, 0x61, 0x88, 0x6C, 0xD1, 0xFB, 0xD4 },
  729. "MIGYMQswCQYDVQQGEwJVUzEWMBQGA1UEChMNR2VvVHJ1c3QgSW5jLjE5MDcGA1UE"
  730. "CxMwKGMpIDIwMDggR2VvVHJ1c3QgSW5jLiAtIEZvciBhdXRob3JpemVkIHVzZSBv"
  731. "bmx5MTYwNAYDVQQDEy1HZW9UcnVzdCBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0"
  732. "aG9yaXR5IC0gRzM=",
  733. "FaxulBmyeUtB9iepwxgPHw==",
  734. },
  735. {
  736. // CN=thawte Primary Root CA - G3,OU="(c) 2008 thawte, Inc. - For authorized use only",OU=Certification Services Division,O="thawte, Inc.",C=US
  737. "2.16.840.1.113733.1.7.48.1",
  738. "Thawte EV OID",
  739. SEC_OID_UNKNOWN,
  740. { 0x4B, 0x03, 0xF4, 0x58, 0x07, 0xAD, 0x70, 0xF2, 0x1B, 0xFC, 0x2C,
  741. 0xAE, 0x71, 0xC9, 0xFD, 0xE4, 0x60, 0x4C, 0x06, 0x4C, 0xF5, 0xFF,
  742. 0xB6, 0x86, 0xBA, 0xE5, 0xDB, 0xAA, 0xD7, 0xFD, 0xD3, 0x4C },
  743. "MIGuMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMdGhhd3RlLCBJbmMuMSgwJgYDVQQL"
  744. "Ex9DZXJ0aWZpY2F0aW9uIFNlcnZpY2VzIERpdmlzaW9uMTgwNgYDVQQLEy8oYykg"
  745. "MjAwOCB0aGF3dGUsIEluYy4gLSBGb3IgYXV0aG9yaXplZCB1c2Ugb25seTEkMCIG"
  746. "A1UEAxMbdGhhd3RlIFByaW1hcnkgUm9vdCBDQSAtIEcz",
  747. "YAGXt0an6rS0mtZLL/eQ+w==",
  748. },
  749. {
  750. // CN = Autoridad de Certificacion Firmaprofesional CIF A62634068, C = ES
  751. "1.3.6.1.4.1.13177.10.1.3.10",
  752. "Firmaprofesional EV OID",
  753. SEC_OID_UNKNOWN,
  754. { 0x04, 0x04, 0x80, 0x28, 0xBF, 0x1F, 0x28, 0x64, 0xD4, 0x8F, 0x9A,
  755. 0xD4, 0xD8, 0x32, 0x94, 0x36, 0x6A, 0x82, 0x88, 0x56, 0x55, 0x3F,
  756. 0x3B, 0x14, 0x30, 0x3F, 0x90, 0x14, 0x7F, 0x5D, 0x40, 0xEF },
  757. "MFExCzAJBgNVBAYTAkVTMUIwQAYDVQQDDDlBdXRvcmlkYWQgZGUgQ2VydGlmaWNh"
  758. "Y2lvbiBGaXJtYXByb2Zlc2lvbmFsIENJRiBBNjI2MzQwNjg=",
  759. "U+w77vuySF8=",
  760. },
  761. {
  762. // CN = TWCA Global Root CA, OU = Root CA, O = TAIWAN-CA, C = TW
  763. "1.3.6.1.4.1.40869.1.1.22.3",
  764. "TWCA EV OID",
  765. SEC_OID_UNKNOWN,
  766. { 0x59, 0x76, 0x90, 0x07, 0xF7, 0x68, 0x5D, 0x0F, 0xCD, 0x50, 0x87,
  767. 0x2F, 0x9F, 0x95, 0xD5, 0x75, 0x5A, 0x5B, 0x2B, 0x45, 0x7D, 0x81,
  768. 0xF3, 0x69, 0x2B, 0x61, 0x0A, 0x98, 0x67, 0x2F, 0x0E, 0x1B },
  769. "MFExCzAJBgNVBAYTAlRXMRIwEAYDVQQKEwlUQUlXQU4tQ0ExEDAOBgNVBAsTB1Jv"
  770. "b3QgQ0ExHDAaBgNVBAMTE1RXQ0EgR2xvYmFsIFJvb3QgQ0E=",
  771. "DL4=",
  772. },
  773. {
  774. // CN = E-Tugra Certification Authority, OU = E-Tugra Sertifikasyon Merkezi, O = E-Tuğra EBG Bilişim Teknolojileri ve Hizmetleri A.Ş., L = Ankara, C = TR
  775. "2.16.792.3.0.4.1.1.4",
  776. "ETugra EV OID",
  777. SEC_OID_UNKNOWN,
  778. { 0xB0, 0xBF, 0xD5, 0x2B, 0xB0, 0xD7, 0xD9, 0xBD, 0x92, 0xBF, 0x5D,
  779. 0x4D, 0xC1, 0x3D, 0xA2, 0x55, 0xC0, 0x2C, 0x54, 0x2F, 0x37, 0x83,
  780. 0x65, 0xEA, 0x89, 0x39, 0x11, 0xF5, 0x5E, 0x55, 0xF2, 0x3C },
  781. "MIGyMQswCQYDVQQGEwJUUjEPMA0GA1UEBwwGQW5rYXJhMUAwPgYDVQQKDDdFLVR1"
  782. "xJ9yYSBFQkcgQmlsacWfaW0gVGVrbm9sb2ppbGVyaSB2ZSBIaXptZXRsZXJpIEEu"
  783. "xZ4uMSYwJAYDVQQLDB1FLVR1Z3JhIFNlcnRpZmlrYXN5b24gTWVya2V6aTEoMCYG"
  784. "A1UEAwwfRS1UdWdyYSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eQ==",
  785. "amg+nFGby1M=",
  786. },
  787. {
  788. // CN=Actalis Authentication Root CA,O=Actalis S.p.A./03358520967,L=Milan,C=IT
  789. "1.3.159.1.17.1",
  790. "Actalis EV OID",
  791. SEC_OID_UNKNOWN,
  792. { 0x55, 0x92, 0x60, 0x84, 0xEC, 0x96, 0x3A, 0x64, 0xB9, 0x6E, 0x2A,
  793. 0xBE, 0x01, 0xCE, 0x0B, 0xA8, 0x6A, 0x64, 0xFB, 0xFE, 0xBC, 0xC7,
  794. 0xAA, 0xB5, 0xAF, 0xC1, 0x55, 0xB3, 0x7F, 0xD7, 0x60, 0x66 },
  795. "MGsxCzAJBgNVBAYTAklUMQ4wDAYDVQQHDAVNaWxhbjEjMCEGA1UECgwaQWN0YWxp"
  796. "cyBTLnAuQS4vMDMzNTg1MjA5NjcxJzAlBgNVBAMMHkFjdGFsaXMgQXV0aGVudGlj"
  797. "YXRpb24gUm9vdCBDQQ==",
  798. "VwoRl0LE48w=",
  799. },
  800. {
  801. // CN=Certification Authority of WoSign,O=WoSign CA Limited,C=CN
  802. "1.3.6.1.4.1.36305.2",
  803. "WoSign EV OID",
  804. SEC_OID_UNKNOWN,
  805. { 0x4B, 0x22, 0xD5, 0xA6, 0xAE, 0xC9, 0x9F, 0x3C, 0xDB, 0x79, 0xAA,
  806. 0x5E, 0xC0, 0x68, 0x38, 0x47, 0x9C, 0xD5, 0xEC, 0xBA, 0x71, 0x64,
  807. 0xF7, 0xF2, 0x2D, 0xC1, 0xD6, 0x5F, 0x63, 0xD8, 0x57, 0x08 },
  808. "MFUxCzAJBgNVBAYTAkNOMRowGAYDVQQKExFXb1NpZ24gQ0EgTGltaXRlZDEqMCgG"
  809. "A1UEAxMhQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkgb2YgV29TaWdu",
  810. "XmjWEXGUY1BWAGjzPsnFkQ==",
  811. },
  812. {
  813. // CN=CA ...............,O=WoSign CA Limited,C=CN
  814. "1.3.6.1.4.1.36305.2",
  815. "WoSign EV OID",
  816. SEC_OID_UNKNOWN,
  817. { 0xD6, 0xF0, 0x34, 0xBD, 0x94, 0xAA, 0x23, 0x3F, 0x02, 0x97, 0xEC,
  818. 0xA4, 0x24, 0x5B, 0x28, 0x39, 0x73, 0xE4, 0x47, 0xAA, 0x59, 0x0F,
  819. 0x31, 0x0C, 0x77, 0xF4, 0x8F, 0xDF, 0x83, 0x11, 0x22, 0x54 },
  820. "MEYxCzAJBgNVBAYTAkNOMRowGAYDVQQKExFXb1NpZ24gQ0EgTGltaXRlZDEbMBkG"
  821. "A1UEAwwSQ0Eg5rKD6YCa5qC56K+B5Lmm",
  822. "UHBrzdgT/BtOOzNy0hFIjQ==",
  823. },
  824. {
  825. // CN=DigiCert Assured ID Root G2,OU=www.digicert.com,O=DigiCert Inc,C=US
  826. "2.16.840.1.114412.2.1",
  827. "DigiCert EV OID",
  828. SEC_OID_UNKNOWN,
  829. { 0x7D, 0x05, 0xEB, 0xB6, 0x82, 0x33, 0x9F, 0x8C, 0x94, 0x51, 0xEE,
  830. 0x09, 0x4E, 0xEB, 0xFE, 0xFA, 0x79, 0x53, 0xA1, 0x14, 0xED, 0xB2,
  831. 0xF4, 0x49, 0x49, 0x45, 0x2F, 0xAB, 0x7D, 0x2F, 0xC1, 0x85 },
  832. "MGUxCzAJBgNVBAYTAlVTMRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsT"
  833. "EHd3dy5kaWdpY2VydC5jb20xJDAiBgNVBAMTG0RpZ2lDZXJ0IEFzc3VyZWQgSUQg"
  834. "Um9vdCBHMg==",
  835. "C5McOtY5Z+pnI7/Dr5r0Sw==",
  836. },
  837. {
  838. // CN=DigiCert Assured ID Root G3,OU=www.digicert.com,O=DigiCert Inc,C=US
  839. "2.16.840.1.114412.2.1",
  840. "DigiCert EV OID",
  841. SEC_OID_UNKNOWN,
  842. { 0x7E, 0x37, 0xCB, 0x8B, 0x4C, 0x47, 0x09, 0x0C, 0xAB, 0x36, 0x55,
  843. 0x1B, 0xA6, 0xF4, 0x5D, 0xB8, 0x40, 0x68, 0x0F, 0xBA, 0x16, 0x6A,
  844. 0x95, 0x2D, 0xB1, 0x00, 0x71, 0x7F, 0x43, 0x05, 0x3F, 0xC2 },
  845. "MGUxCzAJBgNVBAYTAlVTMRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsT"
  846. "EHd3dy5kaWdpY2VydC5jb20xJDAiBgNVBAMTG0RpZ2lDZXJ0IEFzc3VyZWQgSUQg"
  847. "Um9vdCBHMw==",
  848. "C6Fa+h3foLVJRK/NJKBs7A==",
  849. },
  850. {
  851. // CN=DigiCert Global Root G2,OU=www.digicert.com,O=DigiCert Inc,C=US
  852. "2.16.840.1.114412.2.1",
  853. "DigiCert EV OID",
  854. SEC_OID_UNKNOWN,
  855. { 0xCB, 0x3C, 0xCB, 0xB7, 0x60, 0x31, 0xE5, 0xE0, 0x13, 0x8F, 0x8D,
  856. 0xD3, 0x9A, 0x23, 0xF9, 0xDE, 0x47, 0xFF, 0xC3, 0x5E, 0x43, 0xC1,
  857. 0x14, 0x4C, 0xEA, 0x27, 0xD4, 0x6A, 0x5A, 0xB1, 0xCB, 0x5F },
  858. "MGExCzAJBgNVBAYTAlVTMRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsT"
  859. "EHd3dy5kaWdpY2VydC5jb20xIDAeBgNVBAMTF0RpZ2lDZXJ0IEdsb2JhbCBSb290"
  860. "IEcy",
  861. "Azrx5qcRqaC7KGSxHQn65Q==",
  862. },
  863. {
  864. // CN=DigiCert Global Root G3,OU=www.digicert.com,O=DigiCert Inc,C=US
  865. "2.16.840.1.114412.2.1",
  866. "DigiCert EV OID",
  867. SEC_OID_UNKNOWN,
  868. { 0x31, 0xAD, 0x66, 0x48, 0xF8, 0x10, 0x41, 0x38, 0xC7, 0x38, 0xF3,
  869. 0x9E, 0xA4, 0x32, 0x01, 0x33, 0x39, 0x3E, 0x3A, 0x18, 0xCC, 0x02,
  870. 0x29, 0x6E, 0xF9, 0x7C, 0x2A, 0xC9, 0xEF, 0x67, 0x31, 0xD0 },
  871. "MGExCzAJBgNVBAYTAlVTMRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsT"
  872. "EHd3dy5kaWdpY2VydC5jb20xIDAeBgNVBAMTF0RpZ2lDZXJ0IEdsb2JhbCBSb290"
  873. "IEcz",
  874. "BVVWvPJepDU1w6QP1atFcg==",
  875. },
  876. {
  877. // CN=DigiCert Trusted Root G4,OU=www.digicert.com,O=DigiCert Inc,C=US
  878. "2.16.840.1.114412.2.1",
  879. "DigiCert EV OID",
  880. SEC_OID_UNKNOWN,
  881. { 0x55, 0x2F, 0x7B, 0xDC, 0xF1, 0xA7, 0xAF, 0x9E, 0x6C, 0xE6, 0x72,
  882. 0x01, 0x7F, 0x4F, 0x12, 0xAB, 0xF7, 0x72, 0x40, 0xC7, 0x8E, 0x76,
  883. 0x1A, 0xC2, 0x03, 0xD1, 0xD9, 0xD2, 0x0A, 0xC8, 0x99, 0x88 },
  884. "MGIxCzAJBgNVBAYTAlVTMRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsT"
  885. "EHd3dy5kaWdpY2VydC5jb20xITAfBgNVBAMTGERpZ2lDZXJ0IFRydXN0ZWQgUm9v"
  886. "dCBHNA==",
  887. "BZsbV56OITLiOQe9p3d1XA==",
  888. },
  889. {
  890. // CN=QuoVadis Root CA 2 G3,O=QuoVadis Limited,C=BM
  891. "1.3.6.1.4.1.8024.0.2.100.1.2",
  892. "QuoVadis EV OID",
  893. SEC_OID_UNKNOWN,
  894. { 0x8F, 0xE4, 0xFB, 0x0A, 0xF9, 0x3A, 0x4D, 0x0D, 0x67, 0xDB, 0x0B,
  895. 0xEB, 0xB2, 0x3E, 0x37, 0xC7, 0x1B, 0xF3, 0x25, 0xDC, 0xBC, 0xDD,
  896. 0x24, 0x0E, 0xA0, 0x4D, 0xAF, 0x58, 0xB4, 0x7E, 0x18, 0x40 },
  897. "MEgxCzAJBgNVBAYTAkJNMRkwFwYDVQQKExBRdW9WYWRpcyBMaW1pdGVkMR4wHAYD"
  898. "VQQDExVRdW9WYWRpcyBSb290IENBIDIgRzM=",
  899. "RFc0JFuBiZs18s64KztbpybwdSg=",
  900. },
  901. {
  902. // CN=COMODO RSA Certification Authority,O=COMODO CA Limited,L=Salford,ST=Greater Manchester,C=GB
  903. "1.3.6.1.4.1.6449.1.2.1.5.1",
  904. "Comodo EV OID",
  905. SEC_OID_UNKNOWN,
  906. { 0x52, 0xF0, 0xE1, 0xC4, 0xE5, 0x8E, 0xC6, 0x29, 0x29, 0x1B, 0x60,
  907. 0x31, 0x7F, 0x07, 0x46, 0x71, 0xB8, 0x5D, 0x7E, 0xA8, 0x0D, 0x5B,
  908. 0x07, 0x27, 0x34, 0x63, 0x53, 0x4B, 0x32, 0xB4, 0x02, 0x34 },
  909. "MIGFMQswCQYDVQQGEwJHQjEbMBkGA1UECBMSR3JlYXRlciBNYW5jaGVzdGVyMRAw"
  910. "DgYDVQQHEwdTYWxmb3JkMRowGAYDVQQKExFDT01PRE8gQ0EgTGltaXRlZDErMCkG"
  911. "A1UEAxMiQ09NT0RPIFJTQSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eQ==",
  912. "TKr5yttjb+Af907YWwOGnQ==",
  913. },
  914. {
  915. // CN=USERTrust RSA Certification Authority,O=The USERTRUST Network,L=Jersey City,ST=New Jersey,C=US
  916. "1.3.6.1.4.1.6449.1.2.1.5.1",
  917. "Comodo EV OID",
  918. SEC_OID_UNKNOWN,
  919. { 0xE7, 0x93, 0xC9, 0xB0, 0x2F, 0xD8, 0xAA, 0x13, 0xE2, 0x1C, 0x31,
  920. 0x22, 0x8A, 0xCC, 0xB0, 0x81, 0x19, 0x64, 0x3B, 0x74, 0x9C, 0x89,
  921. 0x89, 0x64, 0xB1, 0x74, 0x6D, 0x46, 0xC3, 0xD4, 0xCB, 0xD2 },
  922. "MIGIMQswCQYDVQQGEwJVUzETMBEGA1UECBMKTmV3IEplcnNleTEUMBIGA1UEBxML"
  923. "SmVyc2V5IENpdHkxHjAcBgNVBAoTFVRoZSBVU0VSVFJVU1QgTmV0d29yazEuMCwG"
  924. "A1UEAxMlVVNFUlRydXN0IFJTQSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eQ==",
  925. "Af1tMPyjylGoG7xkDjUDLQ==",
  926. },
  927. {
  928. // CN=USERTrust ECC Certification Authority,O=The USERTRUST Network,L=Jersey City,ST=New Jersey,C=US
  929. "1.3.6.1.4.1.6449.1.2.1.5.1",
  930. "Comodo EV OID",
  931. SEC_OID_UNKNOWN,
  932. { 0x4F, 0xF4, 0x60, 0xD5, 0x4B, 0x9C, 0x86, 0xDA, 0xBF, 0xBC, 0xFC,
  933. 0x57, 0x12, 0xE0, 0x40, 0x0D, 0x2B, 0xED, 0x3F, 0xBC, 0x4D, 0x4F,
  934. 0xBD, 0xAA, 0x86, 0xE0, 0x6A, 0xDC, 0xD2, 0xA9, 0xAD, 0x7A },
  935. "MIGIMQswCQYDVQQGEwJVUzETMBEGA1UECBMKTmV3IEplcnNleTEUMBIGA1UEBxML"
  936. "SmVyc2V5IENpdHkxHjAcBgNVBAoTFVRoZSBVU0VSVFJVU1QgTmV0d29yazEuMCwG"
  937. "A1UEAxMlVVNFUlRydXN0IEVDQyBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eQ==",
  938. "XIuZxVqUxdJxVt7NiYDMJg==",
  939. },
  940. {
  941. // CN=GlobalSign,O=GlobalSign,OU=GlobalSign ECC Root CA - R4
  942. "1.3.6.1.4.1.4146.1.1",
  943. "GlobalSign EV OID",
  944. SEC_OID_UNKNOWN,
  945. { 0xBE, 0xC9, 0x49, 0x11, 0xC2, 0x95, 0x56, 0x76, 0xDB, 0x6C, 0x0A,
  946. 0x55, 0x09, 0x86, 0xD7, 0x6E, 0x3B, 0xA0, 0x05, 0x66, 0x7C, 0x44,
  947. 0x2C, 0x97, 0x62, 0xB4, 0xFB, 0xB7, 0x73, 0xDE, 0x22, 0x8C },
  948. "MFAxJDAiBgNVBAsTG0dsb2JhbFNpZ24gRUNDIFJvb3QgQ0EgLSBSNDETMBEGA1UE"
  949. "ChMKR2xvYmFsU2lnbjETMBEGA1UEAxMKR2xvYmFsU2lnbg==",
  950. "KjikHJYKBN5CsiilC+g0mAI=",
  951. },
  952. {
  953. // CN=GlobalSign,O=GlobalSign,OU=GlobalSign ECC Root CA - R5
  954. "1.3.6.1.4.1.4146.1.1",
  955. "GlobalSign EV OID",
  956. SEC_OID_UNKNOWN,
  957. { 0x17, 0x9F, 0xBC, 0x14, 0x8A, 0x3D, 0xD0, 0x0F, 0xD2, 0x4E, 0xA1,
  958. 0x34, 0x58, 0xCC, 0x43, 0xBF, 0xA7, 0xF5, 0x9C, 0x81, 0x82, 0xD7,
  959. 0x83, 0xA5, 0x13, 0xF6, 0xEB, 0xEC, 0x10, 0x0C, 0x89, 0x24 },
  960. "MFAxJDAiBgNVBAsTG0dsb2JhbFNpZ24gRUNDIFJvb3QgQ0EgLSBSNTETMBEGA1UE"
  961. "ChMKR2xvYmFsU2lnbjETMBEGA1UEAxMKR2xvYmFsU2lnbg==",
  962. "YFlJ4CYuu1X5CneKcflK2Gw=",
  963. },
  964. {
  965. // CN=Entrust.net Certification Authority (2048),OU=(c) 1999 Entrust.net Limited,OU=www.entrust.net/CPS_2048 incorp. by ref. (limits liab.),O=Entrust.net
  966. "2.16.840.1.114028.10.1.2",
  967. "Entrust EV OID",
  968. SEC_OID_UNKNOWN,
  969. { 0x6D, 0xC4, 0x71, 0x72, 0xE0, 0x1C, 0xBC, 0xB0, 0xBF, 0x62, 0x58,
  970. 0x0D, 0x89, 0x5F, 0xE2, 0xB8, 0xAC, 0x9A, 0xD4, 0xF8, 0x73, 0x80,
  971. 0x1E, 0x0C, 0x10, 0xB9, 0xC8, 0x37, 0xD2, 0x1E, 0xB1, 0x77 },
  972. "MIG0MRQwEgYDVQQKEwtFbnRydXN0Lm5ldDFAMD4GA1UECxQ3d3d3LmVudHJ1c3Qu"
  973. "bmV0L0NQU18yMDQ4IGluY29ycC4gYnkgcmVmLiAobGltaXRzIGxpYWIuKTElMCMG"
  974. "A1UECxMcKGMpIDE5OTkgRW50cnVzdC5uZXQgTGltaXRlZDEzMDEGA1UEAxMqRW50"
  975. "cnVzdC5uZXQgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkgKDIwNDgp",
  976. "OGPe+A==",
  977. },
  978. {
  979. // CN=Staat der Nederlanden EV Root CA,O=Staat der Nederlanden,C=NL
  980. "2.16.528.1.1003.1.2.7",
  981. "Staat der Nederlanden EV OID",
  982. SEC_OID_UNKNOWN,
  983. { 0x4D, 0x24, 0x91, 0x41, 0x4C, 0xFE, 0x95, 0x67, 0x46, 0xEC, 0x4C,
  984. 0xEF, 0xA6, 0xCF, 0x6F, 0x72, 0xE2, 0x8A, 0x13, 0x29, 0x43, 0x2F,
  985. 0x9D, 0x8A, 0x90, 0x7A, 0xC4, 0xCB, 0x5D, 0xAD, 0xC1, 0x5A },
  986. "MFgxCzAJBgNVBAYTAk5MMR4wHAYDVQQKDBVTdGFhdCBkZXIgTmVkZXJsYW5kZW4x"
  987. "KTAnBgNVBAMMIFN0YWF0IGRlciBOZWRlcmxhbmRlbiBFViBSb290IENB",
  988. "AJiWjQ==",
  989. },
  990. {
  991. // CN=Entrust Root Certification Authority - G2,OU="(c) 2009 Entrust, Inc. - for authorized use only",OU=See www.entrust.net/legal-terms,O="Entrust, Inc.",C=US
  992. "2.16.840.1.114028.10.1.2",
  993. "Entrust EV OID",
  994. SEC_OID_UNKNOWN,
  995. { 0x43, 0xDF, 0x57, 0x74, 0xB0, 0x3E, 0x7F, 0xEF, 0x5F, 0xE4, 0x0D,
  996. 0x93, 0x1A, 0x7B, 0xED, 0xF1, 0xBB, 0x2E, 0x6B, 0x42, 0x73, 0x8C,
  997. 0x4E, 0x6D, 0x38, 0x41, 0x10, 0x3D, 0x3A, 0xA7, 0xF3, 0x39 },
  998. "MIG+MQswCQYDVQQGEwJVUzEWMBQGA1UEChMNRW50cnVzdCwgSW5jLjEoMCYGA1UE"
  999. "CxMfU2VlIHd3dy5lbnRydXN0Lm5ldC9sZWdhbC10ZXJtczE5MDcGA1UECxMwKGMp"
  1000. "IDIwMDkgRW50cnVzdCwgSW5jLiAtIGZvciBhdXRob3JpemVkIHVzZSBvbmx5MTIw"
  1001. "MAYDVQQDEylFbnRydXN0IFJvb3QgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkgLSBH"
  1002. "Mg==",
  1003. "SlOMKA==",
  1004. },
  1005. {
  1006. // CN=Entrust Root Certification Authority - EC1,OU="(c) 2012 Entrust, Inc. - for authorized use only",OU=See www.entrust.net/legal-terms,O="Entrust, Inc.",C=US
  1007. "2.16.840.1.114028.10.1.2",
  1008. "Entrust EV OID",
  1009. SEC_OID_UNKNOWN,
  1010. { 0x02, 0xED, 0x0E, 0xB2, 0x8C, 0x14, 0xDA, 0x45, 0x16, 0x5C, 0x56,
  1011. 0x67, 0x91, 0x70, 0x0D, 0x64, 0x51, 0xD7, 0xFB, 0x56, 0xF0, 0xB2,
  1012. 0xAB, 0x1D, 0x3B, 0x8E, 0xB0, 0x70, 0xE5, 0x6E, 0xDF, 0xF5 },
  1013. "MIG/MQswCQYDVQQGEwJVUzEWMBQGA1UEChMNRW50cnVzdCwgSW5jLjEoMCYGA1UE"
  1014. "CxMfU2VlIHd3dy5lbnRydXN0Lm5ldC9sZWdhbC10ZXJtczE5MDcGA1UECxMwKGMp"
  1015. "IDIwMTIgRW50cnVzdCwgSW5jLiAtIGZvciBhdXRob3JpemVkIHVzZSBvbmx5MTMw"
  1016. "MQYDVQQDEypFbnRydXN0IFJvb3QgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkgLSBF"
  1017. "QzE=",
  1018. "AKaLeSkAAAAAUNCR+Q==",
  1019. },
  1020. {
  1021. // CN=CFCA EV ROOT,O=China Financial Certification Authority,C=CN
  1022. "2.16.156.112554.3",
  1023. "CFCA EV OID",
  1024. SEC_OID_UNKNOWN,
  1025. { 0x5C, 0xC3, 0xD7, 0x8E, 0x4E, 0x1D, 0x5E, 0x45, 0x54, 0x7A, 0x04,
  1026. 0xE6, 0x87, 0x3E, 0x64, 0xF9, 0x0C, 0xF9, 0x53, 0x6D, 0x1C, 0xCC,
  1027. 0x2E, 0xF8, 0x00, 0xF3, 0x55, 0xC4, 0xC5, 0xFD, 0x70, 0xFD },
  1028. "MFYxCzAJBgNVBAYTAkNOMTAwLgYDVQQKDCdDaGluYSBGaW5hbmNpYWwgQ2VydGlm"
  1029. "aWNhdGlvbiBBdXRob3JpdHkxFTATBgNVBAMMDENGQ0EgRVYgUk9PVA==",
  1030. "GErM1g==",
  1031. },
  1032. {
  1033. // CN=Certification Authority of WoSign G2,O=WoSign CA Limited,C=CN
  1034. "1.3.6.1.4.1.36305.2",
  1035. "WoSign EV OID",
  1036. SEC_OID_UNKNOWN,
  1037. { 0xD4, 0x87, 0xA5, 0x6F, 0x83, 0xB0, 0x74, 0x82, 0xE8, 0x5E, 0x96,
  1038. 0x33, 0x94, 0xC1, 0xEC, 0xC2, 0xC9, 0xE5, 0x1D, 0x09, 0x03, 0xEE,
  1039. 0x94, 0x6B, 0x02, 0xC3, 0x01, 0x58, 0x1E, 0xD9, 0x9E, 0x16 },
  1040. "MFgxCzAJBgNVBAYTAkNOMRowGAYDVQQKExFXb1NpZ24gQ0EgTGltaXRlZDEtMCsG"
  1041. "A1UEAxMkQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkgb2YgV29TaWduIEcy",
  1042. "ayXaioidfLwPBbOxemFFRA==",
  1043. },
  1044. {
  1045. // CN=CA WoSign ECC Root,O=WoSign CA Limited,C=CN
  1046. "1.3.6.1.4.1.36305.2",
  1047. "WoSign EV OID",
  1048. SEC_OID_UNKNOWN,
  1049. { 0x8B, 0x45, 0xDA, 0x1C, 0x06, 0xF7, 0x91, 0xEB, 0x0C, 0xAB, 0xF2,
  1050. 0x6B, 0xE5, 0x88, 0xF5, 0xFB, 0x23, 0x16, 0x5C, 0x2E, 0x61, 0x4B,
  1051. 0xF8, 0x85, 0x56, 0x2D, 0x0D, 0xCE, 0x50, 0xB2, 0x9B, 0x02 },
  1052. "MEYxCzAJBgNVBAYTAkNOMRowGAYDVQQKExFXb1NpZ24gQ0EgTGltaXRlZDEbMBkG"
  1053. "A1UEAxMSQ0EgV29TaWduIEVDQyBSb290",
  1054. "aEpYcIBr8I8C+vbe6LCQkA==",
  1055. },
  1056. {
  1057. // OU=Security Communication RootCA2,O="SECOM Trust Systems CO.,LTD.",C=JP
  1058. "1.2.392.200091.100.721.1",
  1059. "SECOM EV OID",
  1060. SEC_OID_UNKNOWN,
  1061. { 0x51, 0x3B, 0x2C, 0xEC, 0xB8, 0x10, 0xD4, 0xCD, 0xE5, 0xDD, 0x85,
  1062. 0x39, 0x1A, 0xDF, 0xC6, 0xC2, 0xDD, 0x60, 0xD8, 0x7B, 0xB7, 0x36,
  1063. 0xD2, 0xB5, 0x21, 0x48, 0x4A, 0xA4, 0x7A, 0x0E, 0xBE, 0xF6 },
  1064. "MF0xCzAJBgNVBAYTAkpQMSUwIwYDVQQKExxTRUNPTSBUcnVzdCBTeXN0ZW1zIENP"
  1065. "LixMVEQuMScwJQYDVQQLEx5TZWN1cml0eSBDb21tdW5pY2F0aW9uIFJvb3RDQTI=",
  1066. "AA==",
  1067. },
  1068. {
  1069. // CN=OISTE WISeKey Global Root GB CA,OU=OISTE Foundation Endorsed,O=WISeKey,C=CH
  1070. "2.16.756.5.14.7.4.8",
  1071. "WISeKey EV OID",
  1072. SEC_OID_UNKNOWN,
  1073. { 0x6B, 0x9C, 0x08, 0xE8, 0x6E, 0xB0, 0xF7, 0x67, 0xCF, 0xAD, 0x65,
  1074. 0xCD, 0x98, 0xB6, 0x21, 0x49, 0xE5, 0x49, 0x4A, 0x67, 0xF5, 0x84,
  1075. 0x5E, 0x7B, 0xD1, 0xED, 0x01, 0x9F, 0x27, 0xB8, 0x6B, 0xD6 },
  1076. "MG0xCzAJBgNVBAYTAkNIMRAwDgYDVQQKEwdXSVNlS2V5MSIwIAYDVQQLExlPSVNU"
  1077. "RSBGb3VuZGF0aW9uIEVuZG9yc2VkMSgwJgYDVQQDEx9PSVNURSBXSVNlS2V5IEds"
  1078. "b2JhbCBSb290IEdCIENB",
  1079. "drEgUnTwhYdGs/gjGvbCwA==",
  1080. },
  1081. {
  1082. // CN=Certplus Root CA G1,O=Certplus,C=FR
  1083. "1.3.6.1.4.1.22234.3.5.3.1",
  1084. "DocuSign EV OID 1",
  1085. SEC_OID_UNKNOWN,
  1086. { 0x15, 0x2A, 0x40, 0x2B, 0xFC, 0xDF, 0x2C, 0xD5, 0x48, 0x05, 0x4D,
  1087. 0x22, 0x75, 0xB3, 0x9C, 0x7F, 0xCA, 0x3E, 0xC0, 0x97, 0x80, 0x78,
  1088. 0xB0, 0xF0, 0xEA, 0x76, 0xE5, 0x61, 0xA6, 0xC7, 0x43, 0x3E },
  1089. "MD4xCzAJBgNVBAYTAkZSMREwDwYDVQQKDAhDZXJ0cGx1czEcMBoGA1UEAwwTQ2Vy"
  1090. "dHBsdXMgUm9vdCBDQSBHMQ==",
  1091. "ESBVg+QtPlRWhS2DN7cs3EYR",
  1092. },
  1093. {
  1094. // CN=Certplus Root CA G2,O=Certplus,C=FR
  1095. "1.3.6.1.4.1.22234.3.5.3.2",
  1096. "DocuSign EV OID 2",
  1097. SEC_OID_UNKNOWN,
  1098. { 0x6C, 0xC0, 0x50, 0x41, 0xE6, 0x44, 0x5E, 0x74, 0x69, 0x6C, 0x4C,
  1099. 0xFB, 0xC9, 0xF8, 0x0F, 0x54, 0x3B, 0x7E, 0xAB, 0xBB, 0x44, 0xB4,
  1100. 0xCE, 0x6F, 0x78, 0x7C, 0x6A, 0x99, 0x71, 0xC4, 0x2F, 0x17 },
  1101. "MD4xCzAJBgNVBAYTAkZSMREwDwYDVQQKDAhDZXJ0cGx1czEcMBoGA1UEAwwTQ2Vy"
  1102. "dHBsdXMgUm9vdCBDQSBHMg==",
  1103. "ESDZkc6uo+jF5//pAq/Pc7xV",
  1104. },
  1105. {
  1106. // CN=OpenTrust Root CA G1,O=OpenTrust,C=FR
  1107. "1.3.6.1.4.1.22234.2.14.3.11",
  1108. "DocuSign EV OID 3",
  1109. SEC_OID_UNKNOWN,
  1110. { 0x56, 0xC7, 0x71, 0x28, 0xD9, 0x8C, 0x18, 0xD9, 0x1B, 0x4C, 0xFD,
  1111. 0xFF, 0xBC, 0x25, 0xEE, 0x91, 0x03, 0xD4, 0x75, 0x8E, 0xA2, 0xAB,
  1112. 0xAD, 0x82, 0x6A, 0x90, 0xF3, 0x45, 0x7D, 0x46, 0x0E, 0xB4 },
  1113. "MEAxCzAJBgNVBAYTAkZSMRIwEAYDVQQKDAlPcGVuVHJ1c3QxHTAbBgNVBAMMFE9w"
  1114. "ZW5UcnVzdCBSb290IENBIEcx",
  1115. "ESCzkFU5fX82bWTCp59rY45n",
  1116. },
  1117. {
  1118. // CN=OpenTrust Root CA G2,O=OpenTrust,C=FR
  1119. "1.3.6.1.4.1.22234.2.14.3.11",
  1120. "DocuSign EV OID 3",
  1121. SEC_OID_UNKNOWN,
  1122. { 0x27, 0x99, 0x58, 0x29, 0xFE, 0x6A, 0x75, 0x15, 0xC1, 0xBF, 0xE8,
  1123. 0x48, 0xF9, 0xC4, 0x76, 0x1D, 0xB1, 0x6C, 0x22, 0x59, 0x29, 0x25,
  1124. 0x7B, 0xF4, 0x0D, 0x08, 0x94, 0xF2, 0x9E, 0xA8, 0xBA, 0xF2 },
  1125. "MEAxCzAJBgNVBAYTAkZSMRIwEAYDVQQKDAlPcGVuVHJ1c3QxHTAbBgNVBAMMFE9w"
  1126. "ZW5UcnVzdCBSb290IENBIEcy",
  1127. "ESChaRu/vbm9UpaPI+hIvyYR",
  1128. },
  1129. {
  1130. // CN=OpenTrust Root CA G3,O=OpenTrust,C=FR
  1131. "1.3.6.1.4.1.22234.2.14.3.11",
  1132. "DocuSign EV OID 3",
  1133. SEC_OID_UNKNOWN,
  1134. { 0xB7, 0xC3, 0x62, 0x31, 0x70, 0x6E, 0x81, 0x07, 0x8C, 0x36, 0x7C,
  1135. 0xB8, 0x96, 0x19, 0x8F, 0x1E, 0x32, 0x08, 0xDD, 0x92, 0x69, 0x49,
  1136. 0xDD, 0x8F, 0x57, 0x09, 0xA4, 0x10, 0xF7, 0x5B, 0x62, 0x92 },
  1137. "MEAxCzAJBgNVBAYTAkZSMRIwEAYDVQQKDAlPcGVuVHJ1c3QxHTAbBgNVBAMMFE9w"
  1138. "ZW5UcnVzdCBSb290IENBIEcz",
  1139. "ESDm+Ez8JLC+BUCs2oMbNGA/",
  1140. },
  1141. {
  1142. // CN=VeriSign Class 3 Public Primary Certification Authority - G4,OU="(c) 2007 VeriSign, Inc. - For authorized use only",OU=VeriSign Trust Network,O="VeriSign, Inc.",C=US
  1143. "2.16.840.1.113733.1.7.23.6",
  1144. "VeriSign EV OID",
  1145. SEC_OID_UNKNOWN,
  1146. { 0x69, 0xDD, 0xD7, 0xEA, 0x90, 0xBB, 0x57, 0xC9, 0x3E, 0x13, 0x5D,
  1147. 0xC8, 0x5E, 0xA6, 0xFC, 0xD5, 0x48, 0x0B, 0x60, 0x32, 0x39, 0xBD,
  1148. 0xC4, 0x54, 0xFC, 0x75, 0x8B, 0x2A, 0x26, 0xCF, 0x7F, 0x79 },
  1149. "MIHKMQswCQYDVQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNV"
  1150. "BAsTFlZlcmlTaWduIFRydXN0IE5ldHdvcmsxOjA4BgNVBAsTMShjKSAyMDA3IFZl"
  1151. "cmlTaWduLCBJbmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNlIG9ubHkxRTBDBgNVBAMT"
  1152. "PFZlcmlTaWduIENsYXNzIDMgUHVibGljIFByaW1hcnkgQ2VydGlmaWNhdGlvbiBB"
  1153. "dXRob3JpdHkgLSBHNA==",
  1154. "L4D+I4wOIg9IZxIokYessw==",
  1155. },
  1156. };
  1157. static SECOidTag
  1158. RegisterOID(const SECItem& oidItem, const char* oidName)
  1159. {
  1160. SECOidData od;
  1161. od.oid.len = oidItem.len;
  1162. od.oid.data = oidItem.data;
  1163. od.offset = SEC_OID_UNKNOWN;
  1164. od.desc = oidName;
  1165. od.mechanism = CKM_INVALID_MECHANISM;
  1166. od.supportedExtension = INVALID_CERT_EXTENSION;
  1167. return SECOID_AddEntry(&od);
  1168. }
  1169. static SECOidTag sCABForumEVOIDTag = SEC_OID_UNKNOWN;
  1170. static bool
  1171. isEVPolicy(SECOidTag policyOIDTag)
  1172. {
  1173. if (policyOIDTag != SEC_OID_UNKNOWN && policyOIDTag == sCABForumEVOIDTag) {
  1174. return true;
  1175. }
  1176. for (const nsMyTrustedEVInfo& entry : myTrustedEVInfos) {
  1177. if (policyOIDTag == entry.oid_tag) {
  1178. return true;
  1179. }
  1180. }
  1181. return false;
  1182. }
  1183. namespace mozilla { namespace psm {
  1184. bool
  1185. CertIsAuthoritativeForEVPolicy(const UniqueCERTCertificate& cert,
  1186. const mozilla::pkix::CertPolicyId& policy)
  1187. {
  1188. PR_ASSERT(cert);
  1189. if (!cert) {
  1190. return false;
  1191. }
  1192. unsigned char fingerprint[SHA256_LENGTH];
  1193. SECStatus srv =
  1194. PK11_HashBuf(SEC_OID_SHA256, fingerprint, cert->derCert.data,
  1195. AssertedCast<int32_t>(cert->derCert.len));
  1196. if (srv != SECSuccess) {
  1197. return false;
  1198. }
  1199. const SECOidData* cabforumOIDData = SECOID_FindOIDByTag(sCABForumEVOIDTag);
  1200. for (const nsMyTrustedEVInfo& entry : myTrustedEVInfos) {
  1201. // This check ensures that only the specific roots we approve for EV get
  1202. // that status, and not certs (roots or otherwise) that happen to have an
  1203. // OID that's already been approved for EV.
  1204. if (!PodEqual(fingerprint, entry.ev_root_sha256_fingerprint)) {
  1205. continue;
  1206. }
  1207. if (cabforumOIDData && cabforumOIDData->oid.len == policy.numBytes &&
  1208. PodEqual(cabforumOIDData->oid.data, policy.bytes, policy.numBytes)) {
  1209. return true;
  1210. }
  1211. const SECOidData* oidData = SECOID_FindOIDByTag(entry.oid_tag);
  1212. if (oidData && oidData->oid.len == policy.numBytes &&
  1213. PodEqual(oidData->oid.data, policy.bytes, policy.numBytes)) {
  1214. return true;
  1215. }
  1216. }
  1217. return false;
  1218. }
  1219. nsresult
  1220. LoadExtendedValidationInfo()
  1221. {
  1222. static const char* sCABForumOIDString = "2.23.140.1.1";
  1223. static const char* sCABForumOIDDescription = "CA/Browser Forum EV OID";
  1224. mozilla::ScopedAutoSECItem cabforumOIDItem;
  1225. if (SEC_StringToOID(nullptr, &cabforumOIDItem, sCABForumOIDString, 0)
  1226. != SECSuccess) {
  1227. return NS_ERROR_FAILURE;
  1228. }
  1229. sCABForumEVOIDTag = RegisterOID(cabforumOIDItem, sCABForumOIDDescription);
  1230. if (sCABForumEVOIDTag == SEC_OID_UNKNOWN) {
  1231. return NS_ERROR_FAILURE;
  1232. }
  1233. for (size_t iEV = 0; iEV < mozilla::ArrayLength(myTrustedEVInfos); ++iEV) {
  1234. nsMyTrustedEVInfo& entry = myTrustedEVInfos[iEV];
  1235. SECStatus srv;
  1236. #ifdef DEBUG
  1237. // This section of code double-checks that we calculated the correct
  1238. // certificate hash given the issuer and serial number and that it is
  1239. // actually present in our loaded root certificates module. It is
  1240. // unnecessary to check this in non-debug builds since we will safely fall
  1241. // back to DV if the EV information is incorrect.
  1242. mozilla::ScopedAutoSECItem derIssuer;
  1243. srv = ATOB_ConvertAsciiToItem(&derIssuer, entry.issuer_base64);
  1244. MOZ_ASSERT(srv == SECSuccess, "Could not base64-decode built-in EV issuer");
  1245. if (srv != SECSuccess) {
  1246. return NS_ERROR_FAILURE;
  1247. }
  1248. mozilla::ScopedAutoSECItem serialNumber;
  1249. srv = ATOB_ConvertAsciiToItem(&serialNumber, entry.serial_base64);
  1250. MOZ_ASSERT(srv == SECSuccess, "Could not base64-decode built-in EV serial");
  1251. if (srv != SECSuccess) {
  1252. return NS_ERROR_FAILURE;
  1253. }
  1254. CERTIssuerAndSN ias;
  1255. ias.derIssuer.data = derIssuer.data;
  1256. ias.derIssuer.len = derIssuer.len;
  1257. ias.serialNumber.data = serialNumber.data;
  1258. ias.serialNumber.len = serialNumber.len;
  1259. ias.serialNumber.type = siUnsignedInteger;
  1260. UniqueCERTCertificate cert(CERT_FindCertByIssuerAndSN(nullptr, &ias));
  1261. if (cert) {
  1262. unsigned char certFingerprint[SHA256_LENGTH];
  1263. srv = PK11_HashBuf(SEC_OID_SHA256, certFingerprint, cert->derCert.data,
  1264. AssertedCast<int32_t>(cert->derCert.len));
  1265. MOZ_ASSERT(srv == SECSuccess, "Could not hash EV root");
  1266. if (srv != SECSuccess) {
  1267. return NS_ERROR_FAILURE;
  1268. }
  1269. bool same = PodEqual(certFingerprint, entry.ev_root_sha256_fingerprint);
  1270. MOZ_ASSERT(same, "EV root fingerprint mismatch");
  1271. if (!same) {
  1272. return NS_ERROR_FAILURE;
  1273. }
  1274. }
  1275. #endif
  1276. // This is the code that actually enables these roots for EV.
  1277. mozilla::ScopedAutoSECItem evOIDItem;
  1278. srv = SEC_StringToOID(nullptr, &evOIDItem, entry.dotted_oid, 0);
  1279. MOZ_ASSERT(srv == SECSuccess, "SEC_StringToOID failed");
  1280. if (srv != SECSuccess) {
  1281. return NS_ERROR_FAILURE;
  1282. }
  1283. entry.oid_tag = RegisterOID(evOIDItem, entry.oid_name);
  1284. if (entry.oid_tag == SEC_OID_UNKNOWN) {
  1285. return NS_ERROR_FAILURE;
  1286. }
  1287. }
  1288. return NS_OK;
  1289. }
  1290. // Find the first policy OID that is known to be an EV policy OID.
  1291. SECStatus
  1292. GetFirstEVPolicy(CERTCertificate* cert,
  1293. /*out*/ mozilla::pkix::CertPolicyId& policy,
  1294. /*out*/ SECOidTag& policyOidTag)
  1295. {
  1296. if (!cert) {
  1297. PR_SetError(SEC_ERROR_INVALID_ARGS, 0);
  1298. return SECFailure;
  1299. }
  1300. if (cert->extensions) {
  1301. for (int i=0; cert->extensions[i]; i++) {
  1302. const SECItem* oid = &cert->extensions[i]->id;
  1303. SECOidTag oidTag = SECOID_FindOIDTag(oid);
  1304. if (oidTag != SEC_OID_X509_CERTIFICATE_POLICIES)
  1305. continue;
  1306. SECItem* value = &cert->extensions[i]->value;
  1307. CERTCertificatePolicies* policies;
  1308. CERTPolicyInfo** policyInfos;
  1309. policies = CERT_DecodeCertificatePoliciesExtension(value);
  1310. if (!policies)
  1311. continue;
  1312. policyInfos = policies->policyInfos;
  1313. bool found = false;
  1314. while (*policyInfos) {
  1315. const CERTPolicyInfo* policyInfo = *policyInfos++;
  1316. SECOidTag oid_tag = policyInfo->oid;
  1317. if (oid_tag != SEC_OID_UNKNOWN && isEVPolicy(oid_tag)) {
  1318. const SECOidData* oidData = SECOID_FindOIDByTag(oid_tag);
  1319. PR_ASSERT(oidData);
  1320. PR_ASSERT(oidData->oid.data);
  1321. PR_ASSERT(oidData->oid.len > 0);
  1322. PR_ASSERT(oidData->oid.len <= mozilla::pkix::CertPolicyId::MAX_BYTES);
  1323. if (oidData && oidData->oid.data && oidData->oid.len > 0 &&
  1324. oidData->oid.len <= mozilla::pkix::CertPolicyId::MAX_BYTES) {
  1325. policy.numBytes = static_cast<uint16_t>(oidData->oid.len);
  1326. memcpy(policy.bytes, oidData->oid.data, policy.numBytes);
  1327. policyOidTag = oid_tag;
  1328. found = true;
  1329. }
  1330. break;
  1331. }
  1332. }
  1333. CERT_DestroyCertificatePoliciesExtension(policies);
  1334. if (found) {
  1335. return SECSuccess;
  1336. }
  1337. }
  1338. }
  1339. PR_SetError(SEC_ERROR_POLICY_VALIDATION_FAILED, 0);
  1340. return SECFailure;
  1341. }
  1342. } } // namespace mozilla::psm