@peculiar/certificates-viewer 4.0.2 → 4.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (166) hide show
  1. package/README.md +1 -1
  2. package/components/attribute-certificate-viewer.js +7 -7
  3. package/components/attribute-certificate-viewer.js.map +1 -1
  4. package/components/certificate-viewer.js +5 -5
  5. package/components/certificate-viewer.js.map +1 -1
  6. package/components/crl-viewer.js +6 -6
  7. package/components/crl-viewer.js.map +1 -1
  8. package/components/csr-viewer.js +4 -4
  9. package/components/csr-viewer.js.map +1 -1
  10. package/components/download.js +374 -374
  11. package/components/download.js.map +1 -1
  12. package/components/index2.js +2 -2
  13. package/components/index2.js.map +1 -1
  14. package/components/miscellaneous.js +1320 -810
  15. package/components/miscellaneous.js.map +1 -1
  16. package/components/subject_name.js +2 -2
  17. package/components/subject_name.js.map +1 -1
  18. package/dist/cjs/{certification_request-c0cafa72.js → certification_request-5672c667.js} +1227 -823
  19. package/dist/cjs/certification_request-5672c667.js.map +1 -0
  20. package/dist/cjs/{crl-b4322166.js → crl-3f681d44.js} +14 -14
  21. package/dist/cjs/{crl-b4322166.js.map → crl-3f681d44.js.map} +1 -1
  22. package/dist/cjs/{download-972dda8a.js → download-0fa5b33c.js} +377 -377
  23. package/dist/cjs/download-0fa5b33c.js.map +1 -0
  24. package/dist/cjs/index.cjs.js +1 -1
  25. package/dist/cjs/{miscellaneous-e43aaae5.js → miscellaneous-905ec852.js} +125 -15
  26. package/dist/cjs/miscellaneous-905ec852.js.map +1 -0
  27. package/dist/cjs/peculiar-attribute-certificate-viewer_3.cjs.entry.js +8 -8
  28. package/dist/cjs/peculiar-attribute-certificate-viewer_3.cjs.entry.js.map +1 -1
  29. package/dist/cjs/peculiar-certificate-decoder.cjs.entry.js +4 -4
  30. package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js +4 -4
  31. package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js +3 -3
  32. package/dist/cjs/{x509_certificate-989b1435.js → x509_certificate-69764c52.js} +7 -7
  33. package/dist/cjs/{x509_certificate-989b1435.js.map → x509_certificate-69764c52.js.map} +1 -1
  34. package/dist/collection/components/certificate-details-parts/extensions/cabforganization_identifier_extension.js +19 -0
  35. package/dist/collection/components/certificate-details-parts/extensions/cabforganization_identifier_extension.js.map +1 -0
  36. package/dist/collection/components/certificate-details-parts/extensions/index.js +10 -0
  37. package/dist/collection/components/certificate-details-parts/extensions/index.js.map +1 -1
  38. package/dist/collection/components/certificate-details-parts/extensions/key_description_extension.js +80 -0
  39. package/dist/collection/components/certificate-details-parts/extensions/key_description_extension.js.map +1 -0
  40. package/dist/collection/constants/logs.js +1 -0
  41. package/dist/collection/constants/logs.js.map +1 -1
  42. package/dist/collection/constants/oids.js +25 -4
  43. package/dist/collection/constants/oids.js.map +1 -1
  44. package/dist/collection/crypto/extension.js +8 -0
  45. package/dist/collection/crypto/extension.js.map +1 -1
  46. package/dist/collection/crypto/extensions/cabforganization_identifier.js +49 -0
  47. package/dist/collection/crypto/extensions/cabforganization_identifier.js.map +1 -0
  48. package/dist/collection/crypto/extensions/index.js +5 -0
  49. package/dist/collection/crypto/extensions/index.js.map +1 -0
  50. package/dist/collection/utils/camel_case_to_words.js +15 -0
  51. package/dist/collection/utils/camel_case_to_words.js.map +1 -0
  52. package/dist/collection/utils/index.js +1 -0
  53. package/dist/collection/utils/index.js.map +1 -1
  54. package/dist/esm/{certification_request-5cadde9f.js → certification_request-d5ea5973.js} +1217 -817
  55. package/dist/esm/certification_request-d5ea5973.js.map +1 -0
  56. package/dist/esm/{crl-11670c3e.js → crl-d13d9ec5.js} +14 -14
  57. package/dist/esm/{crl-11670c3e.js.map → crl-d13d9ec5.js.map} +1 -1
  58. package/dist/esm/{download-57c5bf8f.js → download-aacb6eff.js} +375 -375
  59. package/dist/esm/download-aacb6eff.js.map +1 -0
  60. package/dist/esm/index.js +1 -1
  61. package/dist/esm/{miscellaneous-7793a310.js → miscellaneous-cdfd8905.js} +125 -15
  62. package/dist/esm/miscellaneous-cdfd8905.js.map +1 -0
  63. package/dist/esm/peculiar-attribute-certificate-viewer_3.entry.js +8 -8
  64. package/dist/esm/peculiar-attribute-certificate-viewer_3.entry.js.map +1 -1
  65. package/dist/esm/peculiar-certificate-decoder.entry.js +4 -4
  66. package/dist/esm/peculiar-certificate-viewer.entry.js +4 -4
  67. package/dist/esm/peculiar-certificates-viewer.entry.js +3 -3
  68. package/dist/esm/{x509_certificate-dfae6999.js → x509_certificate-a9fcab55.js} +7 -7
  69. package/dist/esm/{x509_certificate-dfae6999.js.map → x509_certificate-a9fcab55.js.map} +1 -1
  70. package/dist/esm-es5/certification_request-d5ea5973.js +97 -0
  71. package/dist/esm-es5/certification_request-d5ea5973.js.map +1 -0
  72. package/dist/esm-es5/{crl-11670c3e.js → crl-d13d9ec5.js} +6 -6
  73. package/dist/esm-es5/{crl-11670c3e.js.map → crl-d13d9ec5.js.map} +1 -1
  74. package/dist/esm-es5/download-aacb6eff.js +43 -0
  75. package/dist/esm-es5/download-aacb6eff.js.map +1 -0
  76. package/dist/esm-es5/index.js +1 -1
  77. package/dist/esm-es5/miscellaneous-cdfd8905.js +369 -0
  78. package/dist/esm-es5/miscellaneous-cdfd8905.js.map +1 -0
  79. package/dist/esm-es5/peculiar-attribute-certificate-viewer_3.entry.js +3 -3
  80. package/dist/esm-es5/peculiar-attribute-certificate-viewer_3.entry.js.map +1 -1
  81. package/dist/esm-es5/peculiar-certificate-decoder.entry.js +1 -1
  82. package/dist/esm-es5/peculiar-certificate-viewer.entry.js +1 -1
  83. package/dist/esm-es5/peculiar-certificates-viewer.entry.js +1 -1
  84. package/dist/esm-es5/x509_certificate-a9fcab55.js +12 -0
  85. package/dist/esm-es5/{x509_certificate-dfae6999.js.map → x509_certificate-a9fcab55.js.map} +1 -1
  86. package/dist/peculiar/index.esm.js +1 -1
  87. package/dist/peculiar/p-14f281b0.system.js +43 -0
  88. package/dist/peculiar/p-14f281b0.system.js.map +1 -0
  89. package/dist/peculiar/{p-1844b807.system.entry.js → p-3b395604.system.entry.js} +2 -2
  90. package/dist/peculiar/p-48474b8d.js +12 -0
  91. package/dist/peculiar/{p-6e79b9c8.js.map → p-48474b8d.js.map} +1 -1
  92. package/dist/peculiar/p-4a6ceeda.js +97 -0
  93. package/dist/peculiar/p-4a6ceeda.js.map +1 -0
  94. package/dist/peculiar/p-59e5ac12.js +43 -0
  95. package/dist/peculiar/p-59e5ac12.js.map +1 -0
  96. package/dist/peculiar/{p-7f9fef87.entry.js → p-609ee9f0.entry.js} +2 -2
  97. package/dist/peculiar/p-67156853.js +369 -0
  98. package/dist/peculiar/p-67156853.js.map +1 -0
  99. package/dist/peculiar/p-6daee4d7.system.js +369 -0
  100. package/dist/peculiar/p-6daee4d7.system.js.map +1 -0
  101. package/dist/peculiar/p-6e48afc4.system.js +34 -0
  102. package/dist/peculiar/{p-6667fe6e.system.js.map → p-6e48afc4.system.js.map} +1 -1
  103. package/dist/peculiar/{p-0b475f2a.system.entry.js → p-718982f4.system.entry.js} +4 -4
  104. package/dist/peculiar/{p-0b475f2a.system.entry.js.map → p-718982f4.system.entry.js.map} +1 -1
  105. package/dist/peculiar/p-80832207.system.js +1 -1
  106. package/dist/peculiar/p-8fac1d56.js +33 -0
  107. package/dist/peculiar/{p-43eb3721.js.map → p-8fac1d56.js.map} +1 -1
  108. package/dist/peculiar/{p-1de0381c.system.js → p-a3eeb94b.system.js} +2 -2
  109. package/dist/peculiar/{p-441109db.system.entry.js → p-a67b8793.system.entry.js} +2 -2
  110. package/dist/peculiar/{p-e39de121.system.entry.js → p-a720c0a5.system.entry.js} +2 -2
  111. package/dist/peculiar/{p-882e1281.entry.js → p-a7386b78.entry.js} +2 -2
  112. package/dist/peculiar/p-ab7dc738.system.js +13 -0
  113. package/dist/peculiar/{p-31586b23.system.js.map → p-ab7dc738.system.js.map} +1 -1
  114. package/dist/peculiar/{p-bcc86979.entry.js → p-c35b180c.entry.js} +2 -2
  115. package/dist/peculiar/p-e0f4bda5.system.js +97 -0
  116. package/dist/peculiar/p-e0f4bda5.system.js.map +1 -0
  117. package/dist/peculiar/{p-673336cf.entry.js → p-f86279f6.entry.js} +5 -5
  118. package/dist/peculiar/{p-673336cf.entry.js.map → p-f86279f6.entry.js.map} +1 -1
  119. package/dist/peculiar/peculiar.esm.js +1 -1
  120. package/dist/types/components/certificate-details-parts/extensions/cabforganization_identifier_extension.d.ts +15 -0
  121. package/dist/types/components/certificate-details-parts/extensions/key_description_extension.d.ts +15 -0
  122. package/dist/types/constants/logs.d.ts +1 -0
  123. package/dist/types/constants/oids.d.ts +24 -4
  124. package/dist/types/crypto/extension.d.ts +3 -1
  125. package/dist/types/crypto/extensions/cabforganization_identifier.d.ts +23 -0
  126. package/dist/types/crypto/extensions/index.d.ts +1 -0
  127. package/dist/types/utils/camel_case_to_words.d.ts +8 -0
  128. package/dist/types/utils/index.d.ts +1 -0
  129. package/hydrate/index.js +1710 -1200
  130. package/package.json +22 -21
  131. package/dist/cjs/certification_request-c0cafa72.js.map +0 -1
  132. package/dist/cjs/download-972dda8a.js.map +0 -1
  133. package/dist/cjs/miscellaneous-e43aaae5.js.map +0 -1
  134. package/dist/esm/certification_request-5cadde9f.js.map +0 -1
  135. package/dist/esm/download-57c5bf8f.js.map +0 -1
  136. package/dist/esm/miscellaneous-7793a310.js.map +0 -1
  137. package/dist/esm-es5/certification_request-5cadde9f.js +0 -97
  138. package/dist/esm-es5/certification_request-5cadde9f.js.map +0 -1
  139. package/dist/esm-es5/download-57c5bf8f.js +0 -19
  140. package/dist/esm-es5/download-57c5bf8f.js.map +0 -1
  141. package/dist/esm-es5/miscellaneous-7793a310.js +0 -348
  142. package/dist/esm-es5/miscellaneous-7793a310.js.map +0 -1
  143. package/dist/esm-es5/x509_certificate-dfae6999.js +0 -12
  144. package/dist/peculiar/p-31586b23.system.js +0 -13
  145. package/dist/peculiar/p-43eb3721.js +0 -33
  146. package/dist/peculiar/p-6667fe6e.system.js +0 -34
  147. package/dist/peculiar/p-6e79b9c8.js +0 -12
  148. package/dist/peculiar/p-74c241e7.js +0 -97
  149. package/dist/peculiar/p-74c241e7.js.map +0 -1
  150. package/dist/peculiar/p-a053c132.js +0 -19
  151. package/dist/peculiar/p-a053c132.js.map +0 -1
  152. package/dist/peculiar/p-a6e2e335.js +0 -348
  153. package/dist/peculiar/p-a6e2e335.js.map +0 -1
  154. package/dist/peculiar/p-ae9189f6.system.js +0 -19
  155. package/dist/peculiar/p-ae9189f6.system.js.map +0 -1
  156. package/dist/peculiar/p-c0a298fd.system.js +0 -97
  157. package/dist/peculiar/p-c0a298fd.system.js.map +0 -1
  158. package/dist/peculiar/p-c362dc5e.system.js +0 -348
  159. package/dist/peculiar/p-c362dc5e.system.js.map +0 -1
  160. /package/dist/peculiar/{p-1844b807.system.entry.js.map → p-3b395604.system.entry.js.map} +0 -0
  161. /package/dist/peculiar/{p-7f9fef87.entry.js.map → p-609ee9f0.entry.js.map} +0 -0
  162. /package/dist/peculiar/{p-1de0381c.system.js.map → p-a3eeb94b.system.js.map} +0 -0
  163. /package/dist/peculiar/{p-441109db.system.entry.js.map → p-a67b8793.system.entry.js.map} +0 -0
  164. /package/dist/peculiar/{p-e39de121.system.entry.js.map → p-a720c0a5.system.entry.js.map} +0 -0
  165. /package/dist/peculiar/{p-882e1281.entry.js.map → p-a7386b78.entry.js.map} +0 -0
  166. /package/dist/peculiar/{p-bcc86979.entry.js.map → p-c35b180c.entry.js.map} +0 -0
@@ -0,0 +1,369 @@
1
+ var __extends=this&&this.__extends||function(){var e=function(a,n){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,a){e.__proto__=a}||function(e,a){for(var n in a)if(Object.prototype.hasOwnProperty.call(a,n))e[n]=a[n]};return e(a,n)};return function(a,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(a,n);function t(){this.constructor=a}a.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}}();
2
+ /*!
3
+ * © Peculiar Ventures https://peculiarventures.com/ - MIT License
4
+ */System.register(["./p-5aabeba7.system.js","./p-e0f4bda5.system.js","./p-14f281b0.system.js","./p-6cb88fd6.system.js","./p-2fcad8cb.system.js","./p-e6a3b4d4.system.js"],(function(e){"use strict";var a,n,t,r,i,u,o,c,f,l,s,v,d,b,m,g,p,y,x,h,S,C,I,A,N,T,j,D,O,P,k,L,G,V,B,R,H,E,_,U,q,w,M,K,Q,J,X,Y,F,z,W,$,Z,ee,ae,ne,te,re,ie,ue,oe,ce,fe;return{setters:[function(e){a=e.h},function(e){n=e.a1;t=e.$;r=e.a0;i=e.a2;u=e.a6;o=e.v;c=e.a7;f=e.a8;l=e.a9;s=e.aa;v=e.ab;d=e.ac;b=e.ad;m=e.ae;g=e.af;p=e.ag;y=e.ah;x=e.ai;h=e.aj;S=e.ak;C=e.al;I=e.am;A=e.an;N=e.ao;T=e.ap;j=e.aq;D=e.ar;O=e.as;P=e.at;k=e.au;L=e.av;G=e.aw;V=e.ax;B=e.ay;R=e.az;H=e.aA;E=e.aB;_=e.aC;U=e.aD;q=e.aE;w=e.aF;M=e.aG;K=e.aH;Q=e.a3;J=e.aI;X=e.aJ;Y=e.aK;F=e.aL;z=e.aM;W=e.aN;$=e.aO;Z=e.aP;ee=e.aQ;ae=e.aR;ne=e.aS;te=e.aT},function(e){re=e.C;ie=e.B},function(e){ue=e.L},function(e){oe=e.T;ce=e.B},function(e){fe=e.D}],execute:function(){e("g",le);
5
+ /**
6
+ * @license
7
+ * Copyright (c) Peculiar Ventures, LLC.
8
+ *
9
+ * This source code is licensed under the MIT license found in the
10
+ * LICENSE file in the root directory of this source tree.
11
+ */function le(e){var a=n[e];if(a){return"".concat(a," (").concat(e,")")}return e}
12
+ /**
13
+ * @license
14
+ * Copyright (c) Peculiar Ventures, LLC.
15
+ *
16
+ * This source code is licensed under the MIT license found in the
17
+ * LICENSE file in the root directory of this source tree.
18
+ */function se(e){var a=e.replace(/([A-Z])/g," $1");return a.charAt(0).toUpperCase()+a.slice(1)}
19
+ /**
20
+ * @license
21
+ * Copyright (c) Peculiar Ventures, LLC.
22
+ *
23
+ * This source code is licensed under the MIT license found in the
24
+ * LICENSE file in the root directory of this source tree.
25
+ */var ve=e("c",(function(e){return"https://search.gleif.org/#/record/".concat(e)}));var de=e("d",(function(e){return"https://search.censys.io/search?resource=hosts&q=dns.names%3A".concat(e)}));var be=e("e",(function(e){return"https://search.censys.io/search?resource=hosts&q=ip%3A".concat(e)}));
26
+ /**
27
+ * @license
28
+ * Copyright (c) Peculiar Ventures, LLC.
29
+ *
30
+ * This source code is licensed under the MIT license found in the
31
+ * LICENSE file in the root directory of this source tree.
32
+ */function me(e){return e.indexOf("http")===0}
33
+ /**
34
+ * @license
35
+ * Copyright (c) Peculiar Ventures, LLC.
36
+ *
37
+ * This source code is licensed under the MIT license found in the
38
+ * LICENSE file in the root directory of this source tree.
39
+ */var ge=e("T",(function(e,n){return a("tr",null,a("td",{colSpan:2},a("table",null,n)))}));var pe=e("a",(function(e){var n=e.value;if(!n){return null}return[a("tr",{class:"title"},a("td",{colSpan:2},a(oe,{variant:"s1",color:"black"},n))),a("tr",null,a("td",{colSpan:2,class:"divider"},a("span",null)))]}));var ye=e("R",(function(e){var n=e.name,t=e.value,r=e.monospace,i=e.collapse,u=e.href,o=e.extraValue;if(!n){return null}if(t===undefined||t===null){return null}var c;if(i){c=a("peculiar-text-hider",null,t)}else{c=t}var f=!!t.toString();return a("tr",null,a("td",{colSpan:f?1:2},a(oe,{variant:"b2",color:"gray-9"},n)),f&&a("td",{class:{monospace:r}},me(t.toString())||u?a(ue,{variant:"b2",href:u||t.toString()},t):a(oe,{variant:"b2",color:"black"},c,o)))}));
40
+ /**
41
+ * @license
42
+ * Copyright (c) Peculiar Ventures, LLC.
43
+ *
44
+ * This source code is licensed under the MIT license found in the
45
+ * LICENSE file in the root directory of this source tree.
46
+ */var xe=e("B",(function(e){var n=e.serialNumber,i=e.version,u=e.validity,o=e.notBefore,c=e.notAfter,f=e.lastUpdate,l=e.nextUpdate,s=e.type;return[a(pe,{value:t.getString("basicInformation")}),a(ye,{name:t.getString("type"),value:s}),a(ye,{name:t.getString("serialNumber"),value:n,monospace:true}),a(ye,{name:t.getString("version"),value:i}),a(ye,{name:t.getString("validity"),value:u}),a(ye,{name:t.getString("issued"),value:o?r(o):undefined}),a(ye,{name:t.getString("expired"),value:c?r(c):undefined}),a(ye,{name:t.getString("lastUpdate"),value:f?r(f):undefined}),a(ye,{name:t.getString("nextUpdate"),value:l?r(l):undefined})]}));
47
+ /**
48
+ * @license
49
+ * Copyright (c) Peculiar Ventures, LLC.
50
+ *
51
+ * This source code is licensed under the MIT license found in the
52
+ * LICENSE file in the root directory of this source tree.
53
+ */function he(e){if(e.params&&"modulus"in e.params){var a=e.params.modulus.byteLength;if(a%2){a-=1}return a*8}return null}function Se(e){if(e.params&&"publicExponent"in e.params){return e.params.publicExponent.byteLength===3?65537:3}return null}var Ce=e("P",(function(e){var n=e.publicKey;if(!n){return null}function r(e){return[a(ye,{name:t.getString("algorithm"),value:le(e.algorithm)}),a(ye,{name:t.getString("namedCurve"),value:le(e.params&&"namedCurve"in e.params?e.params.namedCurve:undefined)}),a(ye,{name:t.getString("exponent"),value:Se(e)}),a(ye,{name:t.getString("modulus"),value:he(e)}),a(ye,{name:t.getString("value"),value:re.ToHex(e.value),monospace:true,collapse:true})]}return[a(pe,{value:t.getString("publicKeyInfo")}),r(n),Array.isArray(n.params)&&n.params.length&&n.params.map((function(e){return a(ge,null,r(e))}))]}));
54
+ /**
55
+ * @license
56
+ * Copyright (c) Peculiar Ventures, LLC.
57
+ *
58
+ * This source code is licensed under the MIT license found in the
59
+ * LICENSE file in the root directory of this source tree.
60
+ */var Ie=e("f",(function(e){var n=e.name;return[a(pe,{value:t.getString("subjectName")}),n.map((function(e){return a(ye,{name:e.name||e.type,value:e.value})}))]}));
61
+ /**
62
+ * @license
63
+ * Copyright (c) Peculiar Ventures, LLC.
64
+ *
65
+ * This source code is licensed under the MIT license found in the
66
+ * LICENSE file in the root directory of this source tree.
67
+ */var Ae=e("I",(function(e){var n=e.name,r=e.issuerDnLink;var i=t.getString("issuerName");return[a(pe,{value:r?a(ue,{href:r},i):i}),n.map((function(e){return a(ye,{name:e.name||e.type,value:e.value})}))]}));
68
+ /**
69
+ * @license
70
+ * Copyright (c) Peculiar Ventures, LLC.
71
+ *
72
+ * This source code is licensed under the MIT license found in the
73
+ * LICENSE file in the root directory of this source tree.
74
+ */var Ne=e("S",(function(e){var n=e.signature;if(!n){return null}function r(e){return[a(ye,{name:t.getString("algorithm"),value:le(e.algorithm)}),a(ye,{name:t.getString("value"),value:re.ToHex(e.value),monospace:true,collapse:true})]}return[a(pe,{value:t.getString("signature")}),r(n),n.params&&n.params.length&&n.params.map((function(e){return a(ge,null,r(e))}))]}));
75
+ /**
76
+ * @license
77
+ * Copyright (c) Peculiar Ventures, LLC.
78
+ *
79
+ * This source code is licensed under the MIT license found in the
80
+ * LICENSE file in the root directory of this source tree.
81
+ */var Te=e("b",(function(e){var n=e.thumbprints;if(!n){return null}var r=Object.keys(n);if(!r.length){return null}return[a(pe,{value:t.getString("fingerprints")}),r.map((function(e){return a(ye,{name:e,value:n[e],monospace:true})}))]}));
82
+ /**
83
+ * @license
84
+ * Copyright (c) Peculiar Ventures, LLC.
85
+ *
86
+ * This source code is licensed under the MIT license found in the
87
+ * LICENSE file in the root directory of this source tree.
88
+ */var je=function(e,n){var r=e.extension;return[a(ye,{name:"Name",value:le(r.asn.extnID)}),a(ye,{name:"Critical",value:r.asn.critical?t.getString("yes"):t.getString("no")}),n,a("tr",null,a("td",{colSpan:2,class:"divider"},a("span",null)))]};
89
+ /**
90
+ * @license
91
+ * Copyright (c) Peculiar Ventures, LLC.
92
+ *
93
+ * This source code is licensed under the MIT license found in the
94
+ * LICENSE file in the root directory of this source tree.
95
+ */var De=function(e){var n=e.extension;return a(je,{extension:n},a(ye,{name:"Usage",value:n.value.toJSON().join(", ")}))};
96
+ /**
97
+ * @license
98
+ * Copyright (c) Peculiar Ventures, LLC.
99
+ *
100
+ * This source code is licensed under the MIT license found in the
101
+ * LICENSE file in the root directory of this source tree.
102
+ */var Oe=function(e){var n=e.extension;return a(je,{extension:n},a(ye,{name:"Certificate Authority",value:n.value.cA?t.getString("yes"):t.getString("no")}),a(ye,{name:"Path Length Constraint",value:n.value.pathLenConstraint}))};
103
+ /**
104
+ * @license
105
+ * Copyright (c) Peculiar Ventures, LLC.
106
+ *
107
+ * This source code is licensed under the MIT license found in the
108
+ * LICENSE file in the root directory of this source tree.
109
+ */var Pe=function(e){var n=e.extension;return a(je,{extension:n},Boolean(n.value.length)&&[a(ye,{name:"Purposes",value:""}),n.value.map((function(e){return a(ge,null,a(ye,{name:"Purpose",value:le(e)}))}))])};
110
+ /**
111
+ * @license
112
+ * Copyright (c) Peculiar Ventures, LLC.
113
+ *
114
+ * This source code is licensed under the MIT license found in the
115
+ * LICENSE file in the root directory of this source tree.
116
+ */var ke=function(e){var n=e.extension,t=e.getSubjectKeyIdChildrenLink,r=e.getSubjectKeyIdSiblingsLink;var i=re.ToHex(n.value.buffer);var u=t(i);var o=r(i);return a(je,{extension:n},a(ye,{name:"Key ID",value:i,monospace:true,extraValue:[u&&a("span",null," [",a(ue,{href:u},"children"),"]"),o&&a("span",null," [",a(ue,{href:o},"siblings"),"]")]}))};
117
+ /**
118
+ * @license
119
+ * Copyright (c) Peculiar Ventures, LLC.
120
+ *
121
+ * This source code is licensed under the MIT license found in the
122
+ * LICENSE file in the root directory of this source tree.
123
+ */var Le=function(e){var n=e.extension,t=e.getAuthKeyIdParentLink,r=e.getAuthKeyIdSiblingsLink;var i=re.ToHex(n.value.keyIdentifier.buffer);var u=t(i);var o=r(i);return a(je,{extension:n},a(ye,{name:"Key ID",value:i,monospace:true,extraValue:[u&&a("span",null," [",a(ue,{href:u},"parents"),"]"),o&&a("span",null," [",a(ue,{href:o},"siblings"),"]")]}))};
124
+ /**
125
+ * @license
126
+ * Copyright (c) Peculiar Ventures, LLC.
127
+ *
128
+ * This source code is licensed under the MIT license found in the
129
+ * LICENSE file in the root directory of this source tree.
130
+ */var Ge={otherName:"Other Name",rfc822Name:"RFC 822 Name",dNSName:"DNS Name",x400Address:"X400 Address",directoryName:"Directory Name",ediPartyName:"Edi Party Name ",uniformResourceIdentifier:"URI",iPAddress:"IP Address",registeredID:"Registered ID"};var Ve=e("G",(function(e){var t=e.generalName,r=e.getDNSNameLink,s=e.getIPAddressLink;if(!t){return null}return Object.keys(t).map((function(e){var v=t[e];if(v instanceof i){return[a(ye,{name:Ge[e]||e,value:""}),a(ge,null,v.map((function(e){return e.map((function(e){return a(ye,{name:n[e.type]||e.type,value:e.value.toString()})}))})))]}if(v instanceof u){try{var d=o.parse(v.value,c);return a(ye,{name:n[v.typeId]||v.typeId,value:d.toString()})}catch(e){}try{var d=o.parse(v.value,f);if(d.explicitText){return a(ye,{name:n[v.typeId]||v.typeId,value:d.explicitText.toString()})}}catch(e){}return a(ye,{name:n[v.typeId]||v.typeId,value:re.ToHex(v.value),monospace:true})}if(ie.isBufferSource(v)){return a(ye,{name:Ge[e]||e,value:re.ToString(v)})}if(v instanceof l){return a(ye,{name:Ge[e]||e,value:v.partyName.toString()})}if(e==="dNSName"){return a(ye,{name:Ge[e]||e,value:v,href:r(v)})}if(e==="iPAddress"){return a(ye,{name:Ge[e]||e,value:v,href:s(v)})}return a(ye,{name:Ge[e]||e,value:v})}))}));
131
+ /**
132
+ * @license
133
+ * Copyright (c) Peculiar Ventures, LLC.
134
+ *
135
+ * This source code is licensed under the MIT license found in the
136
+ * LICENSE file in the root directory of this source tree.
137
+ */var Be=function(e){var n=e.extension;return a(je,{extension:n},n.value.map((function(n){var t,r;return[(t=n.distributionPoint)===null||t===void 0?void 0:t.fullName.map((function(n){return a(Ve,Object.assign({generalName:n},e))})),(r=n.cRLIssuer)===null||r===void 0?void 0:r.map((function(n){return a(Ve,Object.assign({generalName:n},e))}))]})))};
138
+ /**
139
+ * @license
140
+ * Copyright (c) Peculiar Ventures, LLC.
141
+ *
142
+ * This source code is licensed under the MIT license found in the
143
+ * LICENSE file in the root directory of this source tree.
144
+ */var Re=function(e){var n=e.extension;return a(je,{extension:n},Boolean(n.value.length)&&[a(ye,{name:"Descriptions",value:""}),n.value.map((function(n){return a(ge,null,a(ye,{name:"Method",value:le(n.accessMethod)}),a(Ve,Object.assign({generalName:n.accessLocation},e)))}))])};
145
+ /**
146
+ * @license
147
+ * Copyright (c) Peculiar Ventures, LLC.
148
+ *
149
+ * This source code is licensed under the MIT license found in the
150
+ * LICENSE file in the root directory of this source tree.
151
+ */var He=function(e){var n=e.extension;return a(je,{extension:n},n.value.map((function(n){return a(Ve,Object.assign({generalName:n},e))})))};
152
+ /**
153
+ * @license
154
+ * Copyright (c) Peculiar Ventures, LLC.
155
+ *
156
+ * This source code is licensed under the MIT license found in the
157
+ * LICENSE file in the root directory of this source tree.
158
+ */var Ee=function(e){var n=e.extension;return a(je,{extension:n},Boolean(n.value.length)&&[a(ye,{name:"Policies",value:""}),n.value.map((function(e){return a(ge,null,a(ye,{name:"Policy ID",value:le(e.policyIdentifier)}),e.policyQualifiers&&Boolean(e.policyQualifiers.length)&&[a(ye,{name:"Qualifiers",value:""}),e.policyQualifiers.map((function(e){var n=[a(ye,{name:"Qualifier ID",value:le(e.policyQualifierId)})];if(e.policyQualifierId==="1.3.6.1.5.5.7.2.1"){var t=o.parse(e.qualifier,c);n.push(a(ye,{name:"Value",value:t.toString()}))}if(e.policyQualifierId==="1.3.6.1.5.5.7.2.2"){var t=o.parse(e.qualifier,f);if(t.explicitText){n.push(a(ye,{name:"Value",value:t.explicitText.toString()}))}}return a(ge,null,n)}))])}))])};
159
+ /**
160
+ * @license
161
+ * Copyright (c) Peculiar Ventures, LLC.
162
+ *
163
+ * This source code is licensed under the MIT license found in the
164
+ * LICENSE file in the root directory of this source tree.
165
+ */var _e={"9606c02c690033aa1d145f59c6e2648d0549f0df96aab8db915a70d8ecf390a5":"Akamai CT","39376f545f7b4607f59742d768cd5d2437bf3473b6534a4834bcf72e681c83c9":"Alpha CT",a577ac9ced7548dd8f025b67a241089df86e0f476ec203c2ecbedb185f282638:"CNNIC CT",cdb5179b7fc1c046feea31136a3f8f002e6182faf8896fecc8b2f5b5ab604900:"Certly.IO","1fbc36e002ede97f40199e86b3573b8a4217d80187746ad0da03a06054d20df4":"Cloudflare “Nimbus2017”",db74afeecb29ecb1feca3e716d2ce5b9aabb36f7847183c75d9d4f37b61fbf64:"Cloudflare “Nimbus2018”","747eda8331ad331091219cce254f4270c2bffd5e422008c6373579e6107bcc56":"Cloudflare “Nimbus2019”","5ea773f9df56c0e7b536487dd049e0327a919a0c84a112128418759681714558":"Cloudflare “Nimbus2020”","4494652eb0eeceafc44007d8a8fe28c0dae682bed8cb31b53fd33396b5b681a8":"Cloudflare “Nimbus2021”","41c8cab1df22464a10c6a13a0942875e4e318b1b03ebeb4bc768f090629606f6":"Cloudflare “Nimbus2022”","7a328c54d8b72db620ea38e0521ee98416703213854d3bd22bc13a57a352eb52":"Cloudflare “Nimbus2023”","6ff141b5647e4222f7ef052cefae7c21fd608e27d2af5a6e9f4b8a37d6633ee5":"DigiCert Nessie2018",fe446108b1d01ab78a62ccfeab6ab2b2babff3abdad80a4d8b30df2d0008830c:"DigiCert Nessie2019",c652a0ec48ceb3fcab170992c43a87413309e80065a26252401ba3362a17c565:"DigiCert Nessie2020",eec095ee8d72640f92e3c3b91bc712a3696a097b4b6a1a1438e647b2cbedc5f9:"DigiCert Nessie2021","51a3b0f5fd01799c566db837788f0ca47acc1b27cbf79e88429a0dfed48b05e5":"DigiCert Nessie2022",b3737707e18450f86386d605a9dc11094a792db1670c0b87dcf0030e7936a59a:"DigiCert Nessie2023","5614069a2fd7c2ecd3f5e1bd44b23ec74676b9bc99115cc0ef949855d689d0dd":"DigiCert Server","8775bfe7597cf88c43995fbdf36eff568d475636ff4ab560c1b4eaff5ea0830f":"DigiCert Server 2",c1164ae0a772d2d4392dc80ac10770d4f0c49bde991a4840c1fa075164f63360:"DigiCert Yeti2018",e2694bae26e8e94009e8861bb63b83d43ee7fe7488fba48f2893019dddf1dbfe:"DigiCert Yeti2019",f095a459f200d18240102d2f93888ead4bfe1d47e399e1d034a6b0a8aa8eb273:"DigiCert Yeti2020","5cdc4392fee6ab4544b15e9ad456e61037fbd5fa47dca17394b25ee6f6c70eca":"DigiCert Yeti2021","2245450759552456963fa12ff1f76d86e0232663adc04b7f5dc6835c6ee20f02":"DigiCert Yeti2022","35cf191bbfb16c57bf0fad4c6d42cbbbb627202651ea3fe12aefa803c33bd64c":"DigiCert Yeti2023","717ea7420975be84a2723553f1777c26dd51af4e102144094d9019b462fb6668":"GDCA 1","14308d90ccd030135005c01ca526d81e84e87624e39b6248e08f724aea3bb42a":"GDCA 2",c9cf890a21109c666cc17a3ed065c930d0e0135a9feba85af14210b8072421aa:"GDCA CT #1","924a30f909336ff435d6993a10ac75a2c641728e7fc2d659ae6188ffad40ce01":"GDCA CT #2",fad4c97cc49ee2f8ac85c5ea5cea09d0220dbbf4e49c6b50662ff868f86b8c28:"Google “Argon2017”",a4501269055a15545e6211ab37bc103f62ae5576a45e4b1714453e1b22106a25:"Google “Argon2018”","63f2dbcde83bcc2ccf0b728427576b33a48d61778fbd75a638b1c768544bd88d":"Google “Argon2019”",b21e05cc8ba2cd8a204e8766f92bb98a2520676bdafa70e7b249532def8b905e:"Google “Argon2020”",f65c942fd1773022145418083094568ee34d131933bfdf0c2f200bcc4ef164e3:"Google “Argon2021”","2979bef09e393921f056739f63a577e5be577d9c600af8f94d5d265c255dc784":"Google “Argon2022”",e83ed0da3ef5063532e75728bc896bc903d3cbd1116beceb69e1777d6d06bd6e:"Google “Argon2023”","68f698f81f6482be3a8ceeb9281d4cfc71515d6793d444d10a67acbb4f4ffbc4":"Google “Aviator”",c3bf03a7e1ca8841c607bae3ff4270fca5ec45b186ebbe4e2cf3fc778630f5f6:"Google “Crucible”","1d024b8eb1498b344dfd87ea3efc0996f7506f235d1d497061a4773c439c25fb":"Google “Daedalus”","293c519654c83965baaa50fc5807d4b76fbf587a2972dca4c30cf4e54547f478":"Google “Icarus”",a4b90990b418581487bb13a2cc67700a3c359804f91bdfb8e377cd0ec80ddc10:"Google “Pilot”",ee4bbdb775ce60bae142691fabe19e66a30f7e5fb072d88300c47b897aa8fdcb:"Google “Rocketeer”",bbd9dfbc1f8a71b593942397aa927b473857950aab52e81a909664368e1ed185:"Google “Skydiver”","52eb4b225ec896974850675f23e43bc1d021e3214ce52ecd5fa87c203cdfca03":"Google “Solera2018”","0b760e9a8b9a682f88985b15e947501a56446bba8830785c3842994386450c00":"Google “Solera2019”","1fc72ce5a1b799f400c359bff96ca3913548e8644220610952e9ba1774f7bac7":"Google “Solera2020”",a3c99845e80ab7ce00157b3742df0207dd272b2b602ecf98ee2c12db9c5ae7e7:"Google “Solera2021”","697aafca1a6b536fae21205046debad7e0eaea13d2432e6e9d8fb379f2b9aaf3":"Google “Solera2022”",a899d8780c9290aaf462f31880ccfbd52451e970d0fbf591ef75b0d99b645681:"Google “Submariner”",b0cc83e5a5f97d6baf7c09cc284904872ac7e88b132c6350b7c6fd26e16c6c77:"Google “Testtube”",b10cd559a6d67846811f7df9a51532739ac48d703bea0323da5d38755bc0ad4e:"Google “Xenon2018”","084114980071532c16190460bcfc47fdc2653afa292c72b37ff863ae29ccc9f0":"Google “Xenon2019”","07b75c1be57d68fff1b0c61d2315c7bae6577c5794b76aeebc613a1a69d3a21c":"Google “Xenon2020”","7d3ef2f88fff88556824c2c0ca9e5289792bc50e78097f2e6a9768997e22f0d7":"Google “Xenon2021”","46a555eb75fa912030b5a28969f4f37d112c4174befd49b885abf2fc70fe6d47":"Google “Xenon2022”","7461b4a09cfb3d41d75159575b2e7649a445a8d27709b0cc564a6482b7eb41a3":"Izenpe","8941449c70742e06b9fc9ce7b116ba0024aa36d59af44f0204404f00f7ea8566":"Izenpe “Argi”","296afa2d568bca0d2ea844956ae9721fc35fa355ecda99693aafd458a71aefdd":"Let“s Encrypt ”Clicky”","537b69a3564335a9c04904e39593b2c298eb8d7a6e83023635c627248cd6b440":"Nordu “flimsy”",aae70b7f3cb8d566c86c2f16979c9f445f69ab0eb4535589b2f77a030104f3cd:"Nordu “plausible”",e0127629e90496564e3d0147984498aa48f8adb16600eb7902a1ef9909906273:"PuChuangSiDa CT",cf55e28923497c340d5206d05353aeb25834b52f1f8dc9526809f212efdd7ca6:"SHECA CT 1","32dc59c2d4c41968d56e14bc61ac8f0e45db39faf3c155aa4252f5001fa0c623":"SHECA CT 2",db76fdadac65e7d09508886e2159bd8b90352f5fead3e3dc5e22eb350acc7b98:"Sectigo (Comodo) “Dodo” CT","6f5376ac31f03119d89900a45115ff77151c11d902c10029068db2089a37d913":"Sectigo (Comodo) “Mammoth” CT","5581d4c2169036014aea0b9b573c53f0c0e43878702508172fa3aa1d0713d30c":"Sectigo (Comodo) “Sabre” CT","34bb6ad6c3df9c03eea8a499ff7891486c9d5e5cac92d01f7bfd1bce19db48ef":"StartCom",ddeb1d2b7a0d4fa6208b81ad8168707e2e8e9d01d55c888d3d11c4cdb6ecbecc:"Symantec",a7ce4a4e6207e0addee5fdaa4b1f86768767b5d002a55d47310e7e670a95eab2:"Symantec Deneb","15970488d7b997a05beb52512adee8d2e8b4a3165264121a9fabfbd5f85ad93f":"Symantec “Sirius”",bc78e1dfc5f63c684649334da10fa15f0979692009c081b4f3f6917f3ed9b8a5:"Symantec “Vega”",b0b784bc81c0ddc47544e883f05985bb9077d134d8ab88b2b2e533980b8e508b:"Up In The Air “Behind the Sofa”",ac3b9aed7fa9674757159e6d7d575672f9d98100941e9bdeffeca1313b75782d:"Venafi","03019df3fd85a69a8ebd1facc6da9ba73e469774fe77f579fc5a08b8328c1d6b":"Venafi Gen2 CT","41b2dc2e89e63ce4af1ba7bb29bf68c6dee6f9f1cc047e30dffae3b3ba259263":"WoSign","63d0006026dde10bb0601f452446965ee2b6ea2cd4fbc95ac866a550af9075b7":"WoSign 2","9e4ff73dc3ce220b69217c899e468076abf8d78636d5ccfc85a31a75628ba88b":"WoSign CT #1"};
166
+ /**
167
+ * @license
168
+ * Copyright (c) Peculiar Ventures, LLC.
169
+ *
170
+ * This source code is licensed under the MIT license found in the
171
+ * LICENSE file in the root directory of this source tree.
172
+ */var Ue=function(e){var n=e.extension;return a(je,{extension:n},Boolean(n.value.items.length)&&[a(ye,{name:"Signed Certificate Timestamps",value:""}),n.value.toJSON().map((function(e){return a(ge,null,a(ye,{name:"Version",value:e.version+1}),a(ye,{name:"Log Operator",value:_e[e.logId]||e.logId}),a(ye,{name:"Log Key ID",value:e.logId,monospace:true}),a(ye,{name:"Timestamp",value:r(e.timestamp)}),a(ye,{name:"Signature Algorithm",value:"".concat(e.hashAlgorithm," ").concat(e.signatureAlgorithm).toUpperCase()}),a(ye,{name:"Signature",value:e.signature,monospace:true}))}))])};
173
+ /**
174
+ * @license
175
+ * Copyright (c) Peculiar Ventures, LLC.
176
+ *
177
+ * This source code is licensed under the MIT license found in the
178
+ * LICENSE file in the root directory of this source tree.
179
+ */var qe=function(e){var n,t;var r=e.extension;return a(je,{extension:r},(n=r.value.excludedSubtrees)===null||n===void 0?void 0:n.map((function(n){return a(Ve,Object.assign({generalName:n.base},e))})),(t=r.value.permittedSubtrees)===null||t===void 0?void 0:t.map((function(n){return a(Ve,Object.assign({generalName:n.base},e))})))};
180
+ /**
181
+ * @license
182
+ * Copyright (c) Peculiar Ventures, LLC.
183
+ *
184
+ * This source code is licensed under the MIT license found in the
185
+ * LICENSE file in the root directory of this source tree.
186
+ */var we=function(e){var n=e.extension;return a(je,{extension:n},a(ye,{name:"Template ID",value:n.value.templateID}),a(ye,{name:"Template Major Version",value:n.value.templateMajorVersion}),a(ye,{name:"Template Minor Version",value:n.value.templateMinorVersion}))};
187
+ /**
188
+ * @license
189
+ * Copyright (c) Peculiar Ventures, LLC.
190
+ *
191
+ * This source code is licensed under the MIT license found in the
192
+ * LICENSE file in the root directory of this source tree.
193
+ */var Me=function(e){var n=e.extension;return a(je,{extension:n},a(ye,{name:"Name",value:n.value.toString()}))};
194
+ /**
195
+ * @license
196
+ * Copyright (c) Peculiar Ventures, LLC.
197
+ *
198
+ * This source code is licensed under the MIT license found in the
199
+ * LICENSE file in the root directory of this source tree.
200
+ */var Ke=function(e){var n=e.extension;var t=n.value.getVersion();return a(je,{extension:n},a(ye,{name:"Certificate Index",value:t.certificateIndex}),a(ye,{name:"Key Index",value:t.keyIndex}))};var Qe,Je,Xe,Ye;var Fe=function(){function e(e){if(typeof e==="string"){this.alphabetic=e}else if(typeof e==="number"){this.numeric=e}}return e}();s([v({type:d.PrintableString})],Fe.prototype,"alphabetic",void 0);s([v({type:d.PrintableString})],Fe.prototype,"numeric",void 0);Fe=s([b({type:m.Choice})],Fe);var ze=function(){function e(e){if(e===void 0){e={}}this.currency=new Fe;this.amount=0;this.exponent=0;Object.assign(this,e)}return e}();s([v({type:Fe})],ze.prototype,"currency",void 0);s([v({type:d.Integer})],ze.prototype,"amount",void 0);s([v({type:d.Integer})],ze.prototype,"exponent",void 0);var We=function(e){__extends(a,e);function a(){return e!==null&&e.apply(this,arguments)||this}return a}(ze);We=s([b({type:m.Sequence})],We);var $e=function(){function e(e){if(e===void 0){e=0}this.value=e}return e}();s([v({type:d.Integer})],$e.prototype,"value",void 0);$e=s([b({type:m.Choice})],$e);var Ze=function(){function e(e){if(e===void 0){e={}}this.url="";this.language="";Object.assign(this,e)}return e}();s([v({type:d.IA5String})],Ze.prototype,"url",void 0);s([v({type:d.PrintableString})],Ze.prototype,"language",void 0);Ze=s([b({type:m.Sequence})],Ze);var ea=Qe=function(e){__extends(a,e);function a(a){var n=e.call(this,a)||this;Object.setPrototypeOf(n,Qe.prototype);return n}return a}(g);ea=Qe=s([b({type:m.Sequence,itemType:Ze})],ea);var aa=Je=function(e){__extends(a,e);function a(a){var n=e.call(this,a)||this;Object.setPrototypeOf(n,Je.prototype);return n}return a}(ea);aa=Je=s([b({type:m.Sequence,itemType:Ze})],aa);var na=Xe=function(e){__extends(a,e);function a(a){var n=e.call(this,a)||this;Object.setPrototypeOf(n,Xe.prototype);return n}return a}(g);na=Xe=s([b({type:m.Sequence,itemType:d.ObjectIdentifier})],na);var ta=Ye=function(e){__extends(a,e);function a(a){var n=e.call(this,a)||this;Object.setPrototypeOf(n,Ye.prototype);return n}return a}(g);ta=Ye=s([b({type:m.Sequence,itemType:d.PrintableString})],ta);var ra="0.4.0.1862.1";var ia="".concat(ra,".3");var ua="".concat(ra,".5");var oa="".concat(ra,".6");
201
+ /**
202
+ * @license
203
+ * Copyright (c) Peculiar Ventures, LLC.
204
+ *
205
+ * This source code is licensed under the MIT license found in the
206
+ * LICENSE file in the root directory of this source tree.
207
+ */var ca=function(e){var n=e.extension;function t(e,n){if(!n.byteLength){return null}if(e===p){var t=o.parse(n,y);return a(ye,{name:"Semantics Identifier",value:le(t.semanticsIdentifier)})}if(e===oa){var r=o.parse(n,na);return a(ye,{name:"QC Types",value:r.map((function(e){return le(e)})).join(", ")})}if(e===ia){var i=o.parse(n,$e);return a(ye,{name:"Retention Period",value:"".concat(i.value," years")})}if(e===ua){var u=o.parse(n,ea);return[a(ye,{name:"PDS Locations",value:""}),u.map((function(e){return a(ge,null,a(ye,{name:"URL",value:e.url}),a(ye,{name:"Language",value:e.language}))}))]}return a(ye,{name:"Info",value:re.ToHex(n),monospace:true})}return a(je,{extension:n},Boolean(n.value.length)&&[a(ye,{name:"Statements",value:""}),n.value.map((function(e){return a(ge,null,a(ye,{name:"Statement ID",value:le(e.statementId)}),t(e.statementId,e.statementInfo))}))])};
208
+ /**
209
+ * @license
210
+ * Copyright (c) Peculiar Ventures, LLC.
211
+ *
212
+ * This source code is licensed under the MIT license found in the
213
+ * LICENSE file in the root directory of this source tree.
214
+ */var fa=function(e){var n=e.extension;return a(je,{extension:n},a(ye,{name:"Comment",value:n.value.value}))};
215
+ /**
216
+ * @license
217
+ * Copyright (c) Peculiar Ventures, LLC.
218
+ *
219
+ * This source code is licensed under the MIT license found in the
220
+ * LICENSE file in the root directory of this source tree.
221
+ */var la=function(e){var n=e.extension;return a(je,{extension:n},a(ye,{name:"Type",value:n.value.toJSON().join(", ")}))};
222
+ /**
223
+ * @license
224
+ * Copyright (c) Peculiar Ventures, LLC.
225
+ *
226
+ * This source code is licensed under the MIT license found in the
227
+ * LICENSE file in the root directory of this source tree.
228
+ */var sa=function(e){var n=e.extension;return a(je,{extension:n},a(ye,{name:"Role",value:n.value.text}))};
229
+ /**
230
+ * @license
231
+ * Copyright (c) Peculiar Ventures, LLC.
232
+ *
233
+ * This source code is licensed under the MIT license found in the
234
+ * LICENSE file in the root directory of this source tree.
235
+ */var va=function(e){var n=e.extension,t=e.getLEILink;return a(je,{extension:n},a(ye,{name:"Identifier",value:n.value.text,href:t(n.value.text)}))};
236
+ /**
237
+ * @license
238
+ * Copyright (c) Peculiar Ventures, LLC.
239
+ *
240
+ * This source code is licensed under the MIT license found in the
241
+ * LICENSE file in the root directory of this source tree.
242
+ */var da=function(e){var n=e.extension;return a(je,{extension:n},a(ye,{name:"Version",value:n.value.version}),a(Ve,Object.assign({generalName:n.value.location},e)),a(ye,{name:"Requires Auth",value:n.value.requiresAuth?t.getString("yes"):t.getString("no")}))};
243
+ /**
244
+ * @license
245
+ * Copyright (c) Peculiar Ventures, LLC.
246
+ *
247
+ * This source code is licensed under the MIT license found in the
248
+ * LICENSE file in the root directory of this source tree.
249
+ */var ba=function(e){var n=e.extension;return a(je,{extension:n},a(ye,{name:"Version",value:n.value.version}))};
250
+ /**
251
+ * @license
252
+ * Copyright (c) Peculiar Ventures, LLC.
253
+ *
254
+ * This source code is licensed under the MIT license found in the
255
+ * LICENSE file in the root directory of this source tree.
256
+ */var ma=function(e){var n=e.extension;return a(je,{extension:n},a(ye,{name:"Reason",value:n.value.toJSON()}))};
257
+ /**
258
+ * @license
259
+ * Copyright (c) Peculiar Ventures, LLC.
260
+ *
261
+ * This source code is licensed under the MIT license found in the
262
+ * LICENSE file in the root directory of this source tree.
263
+ */function ga(e){return re.ToString(e.values[0])}
264
+ /**
265
+ * @license
266
+ * Copyright (c) Peculiar Ventures, LLC.
267
+ *
268
+ * This source code is licensed under the MIT license found in the
269
+ * LICENSE file in the root directory of this source tree.
270
+ */var pa=function(e){var n=e.extension;return a(je,{extension:n},Boolean(n.value.length)&&[a(ye,{name:"Attributes",value:""}),n.value.map((function(e){return a(ge,null,a(ye,{name:"Type",value:le(e.type)}),a(ye,{name:"Value",value:ga(e)}))}))])};
271
+ /**
272
+ * @license
273
+ * Copyright (c) Peculiar Ventures, LLC.
274
+ *
275
+ * This source code is licensed under the MIT license found in the
276
+ * LICENSE file in the root directory of this source tree.
277
+ */var ya=function(e){var n=e.extension;return a(je,{extension:n},a(ye,{name:"Value",value:n.value,monospace:true}))};
278
+ /**
279
+ * @license
280
+ * Copyright (c) Peculiar Ventures, LLC.
281
+ *
282
+ * This source code is licensed under the MIT license found in the
283
+ * LICENSE file in the root directory of this source tree.
284
+ */var xa=function(e){var n=e.extension;return a(je,{extension:n},a(ye,{name:"Not Before",value:r(n.value.notBefore)}),a(ye,{name:"Not After",value:r(n.value.notAfter)}))};
285
+ /**
286
+ * @license
287
+ * Copyright (c) Peculiar Ventures, LLC.
288
+ *
289
+ * This source code is licensed under the MIT license found in the
290
+ * LICENSE file in the root directory of this source tree.
291
+ */var ha=function(e){var n=e.extension;return a(je,{extension:n},a(ye,{name:"Version",value:n.value.entrustVers}),a(ye,{name:"Info Flags",value:n.value.entrustInfoFlags.toJSON().join(", ")}))};
292
+ /**
293
+ * @license
294
+ * Copyright (c) Peculiar Ventures, LLC.
295
+ *
296
+ * This source code is licensed under the MIT license found in the
297
+ * LICENSE file in the root directory of this source tree.
298
+ */var Sa=function(e){var n=e.extension;return a(je,{extension:n},Boolean(n.value.length)&&[a(ye,{name:"Biometrics",value:""}),n.value.map((function(e){return a(ge,null,a(ye,{name:"OID",value:le(e.typeOfBiometricData.biometricDataOid)}),a(ye,{name:"Type",value:e.typeOfBiometricData.predefinedBiometricType}),a(ye,{name:"Algorithm",value:le(e.hashAlgorithm.algorithm)}),a(ye,{name:"Hash",value:re.ToHex(e.biometricDataHash.buffer),monospace:true}),a(ye,{name:"Source Uri",value:e.sourceDataUri}))}))])};
299
+ /**
300
+ * @license
301
+ * Copyright (c) Peculiar Ventures, LLC.
302
+ *
303
+ * This source code is licensed under the MIT license found in the
304
+ * LICENSE file in the root directory of this source tree.
305
+ */var Ca=function(e){var n=e.extension;var t=function(e){if(!e){return null}return e.map((function(e){var n=e.imageDetails;return[a(ye,{name:"Image Type",value:n.mediaType}),a(ye,{name:"Image Hash",value:re.ToHex(n.logotypeHash[0].hashValue),monospace:true}),a(ye,{name:"Image URL",value:n.logotypeURI[0],monospace:true,collapse:true}),a(ye,{name:"Image Hash Algorithm",value:le(n.logotypeHash[0].hashAlg.algorithm)})]}))};var r=function(e){if(!e){return null}return e.map((function(e){var n=e.audioDetails;return[a(ye,{name:"Audio Type",value:n.mediaType}),a(ye,{name:"Audio Hash",value:re.ToHex(n.logotypeHash[0].hashValue),monospace:true}),a(ye,{name:"Audio URL",value:n.logotypeURI[0],monospace:true,collapse:true}),a(ye,{name:"Audio Hash Algorithm",value:le(n.logotypeHash[0].hashAlg.algorithm)})]}))};var i=function(e,n){if(!n||!n.direct){return null}var i=n.direct,u=i.image,o=i.audio;return[a(ye,{name:"Type",value:e}),t(u),r(o),a("tr",null,a("td",null),a("td",null))]};return a(je,{extension:n},i("Subject",n.value.subjectLogo),i("Issuer",n.value.issuerLogo))};
306
+ /**
307
+ * @license
308
+ * Copyright (c) Peculiar Ventures, LLC.
309
+ *
310
+ * This source code is licensed under the MIT license found in the
311
+ * LICENSE file in the root directory of this source tree.
312
+ */var Ia=function(e){var n=e.extension;return a(je,{extension:n},n.value.map((function(e,n){return[a(ye,{name:"Entry #".concat(n+1),value:""}),a(ye,{name:"SPC",value:e.spc}),a(ye,{name:"Range",value:e.range?"start=".concat(e.range.start," count==").concat(e.range.count):null}),a(ye,{name:"One",value:e.one})]})))};
313
+ /**
314
+ * @license
315
+ * Copyright (c) Peculiar Ventures, LLC.
316
+ *
317
+ * This source code is licensed under the MIT license found in the
318
+ * LICENSE file in the root directory of this source tree.
319
+ */var Aa=function(e){var n=e.extension;return a(je,{extension:n},n.value.requireExplicitPolicy&&a(ye,{name:"Require Explicit Policy",value:x.toASN(n.value.requireExplicitPolicy).valueBlock.toString()}),n.value.inhibitPolicyMapping&&a(ye,{name:"Inhibit Policy Mapping",value:x.toASN(n.value.inhibitPolicyMapping).valueBlock.toString()}))};
320
+ /**
321
+ * @license
322
+ * Copyright (c) Peculiar Ventures, LLC.
323
+ *
324
+ * This source code is licensed under the MIT license found in the
325
+ * LICENSE file in the root directory of this source tree.
326
+ */var Na=function(e){var n=e.extension;return a(je,{extension:n},n.value.map((function(e,n){return[a(ye,{name:"Policy #".concat(n+1),value:""}),a(ye,{name:"Issuer Domain",value:le(e.issuerDomainPolicy)}),a(ye,{name:"Subject Domain",value:le(e.subjectDomainPolicy)})]})))};
327
+ /**
328
+ * @license
329
+ * Copyright (c) Peculiar Ventures, LLC.
330
+ *
331
+ * This source code is licensed under the MIT license found in the
332
+ * LICENSE file in the root directory of this source tree.
333
+ */var Ta=function(e){var n=e.extension;return a(je,{extension:n},a(ye,{name:t.getString("value"),value:n.value.value}))};
334
+ /**
335
+ * @license
336
+ * Copyright (c) Peculiar Ventures, LLC.
337
+ *
338
+ * This source code is licensed under the MIT license found in the
339
+ * LICENSE file in the root directory of this source tree.
340
+ */var ja=function(e){var n;var r=e.extension;return a(je,{extension:r},(n=r.value.distributionPoint)===null||n===void 0?void 0:n.fullName.map((function(n){return a(Ve,Object.assign({generalName:n},e))})),r.value.onlySomeReasons&&a(ye,{name:t.getString("onlyReasons"),value:r.value.onlySomeReasons.toJSON().join(", ")}),r.value.indirectCRL&&a(ye,{name:t.getString("indirectCRL"),value:t.getString("yes")}),r.value.onlyContainsUserCerts&&a(ye,{name:t.getString("onlyUserCertificates"),value:t.getString("yes")}),r.value.onlyContainsAttributeCerts&&a(ye,{name:t.getString("onlyAttributeCertificates"),value:t.getString("yes")}),r.value.onlyContainsCACerts&&a(ye,{name:t.getString("onlyCACertificates"),value:t.getString("yes")}))};
341
+ /**
342
+ * @license
343
+ * Copyright (c) Peculiar Ventures, LLC.
344
+ *
345
+ * This source code is licensed under the MIT license found in the
346
+ * LICENSE file in the root directory of this source tree.
347
+ */var Da=function(e){var n=e.extension;var r=function(e){return Object.keys(e).map((function(n){var i=e[n];var u="";switch(true){case typeof i==="string"||typeof i==="number":u=i;break;case i instanceof C:u=i.join(", ");break;case typeof i==="boolean":u=i?t.getString("yes"):t.getString("no");break;case Object.is(i,null):u="NULL";break;case i instanceof S:return[a(ye,{name:se(n),value:""}),a(ge,null,r(i))];case ie.isBufferSource(i):if(n==="attestationApplicationId"){try{var c=o.parse(i,h);if(c.packageInfos.length||c.signatureDigests.length){return[a(ye,{name:se(n),value:""}),Boolean(c.packageInfos)&&a(ge,null,a(ye,{name:se("packageInfos"),value:""}),c.packageInfos.map((function(e){return a(ge,null,r(e))})))]}}catch(e){}}try{u=re.ToString(i)}catch(e){u=re.ToHex(i)}break}return a(ye,{name:se(n),value:u})}))};var i=function(e,n){if(n.length===0){return null}return[a(ye,{name:e,value:""}),a(ge,null,n.map(r))]};return a(je,{extension:n},a(ye,{name:se("attestationVersion"),value:n.value.attestationVersion}),a(ye,{name:se("attestationSecurityLevel"),value:n.value.attestationSecurityLevel}),a(ye,{name:se("keymasterVersion"),value:n.value.keymasterVersion}),a(ye,{name:se("keymasterSecurityLevel"),value:n.value.keymasterSecurityLevel}),a(ye,{name:se("attestationChallenge"),value:re.ToString(n.value.attestationChallenge)}),a(ye,{name:se("uniqueId"),value:re.ToString(n.value.uniqueId)||undefined}),i(se("softwareEnforced"),n.value.softwareEnforced),i(se("teeEnforced"),n.value.teeEnforced))};
348
+ /**
349
+ * @license
350
+ * Copyright (c) Peculiar Ventures, LLC.
351
+ *
352
+ * This source code is licensed under the MIT license found in the
353
+ * LICENSE file in the root directory of this source tree.
354
+ */var Oa=function(e){var n=e.extension;return a(je,{extension:n},Object.keys(n.value).map((function(e){return a(ye,{name:se(e),value:n.value[e]})})))};
355
+ /**
356
+ * @license
357
+ * Copyright (c) Peculiar Ventures, LLC.
358
+ *
359
+ * This source code is licensed under the MIT license found in the
360
+ * LICENSE file in the root directory of this source tree.
361
+ */var Pa=e("E",(function(e){var n=e.extensions,t=e.title;if(!n||!n.length){return null}return[a(pe,{value:t||"Extensions"}),n.map((function(n){try{if(n.value instanceof I){return a(De,{extension:n})}if(n.value instanceof A){return a(Oe,{extension:n})}if(n.value instanceof N){return a(Pe,{extension:n})}if(n.value instanceof T){return a(ke,Object.assign({extension:n},e))}if(n.value instanceof j){return a(Le,Object.assign({extension:n},e))}if(n.value instanceof D){return a(Be,Object.assign({extension:n},e))}if(n.value instanceof O||n.value instanceof P){return a(Re,Object.assign({extension:n},e))}if(n.value instanceof k){return a(He,Object.assign({extension:n},e))}if(n.value instanceof L){return a(Ee,{extension:n})}if(n.value instanceof G){return a(Ue,{extension:n})}if(n.value instanceof V){return a(qe,Object.assign({extension:n},e))}if(n.value instanceof B){return a(we,{extension:n})}if(n.value instanceof R){return a(Me,{extension:n})}if(n.value instanceof H){return a(Ke,{extension:n})}if(n.value instanceof E){return a(ca,{extension:n})}if(n.value instanceof _){return a(fa,{extension:n})}if(n.value instanceof U){return a(la,{extension:n})}if(n.value instanceof q){return a(sa,{extension:n})}if(n.value instanceof w){return a(va,Object.assign({extension:n},e))}if(n.value instanceof M){return a(da,Object.assign({extension:n},e))}if(n.value instanceof K){return a(ba,{extension:n})}if(n.value instanceof Q){return a(ma,{extension:n})}if(n.value instanceof J){return a(pa,{extension:n})}if(n.value instanceof X){return a(xa,{extension:n})}if(n.value instanceof Y){return a(ha,{extension:n})}if(n.value instanceof F){return a(Sa,{extension:n})}if(n.value instanceof z){return a(Ca,{extension:n})}if(n.value instanceof W){return a(Ia,{extension:n})}if(n.value instanceof $){return a(Aa,{extension:n})}if(n.value instanceof Z){return a(Na,{extension:n})}if(n.value instanceof ee){return a(Ta,{extension:n})}if(n.value instanceof ae){return a(ja,Object.assign({extension:n},e))}if(n.value instanceof ne){return a(Da,Object.assign({extension:n},e))}if(n.value instanceof te){return a(Oa,Object.assign({extension:n},e))}if(typeof n.value==="string"){return a(ya,{extension:n})}return a(je,{extension:n})}catch(e){console.error("Error render extension:",n.asn.extnID);return null}}))]}));
362
+ /**
363
+ * @license
364
+ * Copyright (c) Peculiar Ventures, LLC.
365
+ *
366
+ * This source code is licensed under the MIT license found in the
367
+ * LICENSE file in the root directory of this source tree.
368
+ */var ka=e("M",(function(e){var n=e.certificate;return[a(pe,{value:t.getString("miscellaneous")}),a("tr",null,a("td",null,a(ce,{onClick:function(){return n.downloadAsPEM()},startIcon:a(fe,null)},t.getString("download.pem")))),a("tr",null,a("td",null,a(ce,{onClick:function(){return n.downloadAsDER()},startIcon:a(fe,null)},t.getString("download.der"))))]}))}}}));
369
+ //# sourceMappingURL=p-6daee4d7.system.js.map