@peculiar/certificates-viewer 4.0.2 → 4.1.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 (152) 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 +647 -217
  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-bf416170.js} +553 -214
  19. package/dist/cjs/certification_request-bf416170.js.map +1 -0
  20. package/dist/cjs/{crl-b4322166.js → crl-d9591b95.js} +14 -14
  21. package/dist/cjs/{crl-b4322166.js.map → crl-d9591b95.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-6e800553.js} +109 -15
  26. package/dist/cjs/miscellaneous-6e800553.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-53feebd3.js} +7 -7
  33. package/dist/cjs/{x509_certificate-989b1435.js.map → x509_certificate-53feebd3.js.map} +1 -1
  34. package/dist/collection/components/certificate-details-parts/extensions/index.js +5 -0
  35. package/dist/collection/components/certificate-details-parts/extensions/index.js.map +1 -1
  36. package/dist/collection/components/certificate-details-parts/extensions/key_description_extension.js +80 -0
  37. package/dist/collection/components/certificate-details-parts/extensions/key_description_extension.js.map +1 -0
  38. package/dist/collection/constants/oids.js +1 -0
  39. package/dist/collection/constants/oids.js.map +1 -1
  40. package/dist/collection/crypto/extension.js +4 -0
  41. package/dist/collection/crypto/extension.js.map +1 -1
  42. package/dist/collection/utils/camel_case_to_words.js +15 -0
  43. package/dist/collection/utils/camel_case_to_words.js.map +1 -0
  44. package/dist/collection/utils/index.js +1 -0
  45. package/dist/collection/utils/index.js.map +1 -1
  46. package/dist/esm/{certification_request-5cadde9f.js → certification_request-c9dc8e9c.js} +545 -209
  47. package/dist/esm/certification_request-c9dc8e9c.js.map +1 -0
  48. package/dist/esm/{crl-11670c3e.js → crl-70e85374.js} +14 -14
  49. package/dist/esm/{crl-11670c3e.js.map → crl-70e85374.js.map} +1 -1
  50. package/dist/esm/{download-57c5bf8f.js → download-aacb6eff.js} +375 -375
  51. package/dist/esm/download-aacb6eff.js.map +1 -0
  52. package/dist/esm/index.js +1 -1
  53. package/dist/esm/{miscellaneous-7793a310.js → miscellaneous-0763f98e.js} +109 -15
  54. package/dist/esm/miscellaneous-0763f98e.js.map +1 -0
  55. package/dist/esm/peculiar-attribute-certificate-viewer_3.entry.js +8 -8
  56. package/dist/esm/peculiar-attribute-certificate-viewer_3.entry.js.map +1 -1
  57. package/dist/esm/peculiar-certificate-decoder.entry.js +4 -4
  58. package/dist/esm/peculiar-certificate-viewer.entry.js +4 -4
  59. package/dist/esm/peculiar-certificates-viewer.entry.js +3 -3
  60. package/dist/esm/{x509_certificate-dfae6999.js → x509_certificate-8cf268d1.js} +7 -7
  61. package/dist/esm/{x509_certificate-dfae6999.js.map → x509_certificate-8cf268d1.js.map} +1 -1
  62. package/dist/esm-es5/certification_request-c9dc8e9c.js +97 -0
  63. package/dist/esm-es5/certification_request-c9dc8e9c.js.map +1 -0
  64. package/dist/esm-es5/{crl-11670c3e.js → crl-70e85374.js} +6 -6
  65. package/dist/esm-es5/{crl-11670c3e.js.map → crl-70e85374.js.map} +1 -1
  66. package/dist/esm-es5/download-aacb6eff.js +43 -0
  67. package/dist/esm-es5/download-aacb6eff.js.map +1 -0
  68. package/dist/esm-es5/index.js +1 -1
  69. package/dist/esm-es5/{miscellaneous-7793a310.js → miscellaneous-0763f98e.js} +63 -49
  70. package/dist/esm-es5/miscellaneous-0763f98e.js.map +1 -0
  71. package/dist/esm-es5/peculiar-attribute-certificate-viewer_3.entry.js +3 -3
  72. package/dist/esm-es5/peculiar-attribute-certificate-viewer_3.entry.js.map +1 -1
  73. package/dist/esm-es5/peculiar-certificate-decoder.entry.js +1 -1
  74. package/dist/esm-es5/peculiar-certificate-viewer.entry.js +1 -1
  75. package/dist/esm-es5/peculiar-certificates-viewer.entry.js +1 -1
  76. package/dist/esm-es5/x509_certificate-8cf268d1.js +12 -0
  77. package/dist/esm-es5/{x509_certificate-dfae6999.js.map → x509_certificate-8cf268d1.js.map} +1 -1
  78. package/dist/peculiar/index.esm.js +1 -1
  79. package/dist/peculiar/{p-7f9fef87.entry.js → p-025b3cfb.entry.js} +2 -2
  80. package/dist/peculiar/{p-441109db.system.entry.js → p-0bd7c6bc.system.entry.js} +2 -2
  81. package/dist/peculiar/p-10d2d400.system.js +34 -0
  82. package/dist/peculiar/{p-6667fe6e.system.js.map → p-10d2d400.system.js.map} +1 -1
  83. package/dist/peculiar/p-14f281b0.system.js +43 -0
  84. package/dist/peculiar/p-14f281b0.system.js.map +1 -0
  85. package/dist/peculiar/p-15cb92b5.system.js +97 -0
  86. package/dist/peculiar/p-15cb92b5.system.js.map +1 -0
  87. package/dist/peculiar/p-1ef997ee.js +97 -0
  88. package/dist/peculiar/p-1ef997ee.js.map +1 -0
  89. package/dist/peculiar/{p-e39de121.system.entry.js → p-24050d82.system.entry.js} +2 -2
  90. package/dist/peculiar/{p-bcc86979.entry.js → p-2f48fe70.entry.js} +2 -2
  91. package/dist/peculiar/{p-c362dc5e.system.js → p-31b60224.system.js} +65 -51
  92. package/dist/peculiar/p-31b60224.system.js.map +1 -0
  93. package/dist/peculiar/{p-0b475f2a.system.entry.js → p-4ab9673f.system.entry.js} +4 -4
  94. package/dist/peculiar/{p-0b475f2a.system.entry.js.map → p-4ab9673f.system.entry.js.map} +1 -1
  95. package/dist/peculiar/p-542412ae.js +33 -0
  96. package/dist/peculiar/{p-43eb3721.js.map → p-542412ae.js.map} +1 -1
  97. package/dist/peculiar/p-59e5ac12.js +43 -0
  98. package/dist/peculiar/p-59e5ac12.js.map +1 -0
  99. package/dist/peculiar/{p-1844b807.system.entry.js → p-5e49b881.system.entry.js} +2 -2
  100. package/dist/peculiar/p-72f53d81.js +12 -0
  101. package/dist/peculiar/{p-6e79b9c8.js.map → p-72f53d81.js.map} +1 -1
  102. package/dist/peculiar/p-80832207.system.js +1 -1
  103. package/dist/peculiar/{p-673336cf.entry.js → p-9c91dd68.entry.js} +5 -5
  104. package/dist/peculiar/{p-673336cf.entry.js.map → p-9c91dd68.entry.js.map} +1 -1
  105. package/dist/peculiar/{p-1de0381c.system.js → p-a3eeb94b.system.js} +2 -2
  106. package/dist/peculiar/p-ca02a823.js +362 -0
  107. package/dist/peculiar/p-ca02a823.js.map +1 -0
  108. package/dist/peculiar/p-cfca7dae.system.js +13 -0
  109. package/dist/peculiar/{p-31586b23.system.js.map → p-cfca7dae.system.js.map} +1 -1
  110. package/dist/peculiar/{p-882e1281.entry.js → p-e5b18cd1.entry.js} +2 -2
  111. package/dist/peculiar/peculiar.esm.js +1 -1
  112. package/dist/types/components/certificate-details-parts/extensions/key_description_extension.d.ts +15 -0
  113. package/dist/types/constants/oids.d.ts +1 -0
  114. package/dist/types/crypto/extension.d.ts +2 -1
  115. package/dist/types/utils/camel_case_to_words.d.ts +8 -0
  116. package/dist/types/utils/index.d.ts +1 -0
  117. package/hydrate/index.js +1039 -609
  118. package/package.json +22 -21
  119. package/dist/cjs/certification_request-c0cafa72.js.map +0 -1
  120. package/dist/cjs/download-972dda8a.js.map +0 -1
  121. package/dist/cjs/miscellaneous-e43aaae5.js.map +0 -1
  122. package/dist/esm/certification_request-5cadde9f.js.map +0 -1
  123. package/dist/esm/download-57c5bf8f.js.map +0 -1
  124. package/dist/esm/miscellaneous-7793a310.js.map +0 -1
  125. package/dist/esm-es5/certification_request-5cadde9f.js +0 -97
  126. package/dist/esm-es5/certification_request-5cadde9f.js.map +0 -1
  127. package/dist/esm-es5/download-57c5bf8f.js +0 -19
  128. package/dist/esm-es5/download-57c5bf8f.js.map +0 -1
  129. package/dist/esm-es5/miscellaneous-7793a310.js.map +0 -1
  130. package/dist/esm-es5/x509_certificate-dfae6999.js +0 -12
  131. package/dist/peculiar/p-31586b23.system.js +0 -13
  132. package/dist/peculiar/p-43eb3721.js +0 -33
  133. package/dist/peculiar/p-6667fe6e.system.js +0 -34
  134. package/dist/peculiar/p-6e79b9c8.js +0 -12
  135. package/dist/peculiar/p-74c241e7.js +0 -97
  136. package/dist/peculiar/p-74c241e7.js.map +0 -1
  137. package/dist/peculiar/p-a053c132.js +0 -19
  138. package/dist/peculiar/p-a053c132.js.map +0 -1
  139. package/dist/peculiar/p-a6e2e335.js +0 -348
  140. package/dist/peculiar/p-a6e2e335.js.map +0 -1
  141. package/dist/peculiar/p-ae9189f6.system.js +0 -19
  142. package/dist/peculiar/p-ae9189f6.system.js.map +0 -1
  143. package/dist/peculiar/p-c0a298fd.system.js +0 -97
  144. package/dist/peculiar/p-c0a298fd.system.js.map +0 -1
  145. package/dist/peculiar/p-c362dc5e.system.js.map +0 -1
  146. /package/dist/peculiar/{p-7f9fef87.entry.js.map → p-025b3cfb.entry.js.map} +0 -0
  147. /package/dist/peculiar/{p-441109db.system.entry.js.map → p-0bd7c6bc.system.entry.js.map} +0 -0
  148. /package/dist/peculiar/{p-e39de121.system.entry.js.map → p-24050d82.system.entry.js.map} +0 -0
  149. /package/dist/peculiar/{p-bcc86979.entry.js.map → p-2f48fe70.entry.js.map} +0 -0
  150. /package/dist/peculiar/{p-1844b807.system.entry.js.map → p-5e49b881.system.entry.js.map} +0 -0
  151. /package/dist/peculiar/{p-1de0381c.system.js.map → p-a3eeb94b.system.js.map} +0 -0
  152. /package/dist/peculiar/{p-882e1281.entry.js.map → p-e5b18cd1.entry.js.map} +0 -0
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- const download$1 = require('./download-972dda8a.js');
6
+ const download$1 = require('./download-0fa5b33c.js');
7
7
 
8
8
  /**
9
9
  * @license
@@ -35,12 +35,28 @@ const isBase64 = (value) => {
35
35
  }
36
36
  };
37
37
 
38
- var dayjs_min = download$1.createCommonjsModule(function (module, exports) {
39
- !function(t,e){module.exports=e();}(download$1.commonjsGlobal,(function(){var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",o="week",f="month",h="quarter",c="year",d="date",l="Invalid Date",$=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return "["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},m=function(t,e,n){var r=String(t);return !r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return (e<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return -t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,f),s=n-i<0,u=e.clone().add(r+(s?-1:1),f);return +(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return {M:f,y:c,w:o,d:a,D:d,h:u,m:s,s:i,ms:r,Q:h}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},g="en",D={};D[g]=M;var p=function(t){return t instanceof _},S=function t(e,n,r){var i;if(!e)return g;if("string"==typeof e){var s=e.toLowerCase();D[s]&&(i=s),n&&(D[s]=n,i=s);var u=e.split("-");if(!i&&u.length>1)return t(u[0])}else {var a=e.name;D[a]=e,i=a;}return !r&&i&&(g=i),i||!r&&g},w=function(t,e){if(p(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},O=v;O.l=S,O.i=p,O.w=function(t,e){return w(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=S(t.locale,null,!0),this.parse(t);}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(O.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.$x=t.x||{},this.init();},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds();},m.$utils=function(){return O},m.isValid=function(){return !(this.$d.toString()===l)},m.isSame=function(t,e){var n=w(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return w(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<w(t)},m.$g=function(t,e,n){return O.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,r=!!O.u(e)||e,h=O.p(t),l=function(t,e){var i=O.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},$=function(t,e){return O.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},y=this.$W,M=this.$M,m=this.$D,v="set"+(this.$u?"UTC":"");switch(h){case c:return r?l(1,0):l(31,11);case f:return r?l(1,M):l(0,M+1);case o:var g=this.$locale().weekStart||0,D=(y<g?y+7:y)-g;return l(r?m-D:m+(6-D),M);case a:case d:return $(v+"Hours",0);case u:return $(v+"Minutes",1);case s:return $(v+"Seconds",2);case i:return $(v+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,e){var n,o=O.p(t),h="set"+(this.$u?"UTC":""),l=(n={},n[a]=h+"Date",n[d]=h+"Date",n[f]=h+"Month",n[c]=h+"FullYear",n[u]=h+"Hours",n[s]=h+"Minutes",n[i]=h+"Seconds",n[r]=h+"Milliseconds",n)[o],$=o===a?this.$D+(e-this.$W):e;if(o===f||o===c){var y=this.clone().set(d,1);y.$d[l]($),y.init(),this.$d=y.set(d,Math.min(this.$D,y.daysInMonth())).$d;}else l&&this.$d[l]($);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[O.p(t)]()},m.add=function(r,h){var d,l=this;r=Number(r);var $=O.p(h),y=function(t){var e=w(l);return O.w(e.date(e.date()+Math.round(t*r)),l)};if($===f)return this.set(f,this.$M+r);if($===c)return this.set(c,this.$y+r);if($===a)return y(1);if($===o)return y(7);var M=(d={},d[s]=e,d[u]=n,d[i]=t,d)[$]||1,m=this.$d.getTime()+r*M;return O.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||l;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=O.z(this),s=this.$H,u=this.$m,a=this.$M,o=n.weekdays,f=n.months,h=function(t,n,i,s){return t&&(t[n]||t(e,r))||i[n].slice(0,s)},c=function(t){return O.s(s%12||12,t,"0")},d=n.meridiem||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r},$={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:O.s(a+1,2,"0"),MMM:h(n.monthsShort,a,f,3),MMMM:h(f,a),D:this.$D,DD:O.s(this.$D,2,"0"),d:String(this.$W),dd:h(n.weekdaysMin,this.$W,o,2),ddd:h(n.weekdaysShort,this.$W,o,3),dddd:o[this.$W],H:String(s),HH:O.s(s,2,"0"),h:c(1),hh:c(2),a:d(s,u,!0),A:d(s,u,!1),m:String(u),mm:O.s(u,2,"0"),s:String(this.$s),ss:O.s(this.$s,2,"0"),SSS:O.s(this.$ms,3,"0"),Z:i};return r.replace(y,(function(t,e){return e||$[t]||i.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,d,l){var $,y=O.p(d),M=w(r),m=(M.utcOffset()-this.utcOffset())*e,v=this-M,g=O.m(this,M);return g=($={},$[c]=g/12,$[f]=g,$[h]=g/3,$[o]=(v-m)/6048e5,$[a]=(v-m)/864e5,$[u]=v/n,$[s]=v/e,$[i]=v/t,$)[y]||v,l?g:O.a(g)},m.daysInMonth=function(){return this.endOf(f).$D},m.$locale=function(){return D[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=S(t,e,!0);return r&&(n.$L=r),n},m.clone=function(){return O.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},M}(),T=_.prototype;return w.prototype=T,[["$ms",r],["$s",i],["$m",s],["$H",u],["$W",a],["$M",f],["$y",c],["$D",d]].forEach((function(t){T[t[1]]=function(e){return this.$g(e,t[0],t[1])};})),w.extend=function(t,e){return t.$i||(t(e,_,w),t.$i=!0),w},w.locale=S,w.isDayjs=p,w.unix=function(t){return w(1e3*t)},w.en=D[g],w.Ls=D,w.p={},w}));
38
+ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
39
+
40
+ function createCommonjsModule(fn, basedir, module) {
41
+ return module = {
42
+ path: basedir,
43
+ exports: {},
44
+ require: function (path, base) {
45
+ return commonjsRequire();
46
+ }
47
+ }, fn(module, module.exports), module.exports;
48
+ }
49
+
50
+ function commonjsRequire () {
51
+ throw new Error('Dynamic requires are not currently supported by @rollup/plugin-commonjs');
52
+ }
53
+
54
+ var dayjs_min = createCommonjsModule(function (module, exports) {
55
+ !function(t,e){module.exports=e();}(commonjsGlobal,(function(){var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",o="week",f="month",h="quarter",c="year",d="date",l="Invalid Date",$=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return "["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},m=function(t,e,n){var r=String(t);return !r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return (e<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return -t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,f),s=n-i<0,u=e.clone().add(r+(s?-1:1),f);return +(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return {M:f,y:c,w:o,d:a,D:d,h:u,m:s,s:i,ms:r,Q:h}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},g="en",D={};D[g]=M;var p=function(t){return t instanceof _},S=function t(e,n,r){var i;if(!e)return g;if("string"==typeof e){var s=e.toLowerCase();D[s]&&(i=s),n&&(D[s]=n,i=s);var u=e.split("-");if(!i&&u.length>1)return t(u[0])}else {var a=e.name;D[a]=e,i=a;}return !r&&i&&(g=i),i||!r&&g},w=function(t,e){if(p(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},O=v;O.l=S,O.i=p,O.w=function(t,e){return w(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=S(t.locale,null,!0),this.parse(t);}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(O.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.$x=t.x||{},this.init();},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds();},m.$utils=function(){return O},m.isValid=function(){return !(this.$d.toString()===l)},m.isSame=function(t,e){var n=w(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return w(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<w(t)},m.$g=function(t,e,n){return O.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,r=!!O.u(e)||e,h=O.p(t),l=function(t,e){var i=O.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},$=function(t,e){return O.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},y=this.$W,M=this.$M,m=this.$D,v="set"+(this.$u?"UTC":"");switch(h){case c:return r?l(1,0):l(31,11);case f:return r?l(1,M):l(0,M+1);case o:var g=this.$locale().weekStart||0,D=(y<g?y+7:y)-g;return l(r?m-D:m+(6-D),M);case a:case d:return $(v+"Hours",0);case u:return $(v+"Minutes",1);case s:return $(v+"Seconds",2);case i:return $(v+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,e){var n,o=O.p(t),h="set"+(this.$u?"UTC":""),l=(n={},n[a]=h+"Date",n[d]=h+"Date",n[f]=h+"Month",n[c]=h+"FullYear",n[u]=h+"Hours",n[s]=h+"Minutes",n[i]=h+"Seconds",n[r]=h+"Milliseconds",n)[o],$=o===a?this.$D+(e-this.$W):e;if(o===f||o===c){var y=this.clone().set(d,1);y.$d[l]($),y.init(),this.$d=y.set(d,Math.min(this.$D,y.daysInMonth())).$d;}else l&&this.$d[l]($);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[O.p(t)]()},m.add=function(r,h){var d,l=this;r=Number(r);var $=O.p(h),y=function(t){var e=w(l);return O.w(e.date(e.date()+Math.round(t*r)),l)};if($===f)return this.set(f,this.$M+r);if($===c)return this.set(c,this.$y+r);if($===a)return y(1);if($===o)return y(7);var M=(d={},d[s]=e,d[u]=n,d[i]=t,d)[$]||1,m=this.$d.getTime()+r*M;return O.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||l;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=O.z(this),s=this.$H,u=this.$m,a=this.$M,o=n.weekdays,f=n.months,h=function(t,n,i,s){return t&&(t[n]||t(e,r))||i[n].slice(0,s)},c=function(t){return O.s(s%12||12,t,"0")},d=n.meridiem||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r},$={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:O.s(a+1,2,"0"),MMM:h(n.monthsShort,a,f,3),MMMM:h(f,a),D:this.$D,DD:O.s(this.$D,2,"0"),d:String(this.$W),dd:h(n.weekdaysMin,this.$W,o,2),ddd:h(n.weekdaysShort,this.$W,o,3),dddd:o[this.$W],H:String(s),HH:O.s(s,2,"0"),h:c(1),hh:c(2),a:d(s,u,!0),A:d(s,u,!1),m:String(u),mm:O.s(u,2,"0"),s:String(this.$s),ss:O.s(this.$s,2,"0"),SSS:O.s(this.$ms,3,"0"),Z:i};return r.replace(y,(function(t,e){return e||$[t]||i.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,d,l){var $,y=O.p(d),M=w(r),m=(M.utcOffset()-this.utcOffset())*e,v=this-M,g=O.m(this,M);return g=($={},$[c]=g/12,$[f]=g,$[h]=g/3,$[o]=(v-m)/6048e5,$[a]=(v-m)/864e5,$[u]=v/n,$[s]=v/e,$[i]=v/t,$)[y]||v,l?g:O.a(g)},m.daysInMonth=function(){return this.endOf(f).$D},m.$locale=function(){return D[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=S(t,e,!0);return r&&(n.$L=r),n},m.clone=function(){return O.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},M}(),T=_.prototype;return w.prototype=T,[["$ms",r],["$s",i],["$m",s],["$H",u],["$W",a],["$M",f],["$y",c],["$D",d]].forEach((function(t){T[t[1]]=function(e){return this.$g(e,t[0],t[1])};})),w.extend=function(t,e){return t.$i||(t(e,_,w),t.$i=!0),w},w.locale=S,w.isDayjs=p,w.unix=function(t){return w(1e3*t)},w.en=D[g],w.Ls=D,w.p={},w}));
40
56
  });
41
57
 
42
- var relativeTime = download$1.createCommonjsModule(function (module, exports) {
43
- !function(r,e){module.exports=e();}(download$1.commonjsGlobal,(function(){return function(r,e,t){r=r||{};var n=e.prototype,o={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function i(r,e,t,o){return n.fromToBase(r,e,t,o)}t.en.relativeTime=o,n.fromToBase=function(e,n,i,d,u){for(var f,a,s,l=i.$locale().relativeTime||o,h=r.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],m=h.length,c=0;c<m;c+=1){var y=h[c];y.d&&(f=d?t(e).diff(i,y.d,!0):i.diff(e,y.d,!0));var p=(r.rounding||Math.round)(Math.abs(f));if(s=f>0,p<=y.r||!y.r){p<=1&&c>0&&(y=h[c-1]);var v=l[y.l];u&&(p=u(""+p)),a="string"==typeof v?v.replace("%d",p):v(p,n,y.l,s);break}}if(n)return a;var M=s?l.future:l.past;return "function"==typeof M?M(a):M.replace("%s",a)},n.to=function(r,e){return i(r,e,this,!0)},n.from=function(r,e){return i(r,e,this)};var d=function(r){return r.$u?t.utc():t()};n.toNow=function(r){return this.to(d(this),r)},n.fromNow=function(r){return this.from(d(this),r)};}}));
58
+ var relativeTime = createCommonjsModule(function (module, exports) {
59
+ !function(r,e){module.exports=e();}(commonjsGlobal,(function(){return function(r,e,t){r=r||{};var n=e.prototype,o={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function i(r,e,t,o){return n.fromToBase(r,e,t,o)}t.en.relativeTime=o,n.fromToBase=function(e,n,i,d,u){for(var f,a,s,l=i.$locale().relativeTime||o,h=r.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],m=h.length,c=0;c<m;c+=1){var y=h[c];y.d&&(f=d?t(e).diff(i,y.d,!0):i.diff(e,y.d,!0));var p=(r.rounding||Math.round)(Math.abs(f));if(s=f>0,p<=y.r||!y.r){p<=1&&c>0&&(y=h[c-1]);var v=l[y.l];u&&(p=u(""+p)),a="string"==typeof v?v.replace("%d",p):v(p,n,y.l,s);break}}if(n)return a;var M=s?l.future:l.past;return "function"==typeof M?M(a):M.replace("%s",a)},n.to=function(r,e){return i(r,e,this,!0)},n.from=function(r,e){return i(r,e,this)};var d=function(r){return r.$u?t.utc():t()};n.toNow=function(r){return this.to(d(this),r)},n.fromNow=function(r){return this.from(d(this),r)};}}));
44
60
  });
45
61
 
46
62
  /**
@@ -2499,6 +2515,7 @@ const OIDs = {
2499
2515
  '1.3.6.1.4.1.4329.7': 'Siemens Public Key Infrastructure',
2500
2516
  '1.3.6.1.4.1.52266.1': 'Legal Entity Identifier',
2501
2517
  '1.3.6.1.4.1.52266.2': 'Role',
2518
+ '1.3.6.1.4.1.11129.2.1.17': 'Android Key Attestation',
2502
2519
  // https://ec.europa.eu/futurium/sites/futurium/files/ntqwac_pilot.pdf
2503
2520
  '0.4.0.9496.1': 'Domain Name Beneficiary',
2504
2521
  '0.4.0.9496.2': 'DNB Legal representative',
@@ -2778,7 +2795,7 @@ function HexBlock(BaseClass) {
2778
2795
  super(...args);
2779
2796
  const params = args[0] || {};
2780
2797
  this.isHexOnly = (_a = params.isHexOnly) !== null && _a !== void 0 ? _a : false;
2781
- this.valueHexView = params.valueHex ? download$1.build.BufferSourceConverter.toUint8Array(params.valueHex) : EMPTY_VIEW;
2798
+ this.valueHexView = params.valueHex ? download$1.BufferSourceConverter_1.toUint8Array(params.valueHex) : EMPTY_VIEW;
2782
2799
  }
2783
2800
  get valueHex() {
2784
2801
  return this.valueHexView.slice().buffer;
@@ -2816,7 +2833,7 @@ function HexBlock(BaseClass) {
2816
2833
  return {
2817
2834
  ...super.toJSON(),
2818
2835
  isHexOnly: this.isHexOnly,
2819
- valueHex: download$1.build.Convert.ToHex(this.valueHexView),
2836
+ valueHex: download$1.Convert_1.ToHex(this.valueHexView),
2820
2837
  };
2821
2838
  }
2822
2839
  },
@@ -2829,7 +2846,7 @@ class LocalBaseBlock {
2829
2846
  this.blockLength = blockLength;
2830
2847
  this.error = error;
2831
2848
  this.warnings = warnings;
2832
- this.valueBeforeDecodeView = download$1.build.BufferSourceConverter.toUint8Array(valueBeforeDecode);
2849
+ this.valueBeforeDecodeView = download$1.BufferSourceConverter_1.toUint8Array(valueBeforeDecode);
2833
2850
  }
2834
2851
  static blockName() {
2835
2852
  return this.NAME;
@@ -2846,7 +2863,7 @@ class LocalBaseBlock {
2846
2863
  blockLength: this.blockLength,
2847
2864
  error: this.error,
2848
2865
  warnings: this.warnings,
2849
- valueBeforeDecode: download$1.build.Convert.ToHex(this.valueBeforeDecodeView),
2866
+ valueBeforeDecode: download$1.Convert_1.ToHex(this.valueBeforeDecodeView),
2850
2867
  };
2851
2868
  }
2852
2869
  }
@@ -2868,7 +2885,7 @@ class LocalIdentificationBlock extends HexBlock(LocalBaseBlock) {
2868
2885
  super();
2869
2886
  if (idBlock) {
2870
2887
  this.isHexOnly = (_a = idBlock.isHexOnly) !== null && _a !== void 0 ? _a : false;
2871
- this.valueHexView = idBlock.valueHex ? download$1.build.BufferSourceConverter.toUint8Array(idBlock.valueHex) : EMPTY_VIEW;
2888
+ this.valueHexView = idBlock.valueHex ? download$1.BufferSourceConverter_1.toUint8Array(idBlock.valueHex) : EMPTY_VIEW;
2872
2889
  this.tagClass = (_b = idBlock.tagClass) !== null && _b !== void 0 ? _b : -1;
2873
2890
  this.tagNumber = (_c = idBlock.tagNumber) !== null && _c !== void 0 ? _c : -1;
2874
2891
  this.isConstructed = (_d = idBlock.isConstructed) !== null && _d !== void 0 ? _d : false;
@@ -2934,7 +2951,7 @@ class LocalIdentificationBlock extends HexBlock(LocalBaseBlock) {
2934
2951
  return retView.buffer;
2935
2952
  }
2936
2953
  fromBER(inputBuffer, inputOffset, inputLength) {
2937
- const inputView = download$1.build.BufferSourceConverter.toUint8Array(inputBuffer);
2954
+ const inputView = download$1.BufferSourceConverter_1.toUint8Array(inputBuffer);
2938
2955
  if (!checkBufferParams(this, inputView, inputOffset, inputLength)) {
2939
2956
  return -1;
2940
2957
  }
@@ -3043,7 +3060,7 @@ class LocalLengthBlock extends LocalBaseBlock {
3043
3060
  this.length = (_c = lenBlock.length) !== null && _c !== void 0 ? _c : 0;
3044
3061
  }
3045
3062
  fromBER(inputBuffer, inputOffset, inputLength) {
3046
- const view = download$1.build.BufferSourceConverter.toUint8Array(inputBuffer);
3063
+ const view = download$1.BufferSourceConverter_1.toUint8Array(inputBuffer);
3047
3064
  if (!checkBufferParams(this, view, inputOffset, inputLength)) {
3048
3065
  return -1;
3049
3066
  }
@@ -3202,10 +3219,10 @@ class BaseBlock extends LocalBaseBlock {
3202
3219
  if (encoding === "ascii") {
3203
3220
  return this.onAsciiEncoding();
3204
3221
  }
3205
- return download$1.build.Convert.ToHex(this.toBER());
3222
+ return download$1.Convert_1.ToHex(this.toBER());
3206
3223
  }
3207
3224
  onAsciiEncoding() {
3208
- return `${this.constructor.NAME} : ${download$1.build.Convert.ToHex(this.valueBlock.valueBeforeDecodeView)}`;
3225
+ return `${this.constructor.NAME} : ${download$1.Convert_1.ToHex(this.valueBlock.valueBeforeDecodeView)}`;
3209
3226
  }
3210
3227
  isEqual(other) {
3211
3228
  if (this === other) {
@@ -3503,7 +3520,7 @@ function fromBER(inputBuffer) {
3503
3520
  result
3504
3521
  };
3505
3522
  }
3506
- return localFromBER(download$1.build.BufferSourceConverter.toUint8Array(inputBuffer).slice(), 0, inputBuffer.byteLength);
3523
+ return localFromBER(download$1.BufferSourceConverter_1.toUint8Array(inputBuffer).slice(), 0, inputBuffer.byteLength);
3507
3524
  }
3508
3525
 
3509
3526
  function checkLen(indefiniteLength, length) {
@@ -3519,7 +3536,7 @@ class LocalConstructedValueBlock extends ValueBlock {
3519
3536
  this.isIndefiniteForm = isIndefiniteForm;
3520
3537
  }
3521
3538
  fromBER(inputBuffer, inputOffset, inputLength) {
3522
- const view = download$1.build.BufferSourceConverter.toUint8Array(inputBuffer);
3539
+ const view = download$1.BufferSourceConverter_1.toUint8Array(inputBuffer);
3523
3540
  if (!checkBufferParams(this, view, inputOffset, inputLength)) {
3524
3541
  return -1;
3525
3542
  }
@@ -3689,7 +3706,7 @@ class LocalBooleanValueBlock extends HexBlock(ValueBlock) {
3689
3706
  constructor({ value, ...parameters } = {}) {
3690
3707
  super(parameters);
3691
3708
  if (parameters.valueHex) {
3692
- this.valueHexView = download$1.build.BufferSourceConverter.toUint8Array(parameters.valueHex);
3709
+ this.valueHexView = download$1.BufferSourceConverter_1.toUint8Array(parameters.valueHex);
3693
3710
  }
3694
3711
  else {
3695
3712
  this.valueHexView = new Uint8Array(1);
@@ -3710,7 +3727,7 @@ class LocalBooleanValueBlock extends HexBlock(ValueBlock) {
3710
3727
  this.valueHexView[0] = value ? 0xFF : 0x00;
3711
3728
  }
3712
3729
  fromBER(inputBuffer, inputOffset, inputLength) {
3713
- const inputView = download$1.build.BufferSourceConverter.toUint8Array(inputBuffer);
3730
+ const inputView = download$1.BufferSourceConverter_1.toUint8Array(inputBuffer);
3714
3731
  if (!checkBufferParams(this, inputView, inputOffset, inputLength)) {
3715
3732
  return -1;
3716
3733
  }
@@ -3857,7 +3874,7 @@ class OctetString$1 extends BaseBlock {
3857
3874
  if (this.valueBlock.isConstructed || (this.valueBlock.value && this.valueBlock.value.length)) {
3858
3875
  return Constructed.prototype.onAsciiEncoding.call(this);
3859
3876
  }
3860
- return `${this.constructor.NAME} : ${download$1.build.Convert.ToHex(this.valueBlock.valueHexView)}`;
3877
+ return `${this.constructor.NAME} : ${download$1.Convert_1.ToHex(this.valueBlock.valueHexView)}`;
3861
3878
  }
3862
3879
  getValue() {
3863
3880
  if (!this.idBlock.isConstructed) {
@@ -3869,7 +3886,7 @@ class OctetString$1 extends BaseBlock {
3869
3886
  array.push(content.valueBlock.valueHexView);
3870
3887
  }
3871
3888
  }
3872
- return download$1.build.BufferSourceConverter.concat(array);
3889
+ return download$1.BufferSourceConverter_1.concat(array);
3873
3890
  }
3874
3891
  }
3875
3892
  _a$r = OctetString$1;
@@ -3917,7 +3934,7 @@ class LocalBitStringValueBlock extends HexBlock(LocalConstructedValueBlock) {
3917
3934
  }
3918
3935
  return resultOffset;
3919
3936
  }
3920
- const inputView = download$1.build.BufferSourceConverter.toUint8Array(inputBuffer);
3937
+ const inputView = download$1.BufferSourceConverter_1.toUint8Array(inputBuffer);
3921
3938
  if (!checkBufferParams(this, inputView, inputOffset, inputLength)) {
3922
3939
  return -1;
3923
3940
  }
@@ -4257,13 +4274,13 @@ class Integer extends BaseBlock {
4257
4274
  const bigIntValue = BigInt(value);
4258
4275
  const writer = new ViewWriter();
4259
4276
  const hex = bigIntValue.toString(16).replace(/^-/, "");
4260
- const view = new Uint8Array(download$1.build.Convert.FromHex(hex));
4277
+ const view = new Uint8Array(download$1.Convert_1.FromHex(hex));
4261
4278
  if (bigIntValue < 0) {
4262
4279
  const first = new Uint8Array(view.length + (view[0] & 0x80 ? 1 : 0));
4263
4280
  first[0] |= 0x80;
4264
- const firstInt = BigInt(`0x${download$1.build.Convert.ToHex(first)}`);
4281
+ const firstInt = BigInt(`0x${download$1.Convert_1.ToHex(first)}`);
4265
4282
  const secondInt = firstInt + bigIntValue;
4266
- const second = download$1.build.BufferSourceConverter.toUint8Array(download$1.build.Convert.FromHex(secondInt.toString(16)));
4283
+ const second = download$1.BufferSourceConverter_1.toUint8Array(download$1.Convert_1.FromHex(secondInt.toString(16)));
4267
4284
  second[0] |= 0x80;
4268
4285
  writer.write(second);
4269
4286
  }
@@ -4324,7 +4341,7 @@ class LocalSidValueBlock extends HexBlock(ValueBlock) {
4324
4341
  if (!inputLength) {
4325
4342
  return inputOffset;
4326
4343
  }
4327
- const inputView = download$1.build.BufferSourceConverter.toUint8Array(inputBuffer);
4344
+ const inputView = download$1.BufferSourceConverter_1.toUint8Array(inputBuffer);
4328
4345
  if (!checkBufferParams(this, inputView, inputOffset, inputLength)) {
4329
4346
  return -1;
4330
4347
  }
@@ -4396,7 +4413,7 @@ class LocalSidValueBlock extends HexBlock(ValueBlock) {
4396
4413
  toString() {
4397
4414
  let result = "";
4398
4415
  if (this.isHexOnly)
4399
- result = download$1.build.Convert.ToHex(this.valueHexView);
4416
+ result = download$1.Convert_1.ToHex(this.valueHexView);
4400
4417
  else {
4401
4418
  if (this.isFirstSid) {
4402
4419
  let sidValue = this.valueDec;
@@ -4593,7 +4610,7 @@ class LocalRelativeSidValueBlock extends HexBlock(LocalBaseBlock) {
4593
4610
  fromBER(inputBuffer, inputOffset, inputLength) {
4594
4611
  if (inputLength === 0)
4595
4612
  return inputOffset;
4596
- const inputView = download$1.build.BufferSourceConverter.toUint8Array(inputBuffer);
4613
+ const inputView = download$1.BufferSourceConverter_1.toUint8Array(inputBuffer);
4597
4614
  if (!checkBufferParams(this, inputView, inputOffset, inputLength))
4598
4615
  return -1;
4599
4616
  const intBuffer = inputView.subarray(inputOffset, inputOffset + inputLength);
@@ -4651,7 +4668,7 @@ class LocalRelativeSidValueBlock extends HexBlock(LocalBaseBlock) {
4651
4668
  toString() {
4652
4669
  let result = "";
4653
4670
  if (this.isHexOnly)
4654
- result = download$1.build.Convert.ToHex(this.valueHexView);
4671
+ result = download$1.Convert_1.ToHex(this.valueHexView);
4655
4672
  else {
4656
4673
  result = this.valueDec.toString();
4657
4674
  }
@@ -4833,7 +4850,7 @@ class LocalSimpleStringBlock extends BaseStringBlock {
4833
4850
  super(parameters, LocalSimpleStringValueBlock);
4834
4851
  }
4835
4852
  fromBuffer(inputBuffer) {
4836
- this.valueBlock.value = String.fromCharCode.apply(null, download$1.build.BufferSourceConverter.toUint8Array(inputBuffer));
4853
+ this.valueBlock.value = String.fromCharCode.apply(null, download$1.BufferSourceConverter_1.toUint8Array(inputBuffer));
4837
4854
  }
4838
4855
  fromString(inputString) {
4839
4856
  const strLen = inputString.length;
@@ -4847,17 +4864,17 @@ LocalSimpleStringBlock.NAME = "SIMPLE STRING";
4847
4864
 
4848
4865
  class LocalUtf8StringValueBlock extends LocalSimpleStringBlock {
4849
4866
  fromBuffer(inputBuffer) {
4850
- this.valueBlock.valueHexView = download$1.build.BufferSourceConverter.toUint8Array(inputBuffer);
4867
+ this.valueBlock.valueHexView = download$1.BufferSourceConverter_1.toUint8Array(inputBuffer);
4851
4868
  try {
4852
- this.valueBlock.value = download$1.build.Convert.ToUtf8String(inputBuffer);
4869
+ this.valueBlock.value = download$1.Convert_1.ToUtf8String(inputBuffer);
4853
4870
  }
4854
4871
  catch (ex) {
4855
4872
  this.warnings.push(`Error during "decodeURIComponent": ${ex}, using raw string`);
4856
- this.valueBlock.value = download$1.build.Convert.ToBinary(inputBuffer);
4873
+ this.valueBlock.value = download$1.Convert_1.ToBinary(inputBuffer);
4857
4874
  }
4858
4875
  }
4859
4876
  fromString(inputString) {
4860
- this.valueBlock.valueHexView = new Uint8Array(download$1.build.Convert.FromUtf8String(inputString));
4877
+ this.valueBlock.valueHexView = new Uint8Array(download$1.Convert_1.FromUtf8String(inputString));
4861
4878
  this.valueBlock.value = inputString;
4862
4879
  }
4863
4880
  }
@@ -4879,12 +4896,12 @@ Utf8String.NAME = "UTF8String";
4879
4896
 
4880
4897
  class LocalBmpStringValueBlock extends LocalSimpleStringBlock {
4881
4898
  fromBuffer(inputBuffer) {
4882
- this.valueBlock.value = download$1.build.Convert.ToUtf16String(inputBuffer);
4883
- this.valueBlock.valueHexView = download$1.build.BufferSourceConverter.toUint8Array(inputBuffer);
4899
+ this.valueBlock.value = download$1.Convert_1.ToUtf16String(inputBuffer);
4900
+ this.valueBlock.valueHexView = download$1.BufferSourceConverter_1.toUint8Array(inputBuffer);
4884
4901
  }
4885
4902
  fromString(inputString) {
4886
4903
  this.valueBlock.value = inputString;
4887
- this.valueBlock.valueHexView = new Uint8Array(download$1.build.Convert.FromUtf16String(inputString));
4904
+ this.valueBlock.valueHexView = new Uint8Array(download$1.Convert_1.FromUtf16String(inputString));
4888
4905
  }
4889
4906
  }
4890
4907
  LocalBmpStringValueBlock.NAME = "BmpStringValueBlock";
@@ -5096,7 +5113,7 @@ class UTCTime extends VisibleString {
5096
5113
  this.idBlock.tagNumber = 23;
5097
5114
  }
5098
5115
  fromBuffer(inputBuffer) {
5099
- this.fromString(String.fromCharCode.apply(null, download$1.build.BufferSourceConverter.toUint8Array(inputBuffer)));
5116
+ this.fromString(String.fromCharCode.apply(null, download$1.BufferSourceConverter_1.toUint8Array(inputBuffer)));
5100
5117
  }
5101
5118
  toBuffer() {
5102
5119
  const str = this.toString();
@@ -5446,17 +5463,17 @@ class Repeated extends Any {
5446
5463
 
5447
5464
  class RawData {
5448
5465
  constructor({ data = EMPTY_VIEW } = {}) {
5449
- this.dataView = download$1.build.BufferSourceConverter.toUint8Array(data);
5466
+ this.dataView = download$1.BufferSourceConverter_1.toUint8Array(data);
5450
5467
  }
5451
5468
  get data() {
5452
5469
  return this.dataView.slice().buffer;
5453
5470
  }
5454
5471
  set data(value) {
5455
- this.dataView = download$1.build.BufferSourceConverter.toUint8Array(value);
5472
+ this.dataView = download$1.BufferSourceConverter_1.toUint8Array(value);
5456
5473
  }
5457
5474
  fromBER(inputBuffer, inputOffset, inputLength) {
5458
5475
  const endLength = inputOffset + inputLength;
5459
- this.dataView = download$1.build.BufferSourceConverter.toUint8Array(inputBuffer).subarray(inputOffset, endLength);
5476
+ this.dataView = download$1.BufferSourceConverter_1.toUint8Array(inputBuffer).subarray(inputOffset, endLength);
5460
5477
  return endLength;
5461
5478
  }
5462
5479
  toBER(sizeOnly) {
@@ -5775,7 +5792,7 @@ function verifySchema(inputBuffer, inputSchema) {
5775
5792
  result: { error: "Wrong ASN.1 schema type" }
5776
5793
  };
5777
5794
  }
5778
- const asn1 = localFromBER(download$1.build.BufferSourceConverter.toUint8Array(inputBuffer));
5795
+ const asn1 = localFromBER(download$1.BufferSourceConverter_1.toUint8Array(inputBuffer));
5779
5796
  if (asn1.offset === -1) {
5780
5797
  return {
5781
5798
  verified: false,
@@ -5878,9 +5895,9 @@ class BitString {
5878
5895
  if (typeof params === "number") {
5879
5896
  this.fromNumber(params);
5880
5897
  }
5881
- else if (download$1.build.BufferSourceConverter.isBufferSource(params)) {
5898
+ else if (download$1.BufferSourceConverter_1.isBufferSource(params)) {
5882
5899
  this.unusedBits = unusedBits;
5883
- this.value = download$1.build.BufferSourceConverter.toArrayBuffer(params);
5900
+ this.value = download$1.BufferSourceConverter_1.toArrayBuffer(params);
5884
5901
  }
5885
5902
  else {
5886
5903
  throw TypeError("Unsupported type of 'params' argument for BitString");
@@ -5929,13 +5946,19 @@ class BitString {
5929
5946
  }
5930
5947
 
5931
5948
  class OctetString {
5949
+ get byteLength() {
5950
+ return this.buffer.byteLength;
5951
+ }
5952
+ get byteOffset() {
5953
+ return 0;
5954
+ }
5932
5955
  constructor(param) {
5933
5956
  if (typeof param === "number") {
5934
5957
  this.buffer = new ArrayBuffer(param);
5935
5958
  }
5936
5959
  else {
5937
- if (download$1.build.BufferSourceConverter.isBufferSource(param)) {
5938
- this.buffer = download$1.build.BufferSourceConverter.toArrayBuffer(param);
5960
+ if (download$1.BufferSourceConverter_1.isBufferSource(param)) {
5961
+ this.buffer = download$1.BufferSourceConverter_1.toArrayBuffer(param);
5939
5962
  }
5940
5963
  else if (Array.isArray(param)) {
5941
5964
  this.buffer = new Uint8Array(param);
@@ -5945,12 +5968,6 @@ class OctetString {
5945
5968
  }
5946
5969
  }
5947
5970
  }
5948
- get byteLength() {
5949
- return this.buffer.byteLength;
5950
- }
5951
- get byteOffset() {
5952
- return 0;
5953
- }
5954
5971
  fromASN(asn) {
5955
5972
  if (!(asn instanceof OctetString$1)) {
5956
5973
  throw new TypeError("Argument 'asn' is not instance of ASN.1 OctetString");
@@ -6637,8 +6654,8 @@ class AsnConvert {
6637
6654
  return AsnParser.parse(data, target);
6638
6655
  }
6639
6656
  static toString(data) {
6640
- const buf = download$1.build.BufferSourceConverter.isBufferSource(data)
6641
- ? download$1.build.BufferSourceConverter.toArrayBuffer(data)
6657
+ const buf = download$1.BufferSourceConverter_1.isBufferSource(data)
6658
+ ? download$1.BufferSourceConverter_1.toArrayBuffer(data)
6642
6659
  : AsnConvert.serialize(data);
6643
6660
  const asn = fromBER(buf);
6644
6661
  if (asn.offset === -1) {
@@ -6668,9 +6685,14 @@ function __decorate(decorators, target, key, desc) {
6668
6685
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
6669
6686
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6670
6687
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6671
- }
6688
+ }
6689
+
6690
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
6691
+ var e = new Error(message);
6692
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
6693
+ };
6672
6694
 
6673
- var ipaddr = download$1.createCommonjsModule(function (module) {
6695
+ var ipaddr = createCommonjsModule(function (module) {
6674
6696
  (function (root) {
6675
6697
  // A list of regular expressions that match arbitrary IPv4 addresses,
6676
6698
  // for which a number of weird notations exist.
@@ -6875,6 +6897,7 @@ var ipaddr = download$1.createCommonjsModule(function (module) {
6875
6897
  [new IPv4([192, 0, 0, 0]), 24],
6876
6898
  [new IPv4([192, 0, 2, 0]), 24],
6877
6899
  [new IPv4([192, 88, 99, 0]), 24],
6900
+ [new IPv4([198, 18, 0, 0]), 15],
6878
6901
  [new IPv4([198, 51, 100, 0]), 24],
6879
6902
  [new IPv4([203, 0, 113, 0]), 24],
6880
6903
  [new IPv4([240, 0, 0, 0]), 4]
@@ -7217,7 +7240,12 @@ var ipaddr = download$1.createCommonjsModule(function (module) {
7217
7240
  // RFC6052, RFC6146
7218
7241
  teredo: [new IPv6([0x2001, 0, 0, 0, 0, 0, 0, 0]), 32],
7219
7242
  // RFC4291
7220
- reserved: [[new IPv6([0x2001, 0xdb8, 0, 0, 0, 0, 0, 0]), 32]]
7243
+ reserved: [[new IPv6([0x2001, 0xdb8, 0, 0, 0, 0, 0, 0]), 32]],
7244
+ benchmarking: [new IPv6([0x2001, 0x2, 0, 0, 0, 0, 0, 0]), 48],
7245
+ amt: [new IPv6([0x2001, 0x3, 0, 0, 0, 0, 0, 0]), 32],
7246
+ as112v6: [new IPv6([0x2001, 0x4, 0x112, 0, 0, 0, 0, 0]), 48],
7247
+ deprecated: [new IPv6([0x2001, 0x10, 0, 0, 0, 0, 0, 0]), 28],
7248
+ orchid2: [new IPv6([0x2001, 0x20, 0, 0, 0, 0, 0, 0]), 28]
7221
7249
  };
7222
7250
 
7223
7251
  // Checks if this address is an IPv4-mapped IPv6 address.
@@ -7402,11 +7430,9 @@ var ipaddr = download$1.createCommonjsModule(function (module) {
7402
7430
 
7403
7431
  // Returns the address in compact, human-readable format like
7404
7432
  // 2001:db8:8:66::1
7405
- //
7406
- // Deprecated: use toRFC5952String() instead.
7433
+ // Calls toRFC5952String under the hood.
7407
7434
  IPv6.prototype.toString = function () {
7408
- // Replace the first sequence of 1 or more '0' parts with '::'
7409
- return this.toNormalizedString().replace(/((^|:)(0(:|$))+)/, '::');
7435
+ return this.toRFC5952String();
7410
7436
  };
7411
7437
 
7412
7438
  return IPv6;
@@ -7665,7 +7691,7 @@ var ipaddr = download$1.createCommonjsModule(function (module) {
7665
7691
  root.ipaddr = ipaddr;
7666
7692
  }
7667
7693
 
7668
- }(download$1.commonjsGlobal));
7694
+ }(commonjsGlobal));
7669
7695
  });
7670
7696
 
7671
7697
  class IpConverter {
@@ -7691,7 +7717,7 @@ class IpConverter {
7691
7717
  const addr = ipaddr.fromByteArray(Array.from(uint8));
7692
7718
  return addr.toString();
7693
7719
  }
7694
- return this.decodeIP(download$1.build.Convert.ToHex(buf));
7720
+ return this.decodeIP(download$1.Convert_1.ToHex(buf));
7695
7721
  }
7696
7722
  static fromString(text) {
7697
7723
  const addr = ipaddr.parse(text);
@@ -7733,7 +7759,7 @@ let AttributeValue = class AttributeValue extends DirectoryString {
7733
7759
  Object.assign(this, params);
7734
7760
  }
7735
7761
  toString() {
7736
- return this.ia5String || (this.anyValue ? download$1.build.Convert.ToHex(this.anyValue) : super.toString());
7762
+ return this.ia5String || (this.anyValue ? download$1.Convert_1.ToHex(this.anyValue) : super.toString());
7737
7763
  }
7738
7764
  };
7739
7765
  __decorate([
@@ -8527,7 +8553,7 @@ class AlgorithmIdentifier {
8527
8553
  return data instanceof AlgorithmIdentifier
8528
8554
  && data.algorithm == this.algorithm
8529
8555
  && ((data.parameters && this.parameters
8530
- && download$1.build.isEqual(data.parameters, this.parameters))
8556
+ && download$1.isEqual_1(data.parameters, this.parameters))
8531
8557
  ||
8532
8558
  (data.parameters === this.parameters));
8533
8559
  }
@@ -8646,16 +8672,16 @@ Extensions = Extensions_1 = __decorate([
8646
8672
  AsnType({ type: exports.AsnTypeTypes.Sequence, itemType: Extension$1 })
8647
8673
  ], Extensions);
8648
8674
 
8649
- var Version$3;
8675
+ var Version$4;
8650
8676
  (function (Version) {
8651
8677
  Version[Version["v1"] = 0] = "v1";
8652
8678
  Version[Version["v2"] = 1] = "v2";
8653
8679
  Version[Version["v3"] = 2] = "v3";
8654
- })(Version$3 || (Version$3 = {}));
8680
+ })(Version$4 || (Version$4 = {}));
8655
8681
 
8656
8682
  class TBSCertificate {
8657
8683
  constructor(params = {}) {
8658
- this.version = Version$3.v1;
8684
+ this.version = Version$4.v1;
8659
8685
  this.serialNumber = new ArrayBuffer(0);
8660
8686
  this.signature = new AlgorithmIdentifier();
8661
8687
  this.issuer = new exports.Name$1();
@@ -8669,7 +8695,7 @@ __decorate([
8669
8695
  AsnProp({
8670
8696
  type: exports.AsnPropTypes.Integer,
8671
8697
  context: 0,
8672
- defaultValue: Version$3.v1,
8698
+ defaultValue: Version$4.v1,
8673
8699
  })
8674
8700
  ], TBSCertificate.prototype, "version", void 0);
8675
8701
  __decorate([
@@ -9099,10 +9125,10 @@ __decorate([
9099
9125
  ], EncryptedPrivateKeyInfo$1.prototype, "encryptedData", void 0);
9100
9126
 
9101
9127
  var Attributes_1$1;
9102
- var Version$2;
9128
+ var Version$3;
9103
9129
  (function (Version) {
9104
9130
  Version[Version["v1"] = 0] = "v1";
9105
- })(Version$2 || (Version$2 = {}));
9131
+ })(Version$3 || (Version$3 = {}));
9106
9132
  class PrivateKey extends OctetString {
9107
9133
  }
9108
9134
  let Attributes$1 = Attributes_1$1 = class Attributes extends AsnArray {
@@ -9116,7 +9142,7 @@ Attributes$1 = Attributes_1$1 = __decorate([
9116
9142
  ], Attributes$1);
9117
9143
  class PrivateKeyInfo$1 {
9118
9144
  constructor(params = {}) {
9119
- this.version = Version$2.v1;
9145
+ this.version = Version$3.v1;
9120
9146
  this.privateKeyAlgorithm = new AlgorithmIdentifier();
9121
9147
  this.privateKey = new PrivateKey();
9122
9148
  Object.assign(this, params);
@@ -9136,11 +9162,11 @@ __decorate([
9136
9162
  ], PrivateKeyInfo$1.prototype, "attributes", void 0);
9137
9163
 
9138
9164
  var AsymmetricKeyPackage_1;
9139
- var Version$1;
9165
+ var Version$2;
9140
9166
  (function (Version) {
9141
9167
  Version[Version["v1"] = 0] = "v1";
9142
9168
  Version[Version["v2"] = 1] = "v2";
9143
- })(Version$1 || (Version$1 = {}));
9169
+ })(Version$2 || (Version$2 = {}));
9144
9170
  let PrivateKeyAlgorithmIdentifier = class PrivateKeyAlgorithmIdentifier extends AlgorithmIdentifier {
9145
9171
  };
9146
9172
  PrivateKeyAlgorithmIdentifier = __decorate([
@@ -9148,7 +9174,7 @@ PrivateKeyAlgorithmIdentifier = __decorate([
9148
9174
  ], PrivateKeyAlgorithmIdentifier);
9149
9175
  let OneAsymmetricKey = class OneAsymmetricKey {
9150
9176
  constructor() {
9151
- this.version = Version$1.v1;
9177
+ this.version = Version$2.v1;
9152
9178
  this.privateKeyAlgorithm = new AlgorithmIdentifier();
9153
9179
  this.privateKey = new ArrayBuffer(0);
9154
9180
  }
@@ -9234,7 +9260,7 @@ var _Name_asn;
9234
9260
  class Name {
9235
9261
  constructor(data) {
9236
9262
  _Name_asn.set(this, new exports.Name$1());
9237
- if (download$1.build.BufferSourceConverter.isBufferSource(data)) {
9263
+ if (download$1.BufferSourceConverter_1.isBufferSource(data)) {
9238
9264
  __classPrivateFieldSet$1(this, _Name_asn, AsnParser.parse(data, exports.Name$1), "f");
9239
9265
  }
9240
9266
  else {
@@ -9442,8 +9468,8 @@ exports.CaVersion = class CaVersion {
9442
9468
  data.set(new Uint8Array(this.value), 4 - this.value.byteLength);
9443
9469
  }
9444
9470
  return {
9445
- keyIndex: parseInt(download$1.build.Convert.ToHex(data.slice(0, 2)), 16),
9446
- certificateIndex: parseInt(download$1.build.Convert.ToHex(data.slice(2)), 16),
9471
+ keyIndex: parseInt(download$1.Convert_1.ToHex(data.slice(0, 2)), 16),
9472
+ certificateIndex: parseInt(download$1.Convert_1.ToHex(data.slice(2)), 16),
9447
9473
  };
9448
9474
  }
9449
9475
  };
@@ -9789,11 +9815,6 @@ Lei = __decorate([
9789
9815
  AsnType({ type: exports.AsnTypeTypes.Sequence })
9790
9816
  ], Lei);
9791
9817
  let BaseLeiChoice = class BaseLeiChoice {
9792
- constructor(value) {
9793
- if (value) {
9794
- this.text = value;
9795
- }
9796
- }
9797
9818
  get text() {
9798
9819
  if (this.bmpString !== undefined) {
9799
9820
  return this.bmpString;
@@ -9815,6 +9836,11 @@ let BaseLeiChoice = class BaseLeiChoice {
9815
9836
  set text(value) {
9816
9837
  this.printableString = value;
9817
9838
  }
9839
+ constructor(value) {
9840
+ if (value) {
9841
+ this.text = value;
9842
+ }
9843
+ }
9818
9844
  };
9819
9845
  __decorate([
9820
9846
  AsnProp({ type: exports.AsnPropTypes.IA5String })
@@ -9859,13 +9885,13 @@ exports.LeiRole = __decorate([
9859
9885
  ], exports.LeiRole);
9860
9886
 
9861
9887
  class ByteStream {
9862
- constructor(bytes) {
9863
- this.offset = 0;
9864
- this.view = download$1.build.BufferSourceConverter.toUint8Array(bytes);
9865
- }
9866
9888
  get position() {
9867
9889
  return this.offset;
9868
9890
  }
9891
+ constructor(bytes) {
9892
+ this.offset = 0;
9893
+ this.view = download$1.BufferSourceConverter_1.toUint8Array(bytes);
9894
+ }
9869
9895
  read(size = 1) {
9870
9896
  const res = this.view.slice(this.offset, this.offset + size);
9871
9897
  this.offset = this.offset + res.length;
@@ -9880,7 +9906,7 @@ class ByteStream {
9880
9906
  }
9881
9907
  readNumber(size) {
9882
9908
  const bytes = this.read(size);
9883
- const hex = download$1.build.Convert.ToHex(bytes);
9909
+ const hex = download$1.Convert_1.ToHex(bytes);
9884
9910
  return parseInt(hex, 16);
9885
9911
  }
9886
9912
  readEnd() {
@@ -9893,7 +9919,7 @@ class ByteStream {
9893
9919
 
9894
9920
  class Structure {
9895
9921
  static createStream(bytes) {
9896
- const view = download$1.build.BufferSourceConverter.toUint8Array(bytes);
9922
+ const view = download$1.BufferSourceConverter_1.toUint8Array(bytes);
9897
9923
  return new ByteStream(view);
9898
9924
  }
9899
9925
  }
@@ -9937,7 +9963,7 @@ class SignedCertificateTimestamp extends Structure {
9937
9963
  parse(stream) {
9938
9964
  this.version = stream.readByte();
9939
9965
  stream.read(2);
9940
- this.logId = download$1.build.BufferSourceConverter.toArrayBuffer(stream.read(32));
9966
+ this.logId = download$1.BufferSourceConverter_1.toArrayBuffer(stream.read(32));
9941
9967
  this.timestamp = new Date(stream.readNumber(8));
9942
9968
  const extLen = stream.readNumber(2);
9943
9969
  this.extensions = stream.read(extLen).buffer;
@@ -9948,12 +9974,12 @@ class SignedCertificateTimestamp extends Structure {
9948
9974
  toJSON() {
9949
9975
  return {
9950
9976
  version: this.version,
9951
- logId: download$1.build.Convert.ToHex(this.logId),
9977
+ logId: download$1.Convert_1.ToHex(this.logId),
9952
9978
  timestamp: this.timestamp,
9953
- extensions: download$1.build.Convert.ToBase64(this.extensions),
9979
+ extensions: download$1.Convert_1.ToBase64(this.extensions),
9954
9980
  hashAlgorithm: HashAlgorithm[this.hashAlgorithm] || "undefined",
9955
9981
  signatureAlgorithm: SignatureAlgorithm[this.signatureAlgorithm] || "undefined",
9956
- signature: download$1.build.Convert.ToBase64(this.signature),
9982
+ signature: download$1.Convert_1.ToBase64(this.signature),
9957
9983
  };
9958
9984
  }
9959
9985
  }
@@ -9979,15 +10005,15 @@ class CertificateTransparency extends OctetString {
9979
10005
  }
9980
10006
  }
9981
10007
 
9982
- var Version;
10008
+ var Version$1;
9983
10009
  (function (Version) {
9984
10010
  Version[Version["v1"] = 1] = "v1";
9985
- })(Version || (Version = {}));
10011
+ })(Version$1 || (Version$1 = {}));
9986
10012
 
9987
10013
  const id_adbe_archiveRevInfo = "1.2.840.113583.1.1.9.2";
9988
10014
  class ArchiveRevInfo {
9989
10015
  constructor(params = {}) {
9990
- this.version = Version.v1;
10016
+ this.version = Version$1.v1;
9991
10017
  Object.assign(this, params);
9992
10018
  }
9993
10019
  }
@@ -9998,7 +10024,7 @@ __decorate([
9998
10024
  const id_adbe_timestamp = "1.2.840.113583.1.1.9.1";
9999
10025
  class Timestamp {
10000
10026
  constructor(params = {}) {
10001
- this.version = Version.v1;
10027
+ this.version = Version$1.v1;
10002
10028
  this.location = new GeneralName();
10003
10029
  this.requiresAuth = false;
10004
10030
  Object.assign(this, params);
@@ -10343,6 +10369,302 @@ exports.TNAuthorizationList = TNAuthorizationList_1 = __decorate([
10343
10369
  })
10344
10370
  ], exports.TNAuthorizationList);
10345
10371
 
10372
+ var IntegerSet_1;
10373
+ const id_ce_keyDescription = "1.3.6.1.4.1.11129.2.1.17";
10374
+ var VerifiedBootState;
10375
+ (function (VerifiedBootState) {
10376
+ VerifiedBootState[VerifiedBootState["verified"] = 0] = "verified";
10377
+ VerifiedBootState[VerifiedBootState["selfSigned"] = 1] = "selfSigned";
10378
+ VerifiedBootState[VerifiedBootState["unverified"] = 2] = "unverified";
10379
+ VerifiedBootState[VerifiedBootState["failed"] = 3] = "failed";
10380
+ })(VerifiedBootState || (VerifiedBootState = {}));
10381
+ class RootOfTrust {
10382
+ constructor(params = {}) {
10383
+ this.verifiedBootKey = new OctetString();
10384
+ this.deviceLocked = false;
10385
+ this.verifiedBootState = VerifiedBootState.verified;
10386
+ Object.assign(this, params);
10387
+ }
10388
+ }
10389
+ __decorate([
10390
+ AsnProp({ type: OctetString })
10391
+ ], RootOfTrust.prototype, "verifiedBootKey", void 0);
10392
+ __decorate([
10393
+ AsnProp({ type: exports.AsnPropTypes.Boolean })
10394
+ ], RootOfTrust.prototype, "deviceLocked", void 0);
10395
+ __decorate([
10396
+ AsnProp({ type: exports.AsnPropTypes.Enumerated })
10397
+ ], RootOfTrust.prototype, "verifiedBootState", void 0);
10398
+ __decorate([
10399
+ AsnProp({ type: OctetString, optional: true })
10400
+ ], RootOfTrust.prototype, "verifiedBootHash", void 0);
10401
+ exports.IntegerSet = IntegerSet_1 = class IntegerSet extends AsnArray {
10402
+ constructor(items) {
10403
+ super(items);
10404
+ Object.setPrototypeOf(this, IntegerSet_1.prototype);
10405
+ }
10406
+ };
10407
+ exports.IntegerSet = IntegerSet_1 = __decorate([
10408
+ AsnType({ type: exports.AsnTypeTypes.Set, itemType: exports.AsnPropTypes.Integer })
10409
+ ], exports.IntegerSet);
10410
+ class AuthorizationList {
10411
+ constructor(params = {}) {
10412
+ Object.assign(this, params);
10413
+ }
10414
+ }
10415
+ __decorate([
10416
+ AsnProp({ context: 1, type: exports.IntegerSet, optional: true })
10417
+ ], AuthorizationList.prototype, "purpose", void 0);
10418
+ __decorate([
10419
+ AsnProp({ context: 2, type: exports.AsnPropTypes.Integer, optional: true })
10420
+ ], AuthorizationList.prototype, "algorithm", void 0);
10421
+ __decorate([
10422
+ AsnProp({ context: 3, type: exports.AsnPropTypes.Integer, optional: true })
10423
+ ], AuthorizationList.prototype, "keySize", void 0);
10424
+ __decorate([
10425
+ AsnProp({ context: 5, type: exports.IntegerSet, optional: true })
10426
+ ], AuthorizationList.prototype, "digest", void 0);
10427
+ __decorate([
10428
+ AsnProp({ context: 6, type: exports.IntegerSet, optional: true })
10429
+ ], AuthorizationList.prototype, "padding", void 0);
10430
+ __decorate([
10431
+ AsnProp({ context: 10, type: exports.AsnPropTypes.Integer, optional: true })
10432
+ ], AuthorizationList.prototype, "ecCurve", void 0);
10433
+ __decorate([
10434
+ AsnProp({ context: 200, type: exports.AsnPropTypes.Integer, optional: true })
10435
+ ], AuthorizationList.prototype, "rsaPublicExponent", void 0);
10436
+ __decorate([
10437
+ AsnProp({ context: 303, type: exports.AsnPropTypes.Null, optional: true })
10438
+ ], AuthorizationList.prototype, "rollbackResistance", void 0);
10439
+ __decorate([
10440
+ AsnProp({ context: 305, type: exports.AsnPropTypes.Null, optional: true })
10441
+ ], AuthorizationList.prototype, "earlyBootOnly", void 0);
10442
+ __decorate([
10443
+ AsnProp({ context: 400, type: exports.AsnPropTypes.Integer, optional: true })
10444
+ ], AuthorizationList.prototype, "activeDateTime", void 0);
10445
+ __decorate([
10446
+ AsnProp({ context: 401, type: exports.AsnPropTypes.Integer, optional: true })
10447
+ ], AuthorizationList.prototype, "originationExpireDateTime", void 0);
10448
+ __decorate([
10449
+ AsnProp({ context: 402, type: exports.AsnPropTypes.Integer, optional: true })
10450
+ ], AuthorizationList.prototype, "usageExpireDateTime", void 0);
10451
+ __decorate([
10452
+ AsnProp({ context: 503, type: exports.AsnPropTypes.Null, optional: true })
10453
+ ], AuthorizationList.prototype, "noAuthRequired", void 0);
10454
+ __decorate([
10455
+ AsnProp({ context: 504, type: exports.AsnPropTypes.Integer, optional: true })
10456
+ ], AuthorizationList.prototype, "userAuthType", void 0);
10457
+ __decorate([
10458
+ AsnProp({ context: 505, type: exports.AsnPropTypes.Integer, optional: true })
10459
+ ], AuthorizationList.prototype, "authTimeout", void 0);
10460
+ __decorate([
10461
+ AsnProp({ context: 506, type: exports.AsnPropTypes.Null, optional: true })
10462
+ ], AuthorizationList.prototype, "allowWhileOnBody", void 0);
10463
+ __decorate([
10464
+ AsnProp({ context: 507, type: exports.AsnPropTypes.Null, optional: true })
10465
+ ], AuthorizationList.prototype, "trustedUserPresenceRequired", void 0);
10466
+ __decorate([
10467
+ AsnProp({ context: 508, type: exports.AsnPropTypes.Null, optional: true })
10468
+ ], AuthorizationList.prototype, "trustedConfirmationRequired", void 0);
10469
+ __decorate([
10470
+ AsnProp({ context: 509, type: exports.AsnPropTypes.Null, optional: true })
10471
+ ], AuthorizationList.prototype, "unlockedDeviceRequired", void 0);
10472
+ __decorate([
10473
+ AsnProp({ context: 600, type: exports.AsnPropTypes.Null, optional: true })
10474
+ ], AuthorizationList.prototype, "allApplications", void 0);
10475
+ __decorate([
10476
+ AsnProp({ context: 601, type: OctetString, optional: true })
10477
+ ], AuthorizationList.prototype, "applicationId", void 0);
10478
+ __decorate([
10479
+ AsnProp({ context: 701, type: exports.AsnPropTypes.Integer, optional: true })
10480
+ ], AuthorizationList.prototype, "creationDateTime", void 0);
10481
+ __decorate([
10482
+ AsnProp({ context: 702, type: exports.AsnPropTypes.Integer, optional: true })
10483
+ ], AuthorizationList.prototype, "origin", void 0);
10484
+ __decorate([
10485
+ AsnProp({ context: 703, type: exports.AsnPropTypes.Null, optional: true })
10486
+ ], AuthorizationList.prototype, "rollbackResistant", void 0);
10487
+ __decorate([
10488
+ AsnProp({ context: 704, type: RootOfTrust, optional: true })
10489
+ ], AuthorizationList.prototype, "rootOfTrust", void 0);
10490
+ __decorate([
10491
+ AsnProp({ context: 705, type: exports.AsnPropTypes.Integer, optional: true })
10492
+ ], AuthorizationList.prototype, "osVersion", void 0);
10493
+ __decorate([
10494
+ AsnProp({ context: 706, type: exports.AsnPropTypes.Integer, optional: true })
10495
+ ], AuthorizationList.prototype, "osPatchLevel", void 0);
10496
+ __decorate([
10497
+ AsnProp({ context: 709, type: OctetString, optional: true })
10498
+ ], AuthorizationList.prototype, "attestationApplicationId", void 0);
10499
+ __decorate([
10500
+ AsnProp({ context: 710, type: OctetString, optional: true })
10501
+ ], AuthorizationList.prototype, "attestationIdBrand", void 0);
10502
+ __decorate([
10503
+ AsnProp({ context: 711, type: OctetString, optional: true })
10504
+ ], AuthorizationList.prototype, "attestationIdDevice", void 0);
10505
+ __decorate([
10506
+ AsnProp({ context: 712, type: OctetString, optional: true })
10507
+ ], AuthorizationList.prototype, "attestationIdProduct", void 0);
10508
+ __decorate([
10509
+ AsnProp({ context: 713, type: OctetString, optional: true })
10510
+ ], AuthorizationList.prototype, "attestationIdSerial", void 0);
10511
+ __decorate([
10512
+ AsnProp({ context: 714, type: OctetString, optional: true })
10513
+ ], AuthorizationList.prototype, "attestationIdImei", void 0);
10514
+ __decorate([
10515
+ AsnProp({ context: 715, type: OctetString, optional: true })
10516
+ ], AuthorizationList.prototype, "attestationIdMeid", void 0);
10517
+ __decorate([
10518
+ AsnProp({ context: 716, type: OctetString, optional: true })
10519
+ ], AuthorizationList.prototype, "attestationIdManufacturer", void 0);
10520
+ __decorate([
10521
+ AsnProp({ context: 717, type: OctetString, optional: true })
10522
+ ], AuthorizationList.prototype, "attestationIdModel", void 0);
10523
+ __decorate([
10524
+ AsnProp({ context: 718, type: exports.AsnPropTypes.Integer, optional: true })
10525
+ ], AuthorizationList.prototype, "vendorPatchLevel", void 0);
10526
+ __decorate([
10527
+ AsnProp({ context: 719, type: exports.AsnPropTypes.Integer, optional: true })
10528
+ ], AuthorizationList.prototype, "bootPatchLevel", void 0);
10529
+ __decorate([
10530
+ AsnProp({ context: 720, type: exports.AsnPropTypes.Null, optional: true })
10531
+ ], AuthorizationList.prototype, "deviceUniqueAttestation", void 0);
10532
+ var SecurityLevel;
10533
+ (function (SecurityLevel) {
10534
+ SecurityLevel[SecurityLevel["software"] = 0] = "software";
10535
+ SecurityLevel[SecurityLevel["trustedEnvironment"] = 1] = "trustedEnvironment";
10536
+ SecurityLevel[SecurityLevel["strongBox"] = 2] = "strongBox";
10537
+ })(SecurityLevel || (SecurityLevel = {}));
10538
+ var Version;
10539
+ (function (Version) {
10540
+ Version[Version["KM2"] = 1] = "KM2";
10541
+ Version[Version["KM3"] = 2] = "KM3";
10542
+ Version[Version["KM4"] = 3] = "KM4";
10543
+ Version[Version["KM4_1"] = 4] = "KM4_1";
10544
+ Version[Version["keyMint1"] = 100] = "keyMint1";
10545
+ Version[Version["keyMint2"] = 200] = "keyMint2";
10546
+ })(Version || (Version = {}));
10547
+ class KeyDescription {
10548
+ constructor(params = {}) {
10549
+ this.attestationVersion = Version.KM4;
10550
+ this.attestationSecurityLevel = SecurityLevel.software;
10551
+ this.keymasterVersion = 0;
10552
+ this.keymasterSecurityLevel = SecurityLevel.software;
10553
+ this.attestationChallenge = new OctetString();
10554
+ this.uniqueId = new OctetString();
10555
+ this.softwareEnforced = new AuthorizationList();
10556
+ this.teeEnforced = new AuthorizationList();
10557
+ Object.assign(this, params);
10558
+ }
10559
+ }
10560
+ __decorate([
10561
+ AsnProp({ type: exports.AsnPropTypes.Integer })
10562
+ ], KeyDescription.prototype, "attestationVersion", void 0);
10563
+ __decorate([
10564
+ AsnProp({ type: exports.AsnPropTypes.Enumerated })
10565
+ ], KeyDescription.prototype, "attestationSecurityLevel", void 0);
10566
+ __decorate([
10567
+ AsnProp({ type: exports.AsnPropTypes.Integer })
10568
+ ], KeyDescription.prototype, "keymasterVersion", void 0);
10569
+ __decorate([
10570
+ AsnProp({ type: exports.AsnPropTypes.Enumerated })
10571
+ ], KeyDescription.prototype, "keymasterSecurityLevel", void 0);
10572
+ __decorate([
10573
+ AsnProp({ type: OctetString })
10574
+ ], KeyDescription.prototype, "attestationChallenge", void 0);
10575
+ __decorate([
10576
+ AsnProp({ type: OctetString })
10577
+ ], KeyDescription.prototype, "uniqueId", void 0);
10578
+ __decorate([
10579
+ AsnProp({ type: AuthorizationList })
10580
+ ], KeyDescription.prototype, "softwareEnforced", void 0);
10581
+ __decorate([
10582
+ AsnProp({ type: AuthorizationList })
10583
+ ], KeyDescription.prototype, "teeEnforced", void 0);
10584
+
10585
+ var NonStandardAuthorizationList_1;
10586
+ let NonStandardAuthorization = class NonStandardAuthorization extends AuthorizationList {
10587
+ };
10588
+ NonStandardAuthorization = __decorate([
10589
+ AsnType({ type: exports.AsnTypeTypes.Choice })
10590
+ ], NonStandardAuthorization);
10591
+ let NonStandardAuthorizationList = NonStandardAuthorizationList_1 = class NonStandardAuthorizationList extends AsnArray {
10592
+ constructor(items) {
10593
+ super(items);
10594
+ Object.setPrototypeOf(this, NonStandardAuthorizationList_1.prototype);
10595
+ }
10596
+ findProperty(key) {
10597
+ const prop = this.find((o => key in o));
10598
+ if (prop) {
10599
+ return prop[key];
10600
+ }
10601
+ return undefined;
10602
+ }
10603
+ };
10604
+ NonStandardAuthorizationList = NonStandardAuthorizationList_1 = __decorate([
10605
+ AsnType({ type: exports.AsnTypeTypes.Sequence, itemType: NonStandardAuthorization })
10606
+ ], NonStandardAuthorizationList);
10607
+ class NonStandardKeyDescription {
10608
+ constructor(params = {}) {
10609
+ this.attestationVersion = Version.KM4;
10610
+ this.attestationSecurityLevel = SecurityLevel.software;
10611
+ this.keymasterVersion = 0;
10612
+ this.keymasterSecurityLevel = SecurityLevel.software;
10613
+ this.attestationChallenge = new OctetString();
10614
+ this.uniqueId = new OctetString();
10615
+ this.softwareEnforced = new NonStandardAuthorizationList();
10616
+ this.teeEnforced = new NonStandardAuthorizationList();
10617
+ Object.assign(this, params);
10618
+ }
10619
+ }
10620
+ __decorate([
10621
+ AsnProp({ type: exports.AsnPropTypes.Integer })
10622
+ ], NonStandardKeyDescription.prototype, "attestationVersion", void 0);
10623
+ __decorate([
10624
+ AsnProp({ type: exports.AsnPropTypes.Enumerated })
10625
+ ], NonStandardKeyDescription.prototype, "attestationSecurityLevel", void 0);
10626
+ __decorate([
10627
+ AsnProp({ type: exports.AsnPropTypes.Integer })
10628
+ ], NonStandardKeyDescription.prototype, "keymasterVersion", void 0);
10629
+ __decorate([
10630
+ AsnProp({ type: exports.AsnPropTypes.Enumerated })
10631
+ ], NonStandardKeyDescription.prototype, "keymasterSecurityLevel", void 0);
10632
+ __decorate([
10633
+ AsnProp({ type: OctetString })
10634
+ ], NonStandardKeyDescription.prototype, "attestationChallenge", void 0);
10635
+ __decorate([
10636
+ AsnProp({ type: OctetString })
10637
+ ], NonStandardKeyDescription.prototype, "uniqueId", void 0);
10638
+ __decorate([
10639
+ AsnProp({ type: NonStandardAuthorizationList })
10640
+ ], NonStandardKeyDescription.prototype, "softwareEnforced", void 0);
10641
+ __decorate([
10642
+ AsnProp({ type: NonStandardAuthorizationList })
10643
+ ], NonStandardKeyDescription.prototype, "teeEnforced", void 0);
10644
+
10645
+ class AttestationPackageInfo {
10646
+ constructor(params = {}) {
10647
+ Object.assign(this, params);
10648
+ }
10649
+ }
10650
+ __decorate([
10651
+ AsnProp({ type: exports.AsnPropTypes.OctetString })
10652
+ ], AttestationPackageInfo.prototype, "packageName", void 0);
10653
+ __decorate([
10654
+ AsnProp({ type: exports.AsnPropTypes.Integer })
10655
+ ], AttestationPackageInfo.prototype, "version", void 0);
10656
+ class AttestationApplicationId {
10657
+ constructor(params = {}) {
10658
+ Object.assign(this, params);
10659
+ }
10660
+ }
10661
+ __decorate([
10662
+ AsnProp({ type: AttestationPackageInfo, repeated: "set" })
10663
+ ], AttestationApplicationId.prototype, "packageInfos", void 0);
10664
+ __decorate([
10665
+ AsnProp({ type: exports.AsnPropTypes.OctetString, repeated: "set" })
10666
+ ], AttestationApplicationId.prototype, "signatureDigests", void 0);
10667
+
10346
10668
  /**
10347
10669
  * @license
10348
10670
  * Copyright (c) Peculiar Ventures, LLC.
@@ -10375,7 +10697,7 @@ class AsnData {
10375
10697
  else {
10376
10698
  // raw, type
10377
10699
  __classPrivateFieldSet(this, _AsnData_asn, AsnConvert.parse(args[0], args[1]), "f");
10378
- __classPrivateFieldSet(this, _AsnData_raw, download$1.build.BufferSourceConverter.toArrayBuffer(args[0]), "f");
10700
+ __classPrivateFieldSet(this, _AsnData_raw, download$1.BufferSourceConverter_1.toArrayBuffer(args[0]), "f");
10379
10701
  }
10380
10702
  }
10381
10703
  get asn() {
@@ -10519,14 +10841,17 @@ class Extension extends AsnData {
10519
10841
  case id_ce_deltaCRLIndicator:
10520
10842
  this.value = AsnParser.parse(asnExtnValue, BaseCRLNumber);
10521
10843
  break;
10844
+ case id_ce_keyDescription:
10845
+ this.value = AsnParser.parse(asnExtnValue, NonStandardKeyDescription);
10846
+ break;
10522
10847
  default:
10523
10848
  console.warn(`Didn't detect parser for "${this.asn.extnID}" extension.`);
10524
- this.value = download$1.build.Convert.ToHex(asnExtnValue);
10849
+ this.value = download$1.Convert_1.ToHex(asnExtnValue);
10525
10850
  }
10526
10851
  }
10527
10852
  catch (error) {
10528
10853
  console.error(`Error parse "${this.asn.extnID}" extension:`, error.message);
10529
- this.value = download$1.build.Convert.ToHex(asnExtnValue);
10854
+ this.value = download$1.Convert_1.ToHex(asnExtnValue);
10530
10855
  }
10531
10856
  }
10532
10857
  }
@@ -10588,13 +10913,13 @@ const certificateRawToBuffer = (raw) => {
10588
10913
  const rawClarified = base64Clarify(raw);
10589
10914
  let buffer;
10590
10915
  if (isHex(rawClarified)) {
10591
- buffer = download$1.build.Convert.FromHex(rawClarified);
10916
+ buffer = download$1.Convert_1.FromHex(rawClarified);
10592
10917
  }
10593
10918
  else if (isBase64(rawClarified) || isPem(rawClarified)) {
10594
- buffer = download$1.build.Convert.FromBase64(rawClarified);
10919
+ buffer = download$1.Convert_1.FromBase64(rawClarified);
10595
10920
  }
10596
10921
  else {
10597
- buffer = download$1.build.Convert.FromBinary(raw);
10922
+ buffer = download$1.Convert_1.FromBinary(raw);
10598
10923
  }
10599
10924
  return buffer;
10600
10925
  };
@@ -11162,6 +11487,75 @@ exports.WebGDPR = __decorate([
11162
11487
  AsnType({ type: exports.AsnTypeTypes.Sequence })
11163
11488
  ], exports.WebGDPR);
11164
11489
 
11490
+ class IssuerAndSerialNumber {
11491
+ constructor(params = {}) {
11492
+ this.issuer = new exports.Name$1;
11493
+ this.serialNumber = new ArrayBuffer(0);
11494
+ Object.assign(this, params);
11495
+ }
11496
+ }
11497
+ __decorate([
11498
+ AsnProp({ type: exports.Name$1 })
11499
+ ], IssuerAndSerialNumber.prototype, "issuer", void 0);
11500
+ __decorate([
11501
+ AsnProp({ type: exports.AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
11502
+ ], IssuerAndSerialNumber.prototype, "serialNumber", void 0);
11503
+
11504
+ let SignerIdentifier = class SignerIdentifier {
11505
+ constructor(params = {}) {
11506
+ Object.assign(this, params);
11507
+ }
11508
+ };
11509
+ __decorate([
11510
+ AsnProp({ type: SubjectKeyIdentifier, context: 0, implicit: true })
11511
+ ], SignerIdentifier.prototype, "subjectKeyIdentifier", void 0);
11512
+ __decorate([
11513
+ AsnProp({ type: IssuerAndSerialNumber })
11514
+ ], SignerIdentifier.prototype, "issuerAndSerialNumber", void 0);
11515
+ SignerIdentifier = __decorate([
11516
+ AsnType({ type: exports.AsnTypeTypes.Choice })
11517
+ ], SignerIdentifier);
11518
+
11519
+ var CMSVersion;
11520
+ (function (CMSVersion) {
11521
+ CMSVersion[CMSVersion["v0"] = 0] = "v0";
11522
+ CMSVersion[CMSVersion["v1"] = 1] = "v1";
11523
+ CMSVersion[CMSVersion["v2"] = 2] = "v2";
11524
+ CMSVersion[CMSVersion["v3"] = 3] = "v3";
11525
+ CMSVersion[CMSVersion["v4"] = 4] = "v4";
11526
+ CMSVersion[CMSVersion["v5"] = 5] = "v5";
11527
+ })(CMSVersion || (CMSVersion = {}));
11528
+ let DigestAlgorithmIdentifier = class DigestAlgorithmIdentifier extends AlgorithmIdentifier {
11529
+ };
11530
+ DigestAlgorithmIdentifier = __decorate([
11531
+ AsnType({ type: exports.AsnTypeTypes.Sequence })
11532
+ ], DigestAlgorithmIdentifier);
11533
+ let SignatureAlgorithmIdentifier = class SignatureAlgorithmIdentifier extends AlgorithmIdentifier {
11534
+ };
11535
+ SignatureAlgorithmIdentifier = __decorate([
11536
+ AsnType({ type: exports.AsnTypeTypes.Sequence })
11537
+ ], SignatureAlgorithmIdentifier);
11538
+ let KeyEncryptionAlgorithmIdentifier = class KeyEncryptionAlgorithmIdentifier extends AlgorithmIdentifier {
11539
+ };
11540
+ KeyEncryptionAlgorithmIdentifier = __decorate([
11541
+ AsnType({ type: exports.AsnTypeTypes.Sequence })
11542
+ ], KeyEncryptionAlgorithmIdentifier);
11543
+ let ContentEncryptionAlgorithmIdentifier = class ContentEncryptionAlgorithmIdentifier extends AlgorithmIdentifier {
11544
+ };
11545
+ ContentEncryptionAlgorithmIdentifier = __decorate([
11546
+ AsnType({ type: exports.AsnTypeTypes.Sequence })
11547
+ ], ContentEncryptionAlgorithmIdentifier);
11548
+ let MessageAuthenticationCodeAlgorithm = class MessageAuthenticationCodeAlgorithm extends AlgorithmIdentifier {
11549
+ };
11550
+ MessageAuthenticationCodeAlgorithm = __decorate([
11551
+ AsnType({ type: exports.AsnTypeTypes.Sequence })
11552
+ ], MessageAuthenticationCodeAlgorithm);
11553
+ let KeyDerivationAlgorithmIdentifier = class KeyDerivationAlgorithmIdentifier extends AlgorithmIdentifier {
11554
+ };
11555
+ KeyDerivationAlgorithmIdentifier = __decorate([
11556
+ AsnType({ type: exports.AsnTypeTypes.Sequence })
11557
+ ], KeyDerivationAlgorithmIdentifier);
11558
+
11165
11559
  class Attribute {
11166
11560
  constructor(params = {}) {
11167
11561
  this.attrType = "";
@@ -11176,6 +11570,59 @@ __decorate([
11176
11570
  AsnProp({ type: exports.AsnPropTypes.Any, repeated: "set" })
11177
11571
  ], Attribute.prototype, "attrValues", void 0);
11178
11572
 
11573
+ var SignerInfos_1;
11574
+ class SignerInfo {
11575
+ constructor(params = {}) {
11576
+ this.version = CMSVersion.v0;
11577
+ this.sid = new SignerIdentifier();
11578
+ this.digestAlgorithm = new DigestAlgorithmIdentifier();
11579
+ this.signatureAlgorithm = new SignatureAlgorithmIdentifier();
11580
+ this.signature = new OctetString();
11581
+ Object.assign(this, params);
11582
+ }
11583
+ }
11584
+ __decorate([
11585
+ AsnProp({ type: exports.AsnPropTypes.Integer })
11586
+ ], SignerInfo.prototype, "version", void 0);
11587
+ __decorate([
11588
+ AsnProp({ type: SignerIdentifier })
11589
+ ], SignerInfo.prototype, "sid", void 0);
11590
+ __decorate([
11591
+ AsnProp({ type: DigestAlgorithmIdentifier })
11592
+ ], SignerInfo.prototype, "digestAlgorithm", void 0);
11593
+ __decorate([
11594
+ AsnProp({ type: Attribute, repeated: "set", context: 0, implicit: true, optional: true })
11595
+ ], SignerInfo.prototype, "signedAttrs", void 0);
11596
+ __decorate([
11597
+ AsnProp({ type: SignatureAlgorithmIdentifier })
11598
+ ], SignerInfo.prototype, "signatureAlgorithm", void 0);
11599
+ __decorate([
11600
+ AsnProp({ type: OctetString })
11601
+ ], SignerInfo.prototype, "signature", void 0);
11602
+ __decorate([
11603
+ AsnProp({ type: Attribute, repeated: "set", context: 1, implicit: true, optional: true })
11604
+ ], SignerInfo.prototype, "unsignedAttrs", void 0);
11605
+ let SignerInfos = SignerInfos_1 = class SignerInfos extends AsnArray {
11606
+ constructor(items) {
11607
+ super(items);
11608
+ Object.setPrototypeOf(this, SignerInfos_1.prototype);
11609
+ }
11610
+ };
11611
+ SignerInfos = SignerInfos_1 = __decorate([
11612
+ AsnType({ type: exports.AsnTypeTypes.Set, itemType: SignerInfo })
11613
+ ], SignerInfos);
11614
+
11615
+ let SigningTime$1 = class SigningTime extends Time {
11616
+ };
11617
+ SigningTime$1 = __decorate([
11618
+ AsnType({ type: exports.AsnTypeTypes.Choice })
11619
+ ], SigningTime$1);
11620
+ let CounterSignature$1 = class CounterSignature extends SignerInfo {
11621
+ };
11622
+ CounterSignature$1 = __decorate([
11623
+ AsnType({ type: exports.AsnTypeTypes.Sequence })
11624
+ ], CounterSignature$1);
11625
+
11179
11626
  var CertificateSet_1;
11180
11627
  class OtherCertificateFormat {
11181
11628
  constructor(params = {}) {
@@ -11258,46 +11705,6 @@ __decorate([
11258
11705
  AsnProp({ type: EncapsulatedContent, context: 0, optional: true })
11259
11706
  ], EncapsulatedContentInfo.prototype, "eContent", void 0);
11260
11707
 
11261
- var CMSVersion;
11262
- (function (CMSVersion) {
11263
- CMSVersion[CMSVersion["v0"] = 0] = "v0";
11264
- CMSVersion[CMSVersion["v1"] = 1] = "v1";
11265
- CMSVersion[CMSVersion["v2"] = 2] = "v2";
11266
- CMSVersion[CMSVersion["v3"] = 3] = "v3";
11267
- CMSVersion[CMSVersion["v4"] = 4] = "v4";
11268
- CMSVersion[CMSVersion["v5"] = 5] = "v5";
11269
- })(CMSVersion || (CMSVersion = {}));
11270
- let DigestAlgorithmIdentifier = class DigestAlgorithmIdentifier extends AlgorithmIdentifier {
11271
- };
11272
- DigestAlgorithmIdentifier = __decorate([
11273
- AsnType({ type: exports.AsnTypeTypes.Sequence })
11274
- ], DigestAlgorithmIdentifier);
11275
- let SignatureAlgorithmIdentifier = class SignatureAlgorithmIdentifier extends AlgorithmIdentifier {
11276
- };
11277
- SignatureAlgorithmIdentifier = __decorate([
11278
- AsnType({ type: exports.AsnTypeTypes.Sequence })
11279
- ], SignatureAlgorithmIdentifier);
11280
- let KeyEncryptionAlgorithmIdentifier = class KeyEncryptionAlgorithmIdentifier extends AlgorithmIdentifier {
11281
- };
11282
- KeyEncryptionAlgorithmIdentifier = __decorate([
11283
- AsnType({ type: exports.AsnTypeTypes.Sequence })
11284
- ], KeyEncryptionAlgorithmIdentifier);
11285
- let ContentEncryptionAlgorithmIdentifier = class ContentEncryptionAlgorithmIdentifier extends AlgorithmIdentifier {
11286
- };
11287
- ContentEncryptionAlgorithmIdentifier = __decorate([
11288
- AsnType({ type: exports.AsnTypeTypes.Sequence })
11289
- ], ContentEncryptionAlgorithmIdentifier);
11290
- let MessageAuthenticationCodeAlgorithm = class MessageAuthenticationCodeAlgorithm extends AlgorithmIdentifier {
11291
- };
11292
- MessageAuthenticationCodeAlgorithm = __decorate([
11293
- AsnType({ type: exports.AsnTypeTypes.Sequence })
11294
- ], MessageAuthenticationCodeAlgorithm);
11295
- let KeyDerivationAlgorithmIdentifier = class KeyDerivationAlgorithmIdentifier extends AlgorithmIdentifier {
11296
- };
11297
- KeyDerivationAlgorithmIdentifier = __decorate([
11298
- AsnType({ type: exports.AsnTypeTypes.Sequence })
11299
- ], KeyDerivationAlgorithmIdentifier);
11300
-
11301
11708
  let EncryptedContent = class EncryptedContent {
11302
11709
  constructor(params = {}) {
11303
11710
  Object.assign(this, params);
@@ -11329,20 +11736,6 @@ __decorate([
11329
11736
  AsnProp({ type: EncryptedContent, optional: true })
11330
11737
  ], EncryptedContentInfo.prototype, "encryptedContent", void 0);
11331
11738
 
11332
- class IssuerAndSerialNumber {
11333
- constructor(params = {}) {
11334
- this.issuer = new exports.Name$1;
11335
- this.serialNumber = new ArrayBuffer(0);
11336
- Object.assign(this, params);
11337
- }
11338
- }
11339
- __decorate([
11340
- AsnProp({ type: exports.Name$1 })
11341
- ], IssuerAndSerialNumber.prototype, "issuer", void 0);
11342
- __decorate([
11343
- AsnProp({ type: exports.AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
11344
- ], IssuerAndSerialNumber.prototype, "serialNumber", void 0);
11345
-
11346
11739
  class OtherKeyAttribute {
11347
11740
  constructor(params = {}) {
11348
11741
  this.keyAttrId = "";
@@ -11687,63 +12080,6 @@ __decorate([
11687
12080
  AsnProp({ type: UnprotectedAttributes, context: 1, implicit: true, optional: true })
11688
12081
  ], EnvelopedData.prototype, "unprotectedAttrs", void 0);
11689
12082
 
11690
- let SignerIdentifier = class SignerIdentifier {
11691
- constructor(params = {}) {
11692
- Object.assign(this, params);
11693
- }
11694
- };
11695
- __decorate([
11696
- AsnProp({ type: SubjectKeyIdentifier, context: 0, implicit: true })
11697
- ], SignerIdentifier.prototype, "subjectKeyIdentifier", void 0);
11698
- __decorate([
11699
- AsnProp({ type: IssuerAndSerialNumber })
11700
- ], SignerIdentifier.prototype, "issuerAndSerialNumber", void 0);
11701
- SignerIdentifier = __decorate([
11702
- AsnType({ type: exports.AsnTypeTypes.Choice })
11703
- ], SignerIdentifier);
11704
-
11705
- var SignerInfos_1;
11706
- class SignerInfo {
11707
- constructor(params = {}) {
11708
- this.version = CMSVersion.v0;
11709
- this.sid = new SignerIdentifier();
11710
- this.digestAlgorithm = new DigestAlgorithmIdentifier();
11711
- this.signatureAlgorithm = new SignatureAlgorithmIdentifier();
11712
- this.signature = new OctetString();
11713
- Object.assign(this, params);
11714
- }
11715
- }
11716
- __decorate([
11717
- AsnProp({ type: exports.AsnPropTypes.Integer })
11718
- ], SignerInfo.prototype, "version", void 0);
11719
- __decorate([
11720
- AsnProp({ type: SignerIdentifier })
11721
- ], SignerInfo.prototype, "sid", void 0);
11722
- __decorate([
11723
- AsnProp({ type: DigestAlgorithmIdentifier })
11724
- ], SignerInfo.prototype, "digestAlgorithm", void 0);
11725
- __decorate([
11726
- AsnProp({ type: Attribute, repeated: "set", context: 0, implicit: true, optional: true })
11727
- ], SignerInfo.prototype, "signedAttrs", void 0);
11728
- __decorate([
11729
- AsnProp({ type: SignatureAlgorithmIdentifier })
11730
- ], SignerInfo.prototype, "signatureAlgorithm", void 0);
11731
- __decorate([
11732
- AsnProp({ type: OctetString })
11733
- ], SignerInfo.prototype, "signature", void 0);
11734
- __decorate([
11735
- AsnProp({ type: Attribute, repeated: "set", context: 1, implicit: true, optional: true })
11736
- ], SignerInfo.prototype, "unsignedAttrs", void 0);
11737
- let SignerInfos = SignerInfos_1 = class SignerInfos extends AsnArray {
11738
- constructor(items) {
11739
- super(items);
11740
- Object.setPrototypeOf(this, SignerInfos_1.prototype);
11741
- }
11742
- };
11743
- SignerInfos = SignerInfos_1 = __decorate([
11744
- AsnType({ type: exports.AsnTypeTypes.Set, itemType: SignerInfo })
11745
- ], SignerInfos);
11746
-
11747
12083
  var DigestAlgorithmIdentifiers_1;
11748
12084
  let DigestAlgorithmIdentifiers = DigestAlgorithmIdentifiers_1 = class DigestAlgorithmIdentifiers extends AsnArray {
11749
12085
  constructor(items) {
@@ -12197,6 +12533,7 @@ exports.AsnIntegerArrayBufferConverter = AsnIntegerArrayBufferConverter;
12197
12533
  exports.AsnParser = AsnParser;
12198
12534
  exports.AsnProp = AsnProp;
12199
12535
  exports.AsnType = AsnType;
12536
+ exports.AttestationApplicationId = AttestationApplicationId;
12200
12537
  exports.Attribute = Attribute$1;
12201
12538
  exports.AttributeCertificate = AttributeCertificate;
12202
12539
  exports.AuthorityKeyIdentifier = AuthorityKeyIdentifier;
@@ -12215,11 +12552,13 @@ exports.LogotypeExtn = LogotypeExtn;
12215
12552
  exports.Name = Name;
12216
12553
  exports.NameConstraints = NameConstraints;
12217
12554
  exports.NetscapeCertType = NetscapeCertType;
12555
+ exports.NonStandardKeyDescription = NonStandardKeyDescription;
12218
12556
  exports.OIDs = OIDs;
12219
12557
  exports.OtherName = OtherName;
12220
12558
  exports.PolicyConstraints = PolicyConstraints;
12221
12559
  exports.PrivateKeyUsagePeriod = PrivateKeyUsagePeriod;
12222
12560
  exports.RSAPublicKey = RSAPublicKey;
12561
+ exports.RootOfTrust = RootOfTrust;
12223
12562
  exports.SemanticsInformation = SemanticsInformation;
12224
12563
  exports.SubjectKeyIdentifier = SubjectKeyIdentifier;
12225
12564
  exports.Timestamp = Timestamp;
@@ -12255,4 +12594,4 @@ exports.isX509CRLPem = isX509CRLPem;
12255
12594
  exports.isX509Pem = isX509Pem;
12256
12595
  exports.l10n = l10n;
12257
12596
 
12258
- //# sourceMappingURL=certification_request-c0cafa72.js.map
12597
+ //# sourceMappingURL=certification_request-bf416170.js.map