@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.
- package/README.md +1 -1
- package/components/attribute-certificate-viewer.js +7 -7
- package/components/attribute-certificate-viewer.js.map +1 -1
- package/components/certificate-viewer.js +5 -5
- package/components/certificate-viewer.js.map +1 -1
- package/components/crl-viewer.js +6 -6
- package/components/crl-viewer.js.map +1 -1
- package/components/csr-viewer.js +4 -4
- package/components/csr-viewer.js.map +1 -1
- package/components/download.js +374 -374
- package/components/download.js.map +1 -1
- package/components/index2.js +2 -2
- package/components/index2.js.map +1 -1
- package/components/miscellaneous.js +1320 -810
- package/components/miscellaneous.js.map +1 -1
- package/components/subject_name.js +2 -2
- package/components/subject_name.js.map +1 -1
- package/dist/cjs/{certification_request-c0cafa72.js → certification_request-5672c667.js} +1227 -823
- package/dist/cjs/certification_request-5672c667.js.map +1 -0
- package/dist/cjs/{crl-b4322166.js → crl-3f681d44.js} +14 -14
- package/dist/cjs/{crl-b4322166.js.map → crl-3f681d44.js.map} +1 -1
- package/dist/cjs/{download-972dda8a.js → download-0fa5b33c.js} +377 -377
- package/dist/cjs/download-0fa5b33c.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{miscellaneous-e43aaae5.js → miscellaneous-905ec852.js} +125 -15
- package/dist/cjs/miscellaneous-905ec852.js.map +1 -0
- package/dist/cjs/peculiar-attribute-certificate-viewer_3.cjs.entry.js +8 -8
- package/dist/cjs/peculiar-attribute-certificate-viewer_3.cjs.entry.js.map +1 -1
- package/dist/cjs/peculiar-certificate-decoder.cjs.entry.js +4 -4
- package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js +4 -4
- package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js +3 -3
- package/dist/cjs/{x509_certificate-989b1435.js → x509_certificate-69764c52.js} +7 -7
- package/dist/cjs/{x509_certificate-989b1435.js.map → x509_certificate-69764c52.js.map} +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/cabforganization_identifier_extension.js +19 -0
- package/dist/collection/components/certificate-details-parts/extensions/cabforganization_identifier_extension.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/extensions/index.js +10 -0
- package/dist/collection/components/certificate-details-parts/extensions/index.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/key_description_extension.js +80 -0
- package/dist/collection/components/certificate-details-parts/extensions/key_description_extension.js.map +1 -0
- package/dist/collection/constants/logs.js +1 -0
- package/dist/collection/constants/logs.js.map +1 -1
- package/dist/collection/constants/oids.js +25 -4
- package/dist/collection/constants/oids.js.map +1 -1
- package/dist/collection/crypto/extension.js +8 -0
- package/dist/collection/crypto/extension.js.map +1 -1
- package/dist/collection/crypto/extensions/cabforganization_identifier.js +49 -0
- package/dist/collection/crypto/extensions/cabforganization_identifier.js.map +1 -0
- package/dist/collection/crypto/extensions/index.js +5 -0
- package/dist/collection/crypto/extensions/index.js.map +1 -0
- package/dist/collection/utils/camel_case_to_words.js +15 -0
- package/dist/collection/utils/camel_case_to_words.js.map +1 -0
- package/dist/collection/utils/index.js +1 -0
- package/dist/collection/utils/index.js.map +1 -1
- package/dist/esm/{certification_request-5cadde9f.js → certification_request-d5ea5973.js} +1217 -817
- package/dist/esm/certification_request-d5ea5973.js.map +1 -0
- package/dist/esm/{crl-11670c3e.js → crl-d13d9ec5.js} +14 -14
- package/dist/esm/{crl-11670c3e.js.map → crl-d13d9ec5.js.map} +1 -1
- package/dist/esm/{download-57c5bf8f.js → download-aacb6eff.js} +375 -375
- package/dist/esm/download-aacb6eff.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/{miscellaneous-7793a310.js → miscellaneous-cdfd8905.js} +125 -15
- package/dist/esm/miscellaneous-cdfd8905.js.map +1 -0
- package/dist/esm/peculiar-attribute-certificate-viewer_3.entry.js +8 -8
- package/dist/esm/peculiar-attribute-certificate-viewer_3.entry.js.map +1 -1
- package/dist/esm/peculiar-certificate-decoder.entry.js +4 -4
- package/dist/esm/peculiar-certificate-viewer.entry.js +4 -4
- package/dist/esm/peculiar-certificates-viewer.entry.js +3 -3
- package/dist/esm/{x509_certificate-dfae6999.js → x509_certificate-a9fcab55.js} +7 -7
- package/dist/esm/{x509_certificate-dfae6999.js.map → x509_certificate-a9fcab55.js.map} +1 -1
- package/dist/esm-es5/certification_request-d5ea5973.js +97 -0
- package/dist/esm-es5/certification_request-d5ea5973.js.map +1 -0
- package/dist/esm-es5/{crl-11670c3e.js → crl-d13d9ec5.js} +6 -6
- package/dist/esm-es5/{crl-11670c3e.js.map → crl-d13d9ec5.js.map} +1 -1
- package/dist/esm-es5/download-aacb6eff.js +43 -0
- package/dist/esm-es5/download-aacb6eff.js.map +1 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/miscellaneous-cdfd8905.js +369 -0
- package/dist/esm-es5/miscellaneous-cdfd8905.js.map +1 -0
- package/dist/esm-es5/peculiar-attribute-certificate-viewer_3.entry.js +3 -3
- package/dist/esm-es5/peculiar-attribute-certificate-viewer_3.entry.js.map +1 -1
- package/dist/esm-es5/peculiar-certificate-decoder.entry.js +1 -1
- package/dist/esm-es5/peculiar-certificate-viewer.entry.js +1 -1
- package/dist/esm-es5/peculiar-certificates-viewer.entry.js +1 -1
- package/dist/esm-es5/x509_certificate-a9fcab55.js +12 -0
- package/dist/esm-es5/{x509_certificate-dfae6999.js.map → x509_certificate-a9fcab55.js.map} +1 -1
- package/dist/peculiar/index.esm.js +1 -1
- package/dist/peculiar/p-14f281b0.system.js +43 -0
- package/dist/peculiar/p-14f281b0.system.js.map +1 -0
- package/dist/peculiar/{p-1844b807.system.entry.js → p-3b395604.system.entry.js} +2 -2
- package/dist/peculiar/p-48474b8d.js +12 -0
- package/dist/peculiar/{p-6e79b9c8.js.map → p-48474b8d.js.map} +1 -1
- package/dist/peculiar/p-4a6ceeda.js +97 -0
- package/dist/peculiar/p-4a6ceeda.js.map +1 -0
- package/dist/peculiar/p-59e5ac12.js +43 -0
- package/dist/peculiar/p-59e5ac12.js.map +1 -0
- package/dist/peculiar/{p-7f9fef87.entry.js → p-609ee9f0.entry.js} +2 -2
- package/dist/peculiar/p-67156853.js +369 -0
- package/dist/peculiar/p-67156853.js.map +1 -0
- package/dist/peculiar/p-6daee4d7.system.js +369 -0
- package/dist/peculiar/p-6daee4d7.system.js.map +1 -0
- package/dist/peculiar/p-6e48afc4.system.js +34 -0
- package/dist/peculiar/{p-6667fe6e.system.js.map → p-6e48afc4.system.js.map} +1 -1
- package/dist/peculiar/{p-0b475f2a.system.entry.js → p-718982f4.system.entry.js} +4 -4
- package/dist/peculiar/{p-0b475f2a.system.entry.js.map → p-718982f4.system.entry.js.map} +1 -1
- package/dist/peculiar/p-80832207.system.js +1 -1
- package/dist/peculiar/p-8fac1d56.js +33 -0
- package/dist/peculiar/{p-43eb3721.js.map → p-8fac1d56.js.map} +1 -1
- package/dist/peculiar/{p-1de0381c.system.js → p-a3eeb94b.system.js} +2 -2
- package/dist/peculiar/{p-441109db.system.entry.js → p-a67b8793.system.entry.js} +2 -2
- package/dist/peculiar/{p-e39de121.system.entry.js → p-a720c0a5.system.entry.js} +2 -2
- package/dist/peculiar/{p-882e1281.entry.js → p-a7386b78.entry.js} +2 -2
- package/dist/peculiar/p-ab7dc738.system.js +13 -0
- package/dist/peculiar/{p-31586b23.system.js.map → p-ab7dc738.system.js.map} +1 -1
- package/dist/peculiar/{p-bcc86979.entry.js → p-c35b180c.entry.js} +2 -2
- package/dist/peculiar/p-e0f4bda5.system.js +97 -0
- package/dist/peculiar/p-e0f4bda5.system.js.map +1 -0
- package/dist/peculiar/{p-673336cf.entry.js → p-f86279f6.entry.js} +5 -5
- package/dist/peculiar/{p-673336cf.entry.js.map → p-f86279f6.entry.js.map} +1 -1
- package/dist/peculiar/peculiar.esm.js +1 -1
- package/dist/types/components/certificate-details-parts/extensions/cabforganization_identifier_extension.d.ts +15 -0
- package/dist/types/components/certificate-details-parts/extensions/key_description_extension.d.ts +15 -0
- package/dist/types/constants/logs.d.ts +1 -0
- package/dist/types/constants/oids.d.ts +24 -4
- package/dist/types/crypto/extension.d.ts +3 -1
- package/dist/types/crypto/extensions/cabforganization_identifier.d.ts +23 -0
- package/dist/types/crypto/extensions/index.d.ts +1 -0
- package/dist/types/utils/camel_case_to_words.d.ts +8 -0
- package/dist/types/utils/index.d.ts +1 -0
- package/hydrate/index.js +1710 -1200
- package/package.json +22 -21
- package/dist/cjs/certification_request-c0cafa72.js.map +0 -1
- package/dist/cjs/download-972dda8a.js.map +0 -1
- package/dist/cjs/miscellaneous-e43aaae5.js.map +0 -1
- package/dist/esm/certification_request-5cadde9f.js.map +0 -1
- package/dist/esm/download-57c5bf8f.js.map +0 -1
- package/dist/esm/miscellaneous-7793a310.js.map +0 -1
- package/dist/esm-es5/certification_request-5cadde9f.js +0 -97
- package/dist/esm-es5/certification_request-5cadde9f.js.map +0 -1
- package/dist/esm-es5/download-57c5bf8f.js +0 -19
- package/dist/esm-es5/download-57c5bf8f.js.map +0 -1
- package/dist/esm-es5/miscellaneous-7793a310.js +0 -348
- package/dist/esm-es5/miscellaneous-7793a310.js.map +0 -1
- package/dist/esm-es5/x509_certificate-dfae6999.js +0 -12
- package/dist/peculiar/p-31586b23.system.js +0 -13
- package/dist/peculiar/p-43eb3721.js +0 -33
- package/dist/peculiar/p-6667fe6e.system.js +0 -34
- package/dist/peculiar/p-6e79b9c8.js +0 -12
- package/dist/peculiar/p-74c241e7.js +0 -97
- package/dist/peculiar/p-74c241e7.js.map +0 -1
- package/dist/peculiar/p-a053c132.js +0 -19
- package/dist/peculiar/p-a053c132.js.map +0 -1
- package/dist/peculiar/p-a6e2e335.js +0 -348
- package/dist/peculiar/p-a6e2e335.js.map +0 -1
- package/dist/peculiar/p-ae9189f6.system.js +0 -19
- package/dist/peculiar/p-ae9189f6.system.js.map +0 -1
- package/dist/peculiar/p-c0a298fd.system.js +0 -97
- package/dist/peculiar/p-c0a298fd.system.js.map +0 -1
- package/dist/peculiar/p-c362dc5e.system.js +0 -348
- package/dist/peculiar/p-c362dc5e.system.js.map +0 -1
- /package/dist/peculiar/{p-1844b807.system.entry.js.map → p-3b395604.system.entry.js.map} +0 -0
- /package/dist/peculiar/{p-7f9fef87.entry.js.map → p-609ee9f0.entry.js.map} +0 -0
- /package/dist/peculiar/{p-1de0381c.system.js.map → p-a3eeb94b.system.js.map} +0 -0
- /package/dist/peculiar/{p-441109db.system.entry.js.map → p-a67b8793.system.entry.js.map} +0 -0
- /package/dist/peculiar/{p-e39de121.system.entry.js.map → p-a720c0a5.system.entry.js.map} +0 -0
- /package/dist/peculiar/{p-882e1281.entry.js.map → p-a7386b78.entry.js.map} +0 -0
- /package/dist/peculiar/{p-bcc86979.entry.js.map → p-c35b180c.entry.js.map} +0 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const download$1 = require('./download-
|
|
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
|
|
39
|
-
|
|
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 =
|
|
43
|
-
!function(r,e){module.exports=e();}(
|
|
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
|
/**
|
|
@@ -2347,7 +2363,6 @@ const OIDs = {
|
|
|
2347
2363
|
'2.16.840.1.114412.1.11': 'Digi Cert Federated Device Cert',
|
|
2348
2364
|
'2.16.840.1.114412.2.1': 'Digi Cert EV policy',
|
|
2349
2365
|
'2.16.840.1.114412.2.2': 'Digi Cert EV Cert',
|
|
2350
|
-
'2.23.140.1.1': 'EV guidelines certificate policy',
|
|
2351
2366
|
'2.16.840.1.114412.2.3': 'Digi Cert Object Signing Cert',
|
|
2352
2367
|
'2.16.840.1.114412.2.3.1': 'Digi Cert Code Signing Cert',
|
|
2353
2368
|
'2.16.840.1.114412.2.3.2': 'Digi Cert EV Code Signing Cert',
|
|
@@ -2491,14 +2506,12 @@ const OIDs = {
|
|
|
2491
2506
|
'2.54.1775.7': 'Set Qualifier',
|
|
2492
2507
|
'2.54.1775.99': 'Set Data',
|
|
2493
2508
|
'1.3.6.1.4.1.11129.2.4.3': 'CT Pre-Certificate Poison',
|
|
2494
|
-
'2.23.140.1.2.1': 'CA/B Forum Domain Validated',
|
|
2495
|
-
'2.23.140.1.2.2': 'CA/B Forum Organization Validated',
|
|
2496
|
-
'2.23.140.1.5.2.2': 'CA/B Forum Organization Validated Multipurpose',
|
|
2497
2509
|
'1.3.6.1.4.1.44947.1.1.1': 'Let\'s Encrypt',
|
|
2498
2510
|
'1.3.6.1.4.1.4329.7.2.4': 'SSL TLS Certs',
|
|
2499
2511
|
'1.3.6.1.4.1.4329.7': 'Siemens Public Key Infrastructure',
|
|
2500
2512
|
'1.3.6.1.4.1.52266.1': 'Legal Entity Identifier',
|
|
2501
2513
|
'1.3.6.1.4.1.52266.2': 'Role',
|
|
2514
|
+
'1.3.6.1.4.1.11129.2.1.17': 'Android Key Attestation',
|
|
2502
2515
|
// https://ec.europa.eu/futurium/sites/futurium/files/ntqwac_pilot.pdf
|
|
2503
2516
|
'0.4.0.9496.1': 'Domain Name Beneficiary',
|
|
2504
2517
|
'0.4.0.9496.2': 'DNB Legal representative',
|
|
@@ -2519,6 +2532,30 @@ const OIDs = {
|
|
|
2519
2532
|
'1.3.6.1.4.1.18227.999.1.2.1': 'Dilithium3 With SHA256',
|
|
2520
2533
|
'1.3.6.1.4.1.18227.999.1.2.2': 'Dilithium3 With SHA384',
|
|
2521
2534
|
'1.3.6.1.4.1.18227.999.1.2.3': 'Dilithium3 With SHA512',
|
|
2535
|
+
// https://cabforum.org/object-registry/
|
|
2536
|
+
'2.23.140.1.1': 'CA/B Forum Extended Validation',
|
|
2537
|
+
'2.23.140.1.2': 'CA/B Forum Baseline Requirements',
|
|
2538
|
+
'2.23.140.1.2.1': 'CA/B Forum Domain Validated',
|
|
2539
|
+
'2.23.140.1.2.2': 'CA/B Forum Organization Validated',
|
|
2540
|
+
'2.23.140.1.2.3': 'CA/B Forum Individual Validated',
|
|
2541
|
+
'2.23.140.1.3': 'CA/B Forum Extended Validation Codesigning',
|
|
2542
|
+
'2.23.140.1.4.1': 'CA/B Forum Codesigning Requirements Codesigning',
|
|
2543
|
+
'2.23.140.1.5': 'CA/B Forum S/MIME Baseline Requirements',
|
|
2544
|
+
'2.23.140.1.5.1.1': 'CA/B Forum Mailbox Validated Legacy',
|
|
2545
|
+
'2.23.140.1.5.1.2': 'CA/B Forum Mailbox Validated Multipurpose',
|
|
2546
|
+
'2.23.140.1.5.1.3': 'CA/B Forum Mailbox Validated Strict',
|
|
2547
|
+
'2.23.140.1.5.2.1': 'CA/B Forum Organization Validated Legacy',
|
|
2548
|
+
'2.23.140.1.5.2.2': 'CA/B Forum Organization Validated Multipurpose',
|
|
2549
|
+
'2.23.140.1.5.2.3': 'CA/B Forum Organization Validated Strict',
|
|
2550
|
+
'2.23.140.1.5.3.1': 'CA/B Forum Sponsor Validated Legacy',
|
|
2551
|
+
'2.23.140.1.5.3.2': 'CA/B Forum Sponsor Validated Multipurpose',
|
|
2552
|
+
'2.23.140.1.5.3.3': 'CA/B Forum Sponsor Validated Strict',
|
|
2553
|
+
'2.23.140.1.5.4.1': 'CA/B Forum Individual Validated Legacy',
|
|
2554
|
+
'2.23.140.1.5.4.2': 'CA/B Forum Individual Validated Multipurpose',
|
|
2555
|
+
'2.23.140.1.5.4.3': 'CA/B Forum Individual Validated Strict',
|
|
2556
|
+
'2.23.140.1.31': 'CA/B Forum Onion EV',
|
|
2557
|
+
'2.23.140.2.1': 'CA/B Forum Test Certificate',
|
|
2558
|
+
'2.23.140.3.1': 'CA/B Forum Organization Identifier',
|
|
2522
2559
|
};
|
|
2523
2560
|
|
|
2524
2561
|
/*!
|
|
@@ -2778,7 +2815,7 @@ function HexBlock(BaseClass) {
|
|
|
2778
2815
|
super(...args);
|
|
2779
2816
|
const params = args[0] || {};
|
|
2780
2817
|
this.isHexOnly = (_a = params.isHexOnly) !== null && _a !== void 0 ? _a : false;
|
|
2781
|
-
this.valueHexView = params.valueHex ? download$1.
|
|
2818
|
+
this.valueHexView = params.valueHex ? download$1.BufferSourceConverter_1.toUint8Array(params.valueHex) : EMPTY_VIEW;
|
|
2782
2819
|
}
|
|
2783
2820
|
get valueHex() {
|
|
2784
2821
|
return this.valueHexView.slice().buffer;
|
|
@@ -2816,7 +2853,7 @@ function HexBlock(BaseClass) {
|
|
|
2816
2853
|
return {
|
|
2817
2854
|
...super.toJSON(),
|
|
2818
2855
|
isHexOnly: this.isHexOnly,
|
|
2819
|
-
valueHex: download$1.
|
|
2856
|
+
valueHex: download$1.Convert_1.ToHex(this.valueHexView),
|
|
2820
2857
|
};
|
|
2821
2858
|
}
|
|
2822
2859
|
},
|
|
@@ -2829,7 +2866,7 @@ class LocalBaseBlock {
|
|
|
2829
2866
|
this.blockLength = blockLength;
|
|
2830
2867
|
this.error = error;
|
|
2831
2868
|
this.warnings = warnings;
|
|
2832
|
-
this.valueBeforeDecodeView = download$1.
|
|
2869
|
+
this.valueBeforeDecodeView = download$1.BufferSourceConverter_1.toUint8Array(valueBeforeDecode);
|
|
2833
2870
|
}
|
|
2834
2871
|
static blockName() {
|
|
2835
2872
|
return this.NAME;
|
|
@@ -2846,7 +2883,7 @@ class LocalBaseBlock {
|
|
|
2846
2883
|
blockLength: this.blockLength,
|
|
2847
2884
|
error: this.error,
|
|
2848
2885
|
warnings: this.warnings,
|
|
2849
|
-
valueBeforeDecode: download$1.
|
|
2886
|
+
valueBeforeDecode: download$1.Convert_1.ToHex(this.valueBeforeDecodeView),
|
|
2850
2887
|
};
|
|
2851
2888
|
}
|
|
2852
2889
|
}
|
|
@@ -2868,7 +2905,7 @@ class LocalIdentificationBlock extends HexBlock(LocalBaseBlock) {
|
|
|
2868
2905
|
super();
|
|
2869
2906
|
if (idBlock) {
|
|
2870
2907
|
this.isHexOnly = (_a = idBlock.isHexOnly) !== null && _a !== void 0 ? _a : false;
|
|
2871
|
-
this.valueHexView = idBlock.valueHex ? download$1.
|
|
2908
|
+
this.valueHexView = idBlock.valueHex ? download$1.BufferSourceConverter_1.toUint8Array(idBlock.valueHex) : EMPTY_VIEW;
|
|
2872
2909
|
this.tagClass = (_b = idBlock.tagClass) !== null && _b !== void 0 ? _b : -1;
|
|
2873
2910
|
this.tagNumber = (_c = idBlock.tagNumber) !== null && _c !== void 0 ? _c : -1;
|
|
2874
2911
|
this.isConstructed = (_d = idBlock.isConstructed) !== null && _d !== void 0 ? _d : false;
|
|
@@ -2934,7 +2971,7 @@ class LocalIdentificationBlock extends HexBlock(LocalBaseBlock) {
|
|
|
2934
2971
|
return retView.buffer;
|
|
2935
2972
|
}
|
|
2936
2973
|
fromBER(inputBuffer, inputOffset, inputLength) {
|
|
2937
|
-
const inputView = download$1.
|
|
2974
|
+
const inputView = download$1.BufferSourceConverter_1.toUint8Array(inputBuffer);
|
|
2938
2975
|
if (!checkBufferParams(this, inputView, inputOffset, inputLength)) {
|
|
2939
2976
|
return -1;
|
|
2940
2977
|
}
|
|
@@ -3043,7 +3080,7 @@ class LocalLengthBlock extends LocalBaseBlock {
|
|
|
3043
3080
|
this.length = (_c = lenBlock.length) !== null && _c !== void 0 ? _c : 0;
|
|
3044
3081
|
}
|
|
3045
3082
|
fromBER(inputBuffer, inputOffset, inputLength) {
|
|
3046
|
-
const view = download$1.
|
|
3083
|
+
const view = download$1.BufferSourceConverter_1.toUint8Array(inputBuffer);
|
|
3047
3084
|
if (!checkBufferParams(this, view, inputOffset, inputLength)) {
|
|
3048
3085
|
return -1;
|
|
3049
3086
|
}
|
|
@@ -3202,10 +3239,10 @@ class BaseBlock extends LocalBaseBlock {
|
|
|
3202
3239
|
if (encoding === "ascii") {
|
|
3203
3240
|
return this.onAsciiEncoding();
|
|
3204
3241
|
}
|
|
3205
|
-
return download$1.
|
|
3242
|
+
return download$1.Convert_1.ToHex(this.toBER());
|
|
3206
3243
|
}
|
|
3207
3244
|
onAsciiEncoding() {
|
|
3208
|
-
return `${this.constructor.NAME} : ${download$1.
|
|
3245
|
+
return `${this.constructor.NAME} : ${download$1.Convert_1.ToHex(this.valueBlock.valueBeforeDecodeView)}`;
|
|
3209
3246
|
}
|
|
3210
3247
|
isEqual(other) {
|
|
3211
3248
|
if (this === other) {
|
|
@@ -3503,7 +3540,7 @@ function fromBER(inputBuffer) {
|
|
|
3503
3540
|
result
|
|
3504
3541
|
};
|
|
3505
3542
|
}
|
|
3506
|
-
return localFromBER(download$1.
|
|
3543
|
+
return localFromBER(download$1.BufferSourceConverter_1.toUint8Array(inputBuffer).slice(), 0, inputBuffer.byteLength);
|
|
3507
3544
|
}
|
|
3508
3545
|
|
|
3509
3546
|
function checkLen(indefiniteLength, length) {
|
|
@@ -3519,7 +3556,7 @@ class LocalConstructedValueBlock extends ValueBlock {
|
|
|
3519
3556
|
this.isIndefiniteForm = isIndefiniteForm;
|
|
3520
3557
|
}
|
|
3521
3558
|
fromBER(inputBuffer, inputOffset, inputLength) {
|
|
3522
|
-
const view = download$1.
|
|
3559
|
+
const view = download$1.BufferSourceConverter_1.toUint8Array(inputBuffer);
|
|
3523
3560
|
if (!checkBufferParams(this, view, inputOffset, inputLength)) {
|
|
3524
3561
|
return -1;
|
|
3525
3562
|
}
|
|
@@ -3689,7 +3726,7 @@ class LocalBooleanValueBlock extends HexBlock(ValueBlock) {
|
|
|
3689
3726
|
constructor({ value, ...parameters } = {}) {
|
|
3690
3727
|
super(parameters);
|
|
3691
3728
|
if (parameters.valueHex) {
|
|
3692
|
-
this.valueHexView = download$1.
|
|
3729
|
+
this.valueHexView = download$1.BufferSourceConverter_1.toUint8Array(parameters.valueHex);
|
|
3693
3730
|
}
|
|
3694
3731
|
else {
|
|
3695
3732
|
this.valueHexView = new Uint8Array(1);
|
|
@@ -3710,7 +3747,7 @@ class LocalBooleanValueBlock extends HexBlock(ValueBlock) {
|
|
|
3710
3747
|
this.valueHexView[0] = value ? 0xFF : 0x00;
|
|
3711
3748
|
}
|
|
3712
3749
|
fromBER(inputBuffer, inputOffset, inputLength) {
|
|
3713
|
-
const inputView = download$1.
|
|
3750
|
+
const inputView = download$1.BufferSourceConverter_1.toUint8Array(inputBuffer);
|
|
3714
3751
|
if (!checkBufferParams(this, inputView, inputOffset, inputLength)) {
|
|
3715
3752
|
return -1;
|
|
3716
3753
|
}
|
|
@@ -3857,7 +3894,7 @@ class OctetString$1 extends BaseBlock {
|
|
|
3857
3894
|
if (this.valueBlock.isConstructed || (this.valueBlock.value && this.valueBlock.value.length)) {
|
|
3858
3895
|
return Constructed.prototype.onAsciiEncoding.call(this);
|
|
3859
3896
|
}
|
|
3860
|
-
return `${this.constructor.NAME} : ${download$1.
|
|
3897
|
+
return `${this.constructor.NAME} : ${download$1.Convert_1.ToHex(this.valueBlock.valueHexView)}`;
|
|
3861
3898
|
}
|
|
3862
3899
|
getValue() {
|
|
3863
3900
|
if (!this.idBlock.isConstructed) {
|
|
@@ -3869,7 +3906,7 @@ class OctetString$1 extends BaseBlock {
|
|
|
3869
3906
|
array.push(content.valueBlock.valueHexView);
|
|
3870
3907
|
}
|
|
3871
3908
|
}
|
|
3872
|
-
return download$1.
|
|
3909
|
+
return download$1.BufferSourceConverter_1.concat(array);
|
|
3873
3910
|
}
|
|
3874
3911
|
}
|
|
3875
3912
|
_a$r = OctetString$1;
|
|
@@ -3917,7 +3954,7 @@ class LocalBitStringValueBlock extends HexBlock(LocalConstructedValueBlock) {
|
|
|
3917
3954
|
}
|
|
3918
3955
|
return resultOffset;
|
|
3919
3956
|
}
|
|
3920
|
-
const inputView = download$1.
|
|
3957
|
+
const inputView = download$1.BufferSourceConverter_1.toUint8Array(inputBuffer);
|
|
3921
3958
|
if (!checkBufferParams(this, inputView, inputOffset, inputLength)) {
|
|
3922
3959
|
return -1;
|
|
3923
3960
|
}
|
|
@@ -4257,13 +4294,13 @@ class Integer extends BaseBlock {
|
|
|
4257
4294
|
const bigIntValue = BigInt(value);
|
|
4258
4295
|
const writer = new ViewWriter();
|
|
4259
4296
|
const hex = bigIntValue.toString(16).replace(/^-/, "");
|
|
4260
|
-
const view = new Uint8Array(download$1.
|
|
4297
|
+
const view = new Uint8Array(download$1.Convert_1.FromHex(hex));
|
|
4261
4298
|
if (bigIntValue < 0) {
|
|
4262
4299
|
const first = new Uint8Array(view.length + (view[0] & 0x80 ? 1 : 0));
|
|
4263
4300
|
first[0] |= 0x80;
|
|
4264
|
-
const firstInt = BigInt(`0x${download$1.
|
|
4301
|
+
const firstInt = BigInt(`0x${download$1.Convert_1.ToHex(first)}`);
|
|
4265
4302
|
const secondInt = firstInt + bigIntValue;
|
|
4266
|
-
const second = download$1.
|
|
4303
|
+
const second = download$1.BufferSourceConverter_1.toUint8Array(download$1.Convert_1.FromHex(secondInt.toString(16)));
|
|
4267
4304
|
second[0] |= 0x80;
|
|
4268
4305
|
writer.write(second);
|
|
4269
4306
|
}
|
|
@@ -4324,7 +4361,7 @@ class LocalSidValueBlock extends HexBlock(ValueBlock) {
|
|
|
4324
4361
|
if (!inputLength) {
|
|
4325
4362
|
return inputOffset;
|
|
4326
4363
|
}
|
|
4327
|
-
const inputView = download$1.
|
|
4364
|
+
const inputView = download$1.BufferSourceConverter_1.toUint8Array(inputBuffer);
|
|
4328
4365
|
if (!checkBufferParams(this, inputView, inputOffset, inputLength)) {
|
|
4329
4366
|
return -1;
|
|
4330
4367
|
}
|
|
@@ -4396,7 +4433,7 @@ class LocalSidValueBlock extends HexBlock(ValueBlock) {
|
|
|
4396
4433
|
toString() {
|
|
4397
4434
|
let result = "";
|
|
4398
4435
|
if (this.isHexOnly)
|
|
4399
|
-
result = download$1.
|
|
4436
|
+
result = download$1.Convert_1.ToHex(this.valueHexView);
|
|
4400
4437
|
else {
|
|
4401
4438
|
if (this.isFirstSid) {
|
|
4402
4439
|
let sidValue = this.valueDec;
|
|
@@ -4593,7 +4630,7 @@ class LocalRelativeSidValueBlock extends HexBlock(LocalBaseBlock) {
|
|
|
4593
4630
|
fromBER(inputBuffer, inputOffset, inputLength) {
|
|
4594
4631
|
if (inputLength === 0)
|
|
4595
4632
|
return inputOffset;
|
|
4596
|
-
const inputView = download$1.
|
|
4633
|
+
const inputView = download$1.BufferSourceConverter_1.toUint8Array(inputBuffer);
|
|
4597
4634
|
if (!checkBufferParams(this, inputView, inputOffset, inputLength))
|
|
4598
4635
|
return -1;
|
|
4599
4636
|
const intBuffer = inputView.subarray(inputOffset, inputOffset + inputLength);
|
|
@@ -4651,7 +4688,7 @@ class LocalRelativeSidValueBlock extends HexBlock(LocalBaseBlock) {
|
|
|
4651
4688
|
toString() {
|
|
4652
4689
|
let result = "";
|
|
4653
4690
|
if (this.isHexOnly)
|
|
4654
|
-
result = download$1.
|
|
4691
|
+
result = download$1.Convert_1.ToHex(this.valueHexView);
|
|
4655
4692
|
else {
|
|
4656
4693
|
result = this.valueDec.toString();
|
|
4657
4694
|
}
|
|
@@ -4833,7 +4870,7 @@ class LocalSimpleStringBlock extends BaseStringBlock {
|
|
|
4833
4870
|
super(parameters, LocalSimpleStringValueBlock);
|
|
4834
4871
|
}
|
|
4835
4872
|
fromBuffer(inputBuffer) {
|
|
4836
|
-
this.valueBlock.value = String.fromCharCode.apply(null, download$1.
|
|
4873
|
+
this.valueBlock.value = String.fromCharCode.apply(null, download$1.BufferSourceConverter_1.toUint8Array(inputBuffer));
|
|
4837
4874
|
}
|
|
4838
4875
|
fromString(inputString) {
|
|
4839
4876
|
const strLen = inputString.length;
|
|
@@ -4847,17 +4884,17 @@ LocalSimpleStringBlock.NAME = "SIMPLE STRING";
|
|
|
4847
4884
|
|
|
4848
4885
|
class LocalUtf8StringValueBlock extends LocalSimpleStringBlock {
|
|
4849
4886
|
fromBuffer(inputBuffer) {
|
|
4850
|
-
this.valueBlock.valueHexView = download$1.
|
|
4887
|
+
this.valueBlock.valueHexView = download$1.BufferSourceConverter_1.toUint8Array(inputBuffer);
|
|
4851
4888
|
try {
|
|
4852
|
-
this.valueBlock.value = download$1.
|
|
4889
|
+
this.valueBlock.value = download$1.Convert_1.ToUtf8String(inputBuffer);
|
|
4853
4890
|
}
|
|
4854
4891
|
catch (ex) {
|
|
4855
4892
|
this.warnings.push(`Error during "decodeURIComponent": ${ex}, using raw string`);
|
|
4856
|
-
this.valueBlock.value = download$1.
|
|
4893
|
+
this.valueBlock.value = download$1.Convert_1.ToBinary(inputBuffer);
|
|
4857
4894
|
}
|
|
4858
4895
|
}
|
|
4859
4896
|
fromString(inputString) {
|
|
4860
|
-
this.valueBlock.valueHexView = new Uint8Array(download$1.
|
|
4897
|
+
this.valueBlock.valueHexView = new Uint8Array(download$1.Convert_1.FromUtf8String(inputString));
|
|
4861
4898
|
this.valueBlock.value = inputString;
|
|
4862
4899
|
}
|
|
4863
4900
|
}
|
|
@@ -4879,12 +4916,12 @@ Utf8String.NAME = "UTF8String";
|
|
|
4879
4916
|
|
|
4880
4917
|
class LocalBmpStringValueBlock extends LocalSimpleStringBlock {
|
|
4881
4918
|
fromBuffer(inputBuffer) {
|
|
4882
|
-
this.valueBlock.value = download$1.
|
|
4883
|
-
this.valueBlock.valueHexView = download$1.
|
|
4919
|
+
this.valueBlock.value = download$1.Convert_1.ToUtf16String(inputBuffer);
|
|
4920
|
+
this.valueBlock.valueHexView = download$1.BufferSourceConverter_1.toUint8Array(inputBuffer);
|
|
4884
4921
|
}
|
|
4885
4922
|
fromString(inputString) {
|
|
4886
4923
|
this.valueBlock.value = inputString;
|
|
4887
|
-
this.valueBlock.valueHexView = new Uint8Array(download$1.
|
|
4924
|
+
this.valueBlock.valueHexView = new Uint8Array(download$1.Convert_1.FromUtf16String(inputString));
|
|
4888
4925
|
}
|
|
4889
4926
|
}
|
|
4890
4927
|
LocalBmpStringValueBlock.NAME = "BmpStringValueBlock";
|
|
@@ -5096,7 +5133,7 @@ class UTCTime extends VisibleString {
|
|
|
5096
5133
|
this.idBlock.tagNumber = 23;
|
|
5097
5134
|
}
|
|
5098
5135
|
fromBuffer(inputBuffer) {
|
|
5099
|
-
this.fromString(String.fromCharCode.apply(null, download$1.
|
|
5136
|
+
this.fromString(String.fromCharCode.apply(null, download$1.BufferSourceConverter_1.toUint8Array(inputBuffer)));
|
|
5100
5137
|
}
|
|
5101
5138
|
toBuffer() {
|
|
5102
5139
|
const str = this.toString();
|
|
@@ -5446,17 +5483,17 @@ class Repeated extends Any {
|
|
|
5446
5483
|
|
|
5447
5484
|
class RawData {
|
|
5448
5485
|
constructor({ data = EMPTY_VIEW } = {}) {
|
|
5449
|
-
this.dataView = download$1.
|
|
5486
|
+
this.dataView = download$1.BufferSourceConverter_1.toUint8Array(data);
|
|
5450
5487
|
}
|
|
5451
5488
|
get data() {
|
|
5452
5489
|
return this.dataView.slice().buffer;
|
|
5453
5490
|
}
|
|
5454
5491
|
set data(value) {
|
|
5455
|
-
this.dataView = download$1.
|
|
5492
|
+
this.dataView = download$1.BufferSourceConverter_1.toUint8Array(value);
|
|
5456
5493
|
}
|
|
5457
5494
|
fromBER(inputBuffer, inputOffset, inputLength) {
|
|
5458
5495
|
const endLength = inputOffset + inputLength;
|
|
5459
|
-
this.dataView = download$1.
|
|
5496
|
+
this.dataView = download$1.BufferSourceConverter_1.toUint8Array(inputBuffer).subarray(inputOffset, endLength);
|
|
5460
5497
|
return endLength;
|
|
5461
5498
|
}
|
|
5462
5499
|
toBER(sizeOnly) {
|
|
@@ -5775,7 +5812,7 @@ function verifySchema(inputBuffer, inputSchema) {
|
|
|
5775
5812
|
result: { error: "Wrong ASN.1 schema type" }
|
|
5776
5813
|
};
|
|
5777
5814
|
}
|
|
5778
|
-
const asn1 = localFromBER(download$1.
|
|
5815
|
+
const asn1 = localFromBER(download$1.BufferSourceConverter_1.toUint8Array(inputBuffer));
|
|
5779
5816
|
if (asn1.offset === -1) {
|
|
5780
5817
|
return {
|
|
5781
5818
|
verified: false,
|
|
@@ -5878,9 +5915,9 @@ class BitString {
|
|
|
5878
5915
|
if (typeof params === "number") {
|
|
5879
5916
|
this.fromNumber(params);
|
|
5880
5917
|
}
|
|
5881
|
-
else if (download$1.
|
|
5918
|
+
else if (download$1.BufferSourceConverter_1.isBufferSource(params)) {
|
|
5882
5919
|
this.unusedBits = unusedBits;
|
|
5883
|
-
this.value = download$1.
|
|
5920
|
+
this.value = download$1.BufferSourceConverter_1.toArrayBuffer(params);
|
|
5884
5921
|
}
|
|
5885
5922
|
else {
|
|
5886
5923
|
throw TypeError("Unsupported type of 'params' argument for BitString");
|
|
@@ -5929,13 +5966,19 @@ class BitString {
|
|
|
5929
5966
|
}
|
|
5930
5967
|
|
|
5931
5968
|
class OctetString {
|
|
5969
|
+
get byteLength() {
|
|
5970
|
+
return this.buffer.byteLength;
|
|
5971
|
+
}
|
|
5972
|
+
get byteOffset() {
|
|
5973
|
+
return 0;
|
|
5974
|
+
}
|
|
5932
5975
|
constructor(param) {
|
|
5933
5976
|
if (typeof param === "number") {
|
|
5934
5977
|
this.buffer = new ArrayBuffer(param);
|
|
5935
5978
|
}
|
|
5936
5979
|
else {
|
|
5937
|
-
if (download$1.
|
|
5938
|
-
this.buffer = download$1.
|
|
5980
|
+
if (download$1.BufferSourceConverter_1.isBufferSource(param)) {
|
|
5981
|
+
this.buffer = download$1.BufferSourceConverter_1.toArrayBuffer(param);
|
|
5939
5982
|
}
|
|
5940
5983
|
else if (Array.isArray(param)) {
|
|
5941
5984
|
this.buffer = new Uint8Array(param);
|
|
@@ -5945,12 +5988,6 @@ class OctetString {
|
|
|
5945
5988
|
}
|
|
5946
5989
|
}
|
|
5947
5990
|
}
|
|
5948
|
-
get byteLength() {
|
|
5949
|
-
return this.buffer.byteLength;
|
|
5950
|
-
}
|
|
5951
|
-
get byteOffset() {
|
|
5952
|
-
return 0;
|
|
5953
|
-
}
|
|
5954
5991
|
fromASN(asn) {
|
|
5955
5992
|
if (!(asn instanceof OctetString$1)) {
|
|
5956
5993
|
throw new TypeError("Argument 'asn' is not instance of ASN.1 OctetString");
|
|
@@ -6637,8 +6674,8 @@ class AsnConvert {
|
|
|
6637
6674
|
return AsnParser.parse(data, target);
|
|
6638
6675
|
}
|
|
6639
6676
|
static toString(data) {
|
|
6640
|
-
const buf = download$1.
|
|
6641
|
-
? download$1.
|
|
6677
|
+
const buf = download$1.BufferSourceConverter_1.isBufferSource(data)
|
|
6678
|
+
? download$1.BufferSourceConverter_1.toArrayBuffer(data)
|
|
6642
6679
|
: AsnConvert.serialize(data);
|
|
6643
6680
|
const asn = fromBER(buf);
|
|
6644
6681
|
if (asn.offset === -1) {
|
|
@@ -6663,14 +6700,19 @@ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
|
6663
6700
|
PERFORMANCE OF THIS SOFTWARE.
|
|
6664
6701
|
***************************************************************************** */
|
|
6665
6702
|
|
|
6666
|
-
function __decorate(decorators, target, key, desc) {
|
|
6703
|
+
function __decorate$1(decorators, target, key, desc) {
|
|
6667
6704
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6668
6705
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
6669
6706
|
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
6707
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6671
|
-
}
|
|
6708
|
+
}
|
|
6709
|
+
|
|
6710
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
6711
|
+
var e = new Error(message);
|
|
6712
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
6713
|
+
};
|
|
6672
6714
|
|
|
6673
|
-
var ipaddr =
|
|
6715
|
+
var ipaddr = createCommonjsModule(function (module) {
|
|
6674
6716
|
(function (root) {
|
|
6675
6717
|
// A list of regular expressions that match arbitrary IPv4 addresses,
|
|
6676
6718
|
// for which a number of weird notations exist.
|
|
@@ -6875,6 +6917,7 @@ var ipaddr = download$1.createCommonjsModule(function (module) {
|
|
|
6875
6917
|
[new IPv4([192, 0, 0, 0]), 24],
|
|
6876
6918
|
[new IPv4([192, 0, 2, 0]), 24],
|
|
6877
6919
|
[new IPv4([192, 88, 99, 0]), 24],
|
|
6920
|
+
[new IPv4([198, 18, 0, 0]), 15],
|
|
6878
6921
|
[new IPv4([198, 51, 100, 0]), 24],
|
|
6879
6922
|
[new IPv4([203, 0, 113, 0]), 24],
|
|
6880
6923
|
[new IPv4([240, 0, 0, 0]), 4]
|
|
@@ -7217,7 +7260,12 @@ var ipaddr = download$1.createCommonjsModule(function (module) {
|
|
|
7217
7260
|
// RFC6052, RFC6146
|
|
7218
7261
|
teredo: [new IPv6([0x2001, 0, 0, 0, 0, 0, 0, 0]), 32],
|
|
7219
7262
|
// RFC4291
|
|
7220
|
-
reserved: [[new IPv6([0x2001, 0xdb8, 0, 0, 0, 0, 0, 0]), 32]]
|
|
7263
|
+
reserved: [[new IPv6([0x2001, 0xdb8, 0, 0, 0, 0, 0, 0]), 32]],
|
|
7264
|
+
benchmarking: [new IPv6([0x2001, 0x2, 0, 0, 0, 0, 0, 0]), 48],
|
|
7265
|
+
amt: [new IPv6([0x2001, 0x3, 0, 0, 0, 0, 0, 0]), 32],
|
|
7266
|
+
as112v6: [new IPv6([0x2001, 0x4, 0x112, 0, 0, 0, 0, 0]), 48],
|
|
7267
|
+
deprecated: [new IPv6([0x2001, 0x10, 0, 0, 0, 0, 0, 0]), 28],
|
|
7268
|
+
orchid2: [new IPv6([0x2001, 0x20, 0, 0, 0, 0, 0, 0]), 28]
|
|
7221
7269
|
};
|
|
7222
7270
|
|
|
7223
7271
|
// Checks if this address is an IPv4-mapped IPv6 address.
|
|
@@ -7402,11 +7450,9 @@ var ipaddr = download$1.createCommonjsModule(function (module) {
|
|
|
7402
7450
|
|
|
7403
7451
|
// Returns the address in compact, human-readable format like
|
|
7404
7452
|
// 2001:db8:8:66::1
|
|
7405
|
-
//
|
|
7406
|
-
// Deprecated: use toRFC5952String() instead.
|
|
7453
|
+
// Calls toRFC5952String under the hood.
|
|
7407
7454
|
IPv6.prototype.toString = function () {
|
|
7408
|
-
|
|
7409
|
-
return this.toNormalizedString().replace(/((^|:)(0(:|$))+)/, '::');
|
|
7455
|
+
return this.toRFC5952String();
|
|
7410
7456
|
};
|
|
7411
7457
|
|
|
7412
7458
|
return IPv6;
|
|
@@ -7665,7 +7711,7 @@ var ipaddr = download$1.createCommonjsModule(function (module) {
|
|
|
7665
7711
|
root.ipaddr = ipaddr;
|
|
7666
7712
|
}
|
|
7667
7713
|
|
|
7668
|
-
}(
|
|
7714
|
+
}(commonjsGlobal));
|
|
7669
7715
|
});
|
|
7670
7716
|
|
|
7671
7717
|
class IpConverter {
|
|
@@ -7691,7 +7737,7 @@ class IpConverter {
|
|
|
7691
7737
|
const addr = ipaddr.fromByteArray(Array.from(uint8));
|
|
7692
7738
|
return addr.toString();
|
|
7693
7739
|
}
|
|
7694
|
-
return this.decodeIP(download$1.
|
|
7740
|
+
return this.decodeIP(download$1.Convert_1.ToHex(buf));
|
|
7695
7741
|
}
|
|
7696
7742
|
static fromString(text) {
|
|
7697
7743
|
const addr = ipaddr.parse(text);
|
|
@@ -7709,22 +7755,22 @@ let DirectoryString = class DirectoryString {
|
|
|
7709
7755
|
|| this.utf8String || "";
|
|
7710
7756
|
}
|
|
7711
7757
|
};
|
|
7712
|
-
__decorate([
|
|
7758
|
+
__decorate$1([
|
|
7713
7759
|
AsnProp({ type: exports.AsnPropTypes.TeletexString })
|
|
7714
7760
|
], DirectoryString.prototype, "teletexString", void 0);
|
|
7715
|
-
__decorate([
|
|
7761
|
+
__decorate$1([
|
|
7716
7762
|
AsnProp({ type: exports.AsnPropTypes.PrintableString })
|
|
7717
7763
|
], DirectoryString.prototype, "printableString", void 0);
|
|
7718
|
-
__decorate([
|
|
7764
|
+
__decorate$1([
|
|
7719
7765
|
AsnProp({ type: exports.AsnPropTypes.UniversalString })
|
|
7720
7766
|
], DirectoryString.prototype, "universalString", void 0);
|
|
7721
|
-
__decorate([
|
|
7767
|
+
__decorate$1([
|
|
7722
7768
|
AsnProp({ type: exports.AsnPropTypes.Utf8String })
|
|
7723
7769
|
], DirectoryString.prototype, "utf8String", void 0);
|
|
7724
|
-
__decorate([
|
|
7770
|
+
__decorate$1([
|
|
7725
7771
|
AsnProp({ type: exports.AsnPropTypes.BmpString })
|
|
7726
7772
|
], DirectoryString.prototype, "bmpString", void 0);
|
|
7727
|
-
DirectoryString = __decorate([
|
|
7773
|
+
DirectoryString = __decorate$1([
|
|
7728
7774
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
7729
7775
|
], DirectoryString);
|
|
7730
7776
|
let AttributeValue = class AttributeValue extends DirectoryString {
|
|
@@ -7733,16 +7779,16 @@ let AttributeValue = class AttributeValue extends DirectoryString {
|
|
|
7733
7779
|
Object.assign(this, params);
|
|
7734
7780
|
}
|
|
7735
7781
|
toString() {
|
|
7736
|
-
return this.ia5String || (this.anyValue ? download$1.
|
|
7782
|
+
return this.ia5String || (this.anyValue ? download$1.Convert_1.ToHex(this.anyValue) : super.toString());
|
|
7737
7783
|
}
|
|
7738
7784
|
};
|
|
7739
|
-
__decorate([
|
|
7785
|
+
__decorate$1([
|
|
7740
7786
|
AsnProp({ type: exports.AsnPropTypes.IA5String })
|
|
7741
7787
|
], AttributeValue.prototype, "ia5String", void 0);
|
|
7742
|
-
__decorate([
|
|
7788
|
+
__decorate$1([
|
|
7743
7789
|
AsnProp({ type: exports.AsnPropTypes.Any })
|
|
7744
7790
|
], AttributeValue.prototype, "anyValue", void 0);
|
|
7745
|
-
AttributeValue = __decorate([
|
|
7791
|
+
AttributeValue = __decorate$1([
|
|
7746
7792
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
7747
7793
|
], AttributeValue);
|
|
7748
7794
|
class AttributeTypeAndValue {
|
|
@@ -7752,10 +7798,10 @@ class AttributeTypeAndValue {
|
|
|
7752
7798
|
Object.assign(this, params);
|
|
7753
7799
|
}
|
|
7754
7800
|
}
|
|
7755
|
-
__decorate([
|
|
7801
|
+
__decorate$1([
|
|
7756
7802
|
AsnProp({ type: exports.AsnPropTypes.ObjectIdentifier })
|
|
7757
7803
|
], AttributeTypeAndValue.prototype, "type", void 0);
|
|
7758
|
-
__decorate([
|
|
7804
|
+
__decorate$1([
|
|
7759
7805
|
AsnProp({ type: AttributeValue })
|
|
7760
7806
|
], AttributeTypeAndValue.prototype, "value", void 0);
|
|
7761
7807
|
let RelativeDistinguishedName = RelativeDistinguishedName_1 = class RelativeDistinguishedName extends AsnArray {
|
|
@@ -7764,7 +7810,7 @@ let RelativeDistinguishedName = RelativeDistinguishedName_1 = class RelativeDist
|
|
|
7764
7810
|
Object.setPrototypeOf(this, RelativeDistinguishedName_1.prototype);
|
|
7765
7811
|
}
|
|
7766
7812
|
};
|
|
7767
|
-
RelativeDistinguishedName = RelativeDistinguishedName_1 = __decorate([
|
|
7813
|
+
RelativeDistinguishedName = RelativeDistinguishedName_1 = __decorate$1([
|
|
7768
7814
|
AsnType({ type: exports.AsnTypeTypes.Set, itemType: AttributeTypeAndValue })
|
|
7769
7815
|
], RelativeDistinguishedName);
|
|
7770
7816
|
let RDNSequence = RDNSequence_1 = class RDNSequence extends AsnArray {
|
|
@@ -7773,7 +7819,7 @@ let RDNSequence = RDNSequence_1 = class RDNSequence extends AsnArray {
|
|
|
7773
7819
|
Object.setPrototypeOf(this, RDNSequence_1.prototype);
|
|
7774
7820
|
}
|
|
7775
7821
|
};
|
|
7776
|
-
RDNSequence = RDNSequence_1 = __decorate([
|
|
7822
|
+
RDNSequence = RDNSequence_1 = __decorate$1([
|
|
7777
7823
|
AsnType({ type: exports.AsnTypeTypes.Sequence, itemType: RelativeDistinguishedName })
|
|
7778
7824
|
], RDNSequence);
|
|
7779
7825
|
exports.Name$1 = Name_1 = class Name extends RDNSequence {
|
|
@@ -7782,7 +7828,7 @@ exports.Name$1 = Name_1 = class Name extends RDNSequence {
|
|
|
7782
7828
|
Object.setPrototypeOf(this, Name_1.prototype);
|
|
7783
7829
|
}
|
|
7784
7830
|
};
|
|
7785
|
-
exports.Name$1 = Name_1 = __decorate([
|
|
7831
|
+
exports.Name$1 = Name_1 = __decorate$1([
|
|
7786
7832
|
AsnType({ type: exports.AsnTypeTypes.Sequence })
|
|
7787
7833
|
], exports.Name$1);
|
|
7788
7834
|
|
|
@@ -7797,10 +7843,10 @@ class OtherName {
|
|
|
7797
7843
|
Object.assign(this, params);
|
|
7798
7844
|
}
|
|
7799
7845
|
}
|
|
7800
|
-
__decorate([
|
|
7846
|
+
__decorate$1([
|
|
7801
7847
|
AsnProp({ type: exports.AsnPropTypes.ObjectIdentifier })
|
|
7802
7848
|
], OtherName.prototype, "typeId", void 0);
|
|
7803
|
-
__decorate([
|
|
7849
|
+
__decorate$1([
|
|
7804
7850
|
AsnProp({ type: exports.AsnPropTypes.Any, context: 0 })
|
|
7805
7851
|
], OtherName.prototype, "value", void 0);
|
|
7806
7852
|
class EDIPartyName {
|
|
@@ -7809,10 +7855,10 @@ class EDIPartyName {
|
|
|
7809
7855
|
Object.assign(this, params);
|
|
7810
7856
|
}
|
|
7811
7857
|
}
|
|
7812
|
-
__decorate([
|
|
7858
|
+
__decorate$1([
|
|
7813
7859
|
AsnProp({ type: DirectoryString, optional: true, context: 0, implicit: true })
|
|
7814
7860
|
], EDIPartyName.prototype, "nameAssigner", void 0);
|
|
7815
|
-
__decorate([
|
|
7861
|
+
__decorate$1([
|
|
7816
7862
|
AsnProp({ type: DirectoryString, context: 1, implicit: true })
|
|
7817
7863
|
], EDIPartyName.prototype, "partyName", void 0);
|
|
7818
7864
|
let GeneralName = class GeneralName {
|
|
@@ -7820,34 +7866,34 @@ let GeneralName = class GeneralName {
|
|
|
7820
7866
|
Object.assign(this, params);
|
|
7821
7867
|
}
|
|
7822
7868
|
};
|
|
7823
|
-
__decorate([
|
|
7869
|
+
__decorate$1([
|
|
7824
7870
|
AsnProp({ type: OtherName, context: 0, implicit: true })
|
|
7825
7871
|
], GeneralName.prototype, "otherName", void 0);
|
|
7826
|
-
__decorate([
|
|
7872
|
+
__decorate$1([
|
|
7827
7873
|
AsnProp({ type: exports.AsnPropTypes.IA5String, context: 1, implicit: true })
|
|
7828
7874
|
], GeneralName.prototype, "rfc822Name", void 0);
|
|
7829
|
-
__decorate([
|
|
7875
|
+
__decorate$1([
|
|
7830
7876
|
AsnProp({ type: exports.AsnPropTypes.IA5String, context: 2, implicit: true })
|
|
7831
7877
|
], GeneralName.prototype, "dNSName", void 0);
|
|
7832
|
-
__decorate([
|
|
7878
|
+
__decorate$1([
|
|
7833
7879
|
AsnProp({ type: exports.AsnPropTypes.Any, context: 3, implicit: true })
|
|
7834
7880
|
], GeneralName.prototype, "x400Address", void 0);
|
|
7835
|
-
__decorate([
|
|
7881
|
+
__decorate$1([
|
|
7836
7882
|
AsnProp({ type: exports.Name$1, context: 4, implicit: false })
|
|
7837
7883
|
], GeneralName.prototype, "directoryName", void 0);
|
|
7838
|
-
__decorate([
|
|
7884
|
+
__decorate$1([
|
|
7839
7885
|
AsnProp({ type: EDIPartyName, context: 5 })
|
|
7840
7886
|
], GeneralName.prototype, "ediPartyName", void 0);
|
|
7841
|
-
__decorate([
|
|
7887
|
+
__decorate$1([
|
|
7842
7888
|
AsnProp({ type: exports.AsnPropTypes.IA5String, context: 6, implicit: true })
|
|
7843
7889
|
], GeneralName.prototype, "uniformResourceIdentifier", void 0);
|
|
7844
|
-
__decorate([
|
|
7890
|
+
__decorate$1([
|
|
7845
7891
|
AsnProp({ type: exports.AsnPropTypes.OctetString, context: 7, implicit: true, converter: AsnIpConverter })
|
|
7846
7892
|
], GeneralName.prototype, "iPAddress", void 0);
|
|
7847
|
-
__decorate([
|
|
7893
|
+
__decorate$1([
|
|
7848
7894
|
AsnProp({ type: exports.AsnPropTypes.ObjectIdentifier, context: 8, implicit: true })
|
|
7849
7895
|
], GeneralName.prototype, "registeredID", void 0);
|
|
7850
|
-
GeneralName = __decorate([
|
|
7896
|
+
GeneralName = __decorate$1([
|
|
7851
7897
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
7852
7898
|
], GeneralName);
|
|
7853
7899
|
|
|
@@ -7864,10 +7910,10 @@ class AccessDescription {
|
|
|
7864
7910
|
Object.assign(this, params);
|
|
7865
7911
|
}
|
|
7866
7912
|
}
|
|
7867
|
-
__decorate([
|
|
7913
|
+
__decorate$1([
|
|
7868
7914
|
AsnProp({ type: exports.AsnPropTypes.ObjectIdentifier })
|
|
7869
7915
|
], AccessDescription.prototype, "accessMethod", void 0);
|
|
7870
|
-
__decorate([
|
|
7916
|
+
__decorate$1([
|
|
7871
7917
|
AsnProp({ type: GeneralName })
|
|
7872
7918
|
], AccessDescription.prototype, "accessLocation", void 0);
|
|
7873
7919
|
exports.AuthorityInfoAccessSyntax = AuthorityInfoAccessSyntax_1 = class AuthorityInfoAccessSyntax extends AsnArray {
|
|
@@ -7876,7 +7922,7 @@ exports.AuthorityInfoAccessSyntax = AuthorityInfoAccessSyntax_1 = class Authorit
|
|
|
7876
7922
|
Object.setPrototypeOf(this, AuthorityInfoAccessSyntax_1.prototype);
|
|
7877
7923
|
}
|
|
7878
7924
|
};
|
|
7879
|
-
exports.AuthorityInfoAccessSyntax = AuthorityInfoAccessSyntax_1 = __decorate([
|
|
7925
|
+
exports.AuthorityInfoAccessSyntax = AuthorityInfoAccessSyntax_1 = __decorate$1([
|
|
7880
7926
|
AsnType({ type: exports.AsnTypeTypes.Sequence, itemType: AccessDescription })
|
|
7881
7927
|
], exports.AuthorityInfoAccessSyntax);
|
|
7882
7928
|
|
|
@@ -7890,13 +7936,13 @@ class AuthorityKeyIdentifier {
|
|
|
7890
7936
|
}
|
|
7891
7937
|
}
|
|
7892
7938
|
}
|
|
7893
|
-
__decorate([
|
|
7939
|
+
__decorate$1([
|
|
7894
7940
|
AsnProp({ type: KeyIdentifier, context: 0, optional: true, implicit: true })
|
|
7895
7941
|
], AuthorityKeyIdentifier.prototype, "keyIdentifier", void 0);
|
|
7896
|
-
__decorate([
|
|
7942
|
+
__decorate$1([
|
|
7897
7943
|
AsnProp({ type: GeneralName, context: 1, optional: true, implicit: true, repeated: "sequence" })
|
|
7898
7944
|
], AuthorityKeyIdentifier.prototype, "authorityCertIssuer", void 0);
|
|
7899
|
-
__decorate([
|
|
7945
|
+
__decorate$1([
|
|
7900
7946
|
AsnProp({
|
|
7901
7947
|
type: exports.AsnPropTypes.Integer,
|
|
7902
7948
|
context: 2,
|
|
@@ -7913,10 +7959,10 @@ class BasicConstraints {
|
|
|
7913
7959
|
Object.assign(this, params);
|
|
7914
7960
|
}
|
|
7915
7961
|
}
|
|
7916
|
-
__decorate([
|
|
7962
|
+
__decorate$1([
|
|
7917
7963
|
AsnProp({ type: exports.AsnPropTypes.Boolean, defaultValue: false })
|
|
7918
7964
|
], BasicConstraints.prototype, "cA", void 0);
|
|
7919
|
-
__decorate([
|
|
7965
|
+
__decorate$1([
|
|
7920
7966
|
AsnProp({ type: exports.AsnPropTypes.Integer, optional: true })
|
|
7921
7967
|
], BasicConstraints.prototype, "pathLenConstraint", void 0);
|
|
7922
7968
|
|
|
@@ -7927,7 +7973,7 @@ let GeneralNames = GeneralNames_1 = class GeneralNames extends AsnArray {
|
|
|
7927
7973
|
Object.setPrototypeOf(this, GeneralNames_1.prototype);
|
|
7928
7974
|
}
|
|
7929
7975
|
};
|
|
7930
|
-
GeneralNames = GeneralNames_1 = __decorate([
|
|
7976
|
+
GeneralNames = GeneralNames_1 = __decorate$1([
|
|
7931
7977
|
AsnType({ type: exports.AsnTypeTypes.Sequence, itemType: GeneralName })
|
|
7932
7978
|
], GeneralNames);
|
|
7933
7979
|
|
|
@@ -7939,7 +7985,7 @@ exports.CertificateIssuer = CertificateIssuer_1 = class CertificateIssuer extend
|
|
|
7939
7985
|
Object.setPrototypeOf(this, CertificateIssuer_1.prototype);
|
|
7940
7986
|
}
|
|
7941
7987
|
};
|
|
7942
|
-
exports.CertificateIssuer = CertificateIssuer_1 = __decorate([
|
|
7988
|
+
exports.CertificateIssuer = CertificateIssuer_1 = __decorate$1([
|
|
7943
7989
|
AsnType({ type: exports.AsnTypeTypes.Sequence })
|
|
7944
7990
|
], exports.CertificateIssuer);
|
|
7945
7991
|
|
|
@@ -7953,19 +7999,19 @@ exports.DisplayText = class DisplayText {
|
|
|
7953
7999
|
return this.ia5String || this.visibleString || this.bmpString || this.utf8String || "";
|
|
7954
8000
|
}
|
|
7955
8001
|
};
|
|
7956
|
-
__decorate([
|
|
8002
|
+
__decorate$1([
|
|
7957
8003
|
AsnProp({ type: exports.AsnPropTypes.IA5String })
|
|
7958
8004
|
], exports.DisplayText.prototype, "ia5String", void 0);
|
|
7959
|
-
__decorate([
|
|
8005
|
+
__decorate$1([
|
|
7960
8006
|
AsnProp({ type: exports.AsnPropTypes.VisibleString })
|
|
7961
8007
|
], exports.DisplayText.prototype, "visibleString", void 0);
|
|
7962
|
-
__decorate([
|
|
8008
|
+
__decorate$1([
|
|
7963
8009
|
AsnProp({ type: exports.AsnPropTypes.BmpString })
|
|
7964
8010
|
], exports.DisplayText.prototype, "bmpString", void 0);
|
|
7965
|
-
__decorate([
|
|
8011
|
+
__decorate$1([
|
|
7966
8012
|
AsnProp({ type: exports.AsnPropTypes.Utf8String })
|
|
7967
8013
|
], exports.DisplayText.prototype, "utf8String", void 0);
|
|
7968
|
-
exports.DisplayText = __decorate([
|
|
8014
|
+
exports.DisplayText = __decorate$1([
|
|
7969
8015
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
7970
8016
|
], exports.DisplayText);
|
|
7971
8017
|
class NoticeReference {
|
|
@@ -7975,10 +8021,10 @@ class NoticeReference {
|
|
|
7975
8021
|
Object.assign(this, params);
|
|
7976
8022
|
}
|
|
7977
8023
|
}
|
|
7978
|
-
__decorate([
|
|
8024
|
+
__decorate$1([
|
|
7979
8025
|
AsnProp({ type: exports.DisplayText })
|
|
7980
8026
|
], NoticeReference.prototype, "organization", void 0);
|
|
7981
|
-
__decorate([
|
|
8027
|
+
__decorate$1([
|
|
7982
8028
|
AsnProp({ type: exports.AsnPropTypes.Integer, repeated: "sequence" })
|
|
7983
8029
|
], NoticeReference.prototype, "noticeNumbers", void 0);
|
|
7984
8030
|
class UserNotice {
|
|
@@ -7986,10 +8032,10 @@ class UserNotice {
|
|
|
7986
8032
|
Object.assign(this, params);
|
|
7987
8033
|
}
|
|
7988
8034
|
}
|
|
7989
|
-
__decorate([
|
|
8035
|
+
__decorate$1([
|
|
7990
8036
|
AsnProp({ type: NoticeReference, optional: true })
|
|
7991
8037
|
], UserNotice.prototype, "noticeRef", void 0);
|
|
7992
|
-
__decorate([
|
|
8038
|
+
__decorate$1([
|
|
7993
8039
|
AsnProp({ type: exports.DisplayText, optional: true })
|
|
7994
8040
|
], UserNotice.prototype, "explicitText", void 0);
|
|
7995
8041
|
let Qualifier = class Qualifier {
|
|
@@ -7997,13 +8043,13 @@ let Qualifier = class Qualifier {
|
|
|
7997
8043
|
Object.assign(this, params);
|
|
7998
8044
|
}
|
|
7999
8045
|
};
|
|
8000
|
-
__decorate([
|
|
8046
|
+
__decorate$1([
|
|
8001
8047
|
AsnProp({ type: exports.AsnPropTypes.IA5String })
|
|
8002
8048
|
], Qualifier.prototype, "cPSuri", void 0);
|
|
8003
|
-
__decorate([
|
|
8049
|
+
__decorate$1([
|
|
8004
8050
|
AsnProp({ type: UserNotice })
|
|
8005
8051
|
], Qualifier.prototype, "userNotice", void 0);
|
|
8006
|
-
Qualifier = __decorate([
|
|
8052
|
+
Qualifier = __decorate$1([
|
|
8007
8053
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
8008
8054
|
], Qualifier);
|
|
8009
8055
|
class PolicyQualifierInfo {
|
|
@@ -8013,10 +8059,10 @@ class PolicyQualifierInfo {
|
|
|
8013
8059
|
Object.assign(this, params);
|
|
8014
8060
|
}
|
|
8015
8061
|
}
|
|
8016
|
-
__decorate([
|
|
8062
|
+
__decorate$1([
|
|
8017
8063
|
AsnProp({ type: exports.AsnPropTypes.ObjectIdentifier })
|
|
8018
8064
|
], PolicyQualifierInfo.prototype, "policyQualifierId", void 0);
|
|
8019
|
-
__decorate([
|
|
8065
|
+
__decorate$1([
|
|
8020
8066
|
AsnProp({ type: exports.AsnPropTypes.Any })
|
|
8021
8067
|
], PolicyQualifierInfo.prototype, "qualifier", void 0);
|
|
8022
8068
|
class PolicyInformation {
|
|
@@ -8025,10 +8071,10 @@ class PolicyInformation {
|
|
|
8025
8071
|
Object.assign(this, params);
|
|
8026
8072
|
}
|
|
8027
8073
|
}
|
|
8028
|
-
__decorate([
|
|
8074
|
+
__decorate$1([
|
|
8029
8075
|
AsnProp({ type: exports.AsnPropTypes.ObjectIdentifier })
|
|
8030
8076
|
], PolicyInformation.prototype, "policyIdentifier", void 0);
|
|
8031
|
-
__decorate([
|
|
8077
|
+
__decorate$1([
|
|
8032
8078
|
AsnProp({ type: PolicyQualifierInfo, repeated: "sequence", optional: true })
|
|
8033
8079
|
], PolicyInformation.prototype, "policyQualifiers", void 0);
|
|
8034
8080
|
exports.CertificatePolicies = CertificatePolicies_1 = class CertificatePolicies extends AsnArray {
|
|
@@ -8037,7 +8083,7 @@ exports.CertificatePolicies = CertificatePolicies_1 = class CertificatePolicies
|
|
|
8037
8083
|
Object.setPrototypeOf(this, CertificatePolicies_1.prototype);
|
|
8038
8084
|
}
|
|
8039
8085
|
};
|
|
8040
|
-
exports.CertificatePolicies = CertificatePolicies_1 = __decorate([
|
|
8086
|
+
exports.CertificatePolicies = CertificatePolicies_1 = __decorate$1([
|
|
8041
8087
|
AsnType({ type: exports.AsnTypeTypes.Sequence, itemType: PolicyInformation })
|
|
8042
8088
|
], exports.CertificatePolicies);
|
|
8043
8089
|
|
|
@@ -8047,17 +8093,17 @@ exports.CRLNumber = class CRLNumber {
|
|
|
8047
8093
|
this.value = value;
|
|
8048
8094
|
}
|
|
8049
8095
|
};
|
|
8050
|
-
__decorate([
|
|
8096
|
+
__decorate$1([
|
|
8051
8097
|
AsnProp({ type: exports.AsnPropTypes.Integer })
|
|
8052
8098
|
], exports.CRLNumber.prototype, "value", void 0);
|
|
8053
|
-
exports.CRLNumber = __decorate([
|
|
8099
|
+
exports.CRLNumber = __decorate$1([
|
|
8054
8100
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
8055
8101
|
], exports.CRLNumber);
|
|
8056
8102
|
|
|
8057
8103
|
const id_ce_deltaCRLIndicator = `${id_ce}.27`;
|
|
8058
8104
|
let BaseCRLNumber = class BaseCRLNumber extends exports.CRLNumber {
|
|
8059
8105
|
};
|
|
8060
|
-
BaseCRLNumber = __decorate([
|
|
8106
|
+
BaseCRLNumber = __decorate$1([
|
|
8061
8107
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
8062
8108
|
], BaseCRLNumber);
|
|
8063
8109
|
|
|
@@ -8117,13 +8163,13 @@ let DistributionPointName = class DistributionPointName {
|
|
|
8117
8163
|
Object.assign(this, params);
|
|
8118
8164
|
}
|
|
8119
8165
|
};
|
|
8120
|
-
__decorate([
|
|
8166
|
+
__decorate$1([
|
|
8121
8167
|
AsnProp({ type: GeneralName, context: 0, repeated: "sequence", implicit: true })
|
|
8122
8168
|
], DistributionPointName.prototype, "fullName", void 0);
|
|
8123
|
-
__decorate([
|
|
8169
|
+
__decorate$1([
|
|
8124
8170
|
AsnProp({ type: RelativeDistinguishedName, context: 1, implicit: true })
|
|
8125
8171
|
], DistributionPointName.prototype, "nameRelativeToCRLIssuer", void 0);
|
|
8126
|
-
DistributionPointName = __decorate([
|
|
8172
|
+
DistributionPointName = __decorate$1([
|
|
8127
8173
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
8128
8174
|
], DistributionPointName);
|
|
8129
8175
|
class DistributionPoint {
|
|
@@ -8131,13 +8177,13 @@ class DistributionPoint {
|
|
|
8131
8177
|
Object.assign(this, params);
|
|
8132
8178
|
}
|
|
8133
8179
|
}
|
|
8134
|
-
__decorate([
|
|
8180
|
+
__decorate$1([
|
|
8135
8181
|
AsnProp({ type: DistributionPointName, context: 0, optional: true })
|
|
8136
8182
|
], DistributionPoint.prototype, "distributionPoint", void 0);
|
|
8137
|
-
__decorate([
|
|
8183
|
+
__decorate$1([
|
|
8138
8184
|
AsnProp({ type: Reason, context: 1, optional: true, implicit: true })
|
|
8139
8185
|
], DistributionPoint.prototype, "reasons", void 0);
|
|
8140
|
-
__decorate([
|
|
8186
|
+
__decorate$1([
|
|
8141
8187
|
AsnProp({ type: GeneralName, context: 2, optional: true, repeated: "sequence", implicit: true })
|
|
8142
8188
|
], DistributionPoint.prototype, "cRLIssuer", void 0);
|
|
8143
8189
|
exports.CRLDistributionPoints = CRLDistributionPoints_1 = class CRLDistributionPoints extends AsnArray {
|
|
@@ -8146,7 +8192,7 @@ exports.CRLDistributionPoints = CRLDistributionPoints_1 = class CRLDistributionP
|
|
|
8146
8192
|
Object.setPrototypeOf(this, CRLDistributionPoints_1.prototype);
|
|
8147
8193
|
}
|
|
8148
8194
|
};
|
|
8149
|
-
exports.CRLDistributionPoints = CRLDistributionPoints_1 = __decorate([
|
|
8195
|
+
exports.CRLDistributionPoints = CRLDistributionPoints_1 = __decorate$1([
|
|
8150
8196
|
AsnType({ type: exports.AsnTypeTypes.Sequence, itemType: DistributionPoint })
|
|
8151
8197
|
], exports.CRLDistributionPoints);
|
|
8152
8198
|
|
|
@@ -8157,7 +8203,7 @@ let FreshestCRL = FreshestCRL_1 = class FreshestCRL extends exports.CRLDistribut
|
|
|
8157
8203
|
Object.setPrototypeOf(this, FreshestCRL_1.prototype);
|
|
8158
8204
|
}
|
|
8159
8205
|
};
|
|
8160
|
-
FreshestCRL = FreshestCRL_1 = __decorate([
|
|
8206
|
+
FreshestCRL = FreshestCRL_1 = __decorate$1([
|
|
8161
8207
|
AsnType({ type: exports.AsnTypeTypes.Sequence, itemType: DistributionPoint })
|
|
8162
8208
|
], FreshestCRL);
|
|
8163
8209
|
|
|
@@ -8172,22 +8218,22 @@ class IssuingDistributionPoint {
|
|
|
8172
8218
|
}
|
|
8173
8219
|
}
|
|
8174
8220
|
IssuingDistributionPoint.ONLY = false;
|
|
8175
|
-
__decorate([
|
|
8221
|
+
__decorate$1([
|
|
8176
8222
|
AsnProp({ type: DistributionPointName, context: 0, optional: true })
|
|
8177
8223
|
], IssuingDistributionPoint.prototype, "distributionPoint", void 0);
|
|
8178
|
-
__decorate([
|
|
8224
|
+
__decorate$1([
|
|
8179
8225
|
AsnProp({ type: exports.AsnPropTypes.Boolean, context: 1, defaultValue: IssuingDistributionPoint.ONLY, implicit: true })
|
|
8180
8226
|
], IssuingDistributionPoint.prototype, "onlyContainsUserCerts", void 0);
|
|
8181
|
-
__decorate([
|
|
8227
|
+
__decorate$1([
|
|
8182
8228
|
AsnProp({ type: exports.AsnPropTypes.Boolean, context: 2, defaultValue: IssuingDistributionPoint.ONLY, implicit: true })
|
|
8183
8229
|
], IssuingDistributionPoint.prototype, "onlyContainsCACerts", void 0);
|
|
8184
|
-
__decorate([
|
|
8230
|
+
__decorate$1([
|
|
8185
8231
|
AsnProp({ type: Reason, context: 3, optional: true, implicit: true })
|
|
8186
8232
|
], IssuingDistributionPoint.prototype, "onlySomeReasons", void 0);
|
|
8187
|
-
__decorate([
|
|
8233
|
+
__decorate$1([
|
|
8188
8234
|
AsnProp({ type: exports.AsnPropTypes.Boolean, context: 4, defaultValue: IssuingDistributionPoint.ONLY, implicit: true })
|
|
8189
8235
|
], IssuingDistributionPoint.prototype, "indirectCRL", void 0);
|
|
8190
|
-
__decorate([
|
|
8236
|
+
__decorate$1([
|
|
8191
8237
|
AsnProp({ type: exports.AsnPropTypes.Boolean, context: 5, defaultValue: IssuingDistributionPoint.ONLY, implicit: true })
|
|
8192
8238
|
], IssuingDistributionPoint.prototype, "onlyContainsAttributeCerts", void 0);
|
|
8193
8239
|
|
|
@@ -8217,10 +8263,10 @@ exports.CRLReason = class CRLReason {
|
|
|
8217
8263
|
return this.toJSON();
|
|
8218
8264
|
}
|
|
8219
8265
|
};
|
|
8220
|
-
__decorate([
|
|
8266
|
+
__decorate$1([
|
|
8221
8267
|
AsnProp({ type: exports.AsnPropTypes.Enumerated })
|
|
8222
8268
|
], exports.CRLReason.prototype, "reason", void 0);
|
|
8223
|
-
exports.CRLReason = __decorate([
|
|
8269
|
+
exports.CRLReason = __decorate$1([
|
|
8224
8270
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
8225
8271
|
], exports.CRLReason);
|
|
8226
8272
|
|
|
@@ -8232,7 +8278,7 @@ exports.ExtendedKeyUsage = ExtendedKeyUsage_1 = class ExtendedKeyUsage extends A
|
|
|
8232
8278
|
Object.setPrototypeOf(this, ExtendedKeyUsage_1.prototype);
|
|
8233
8279
|
}
|
|
8234
8280
|
};
|
|
8235
|
-
exports.ExtendedKeyUsage = ExtendedKeyUsage_1 = __decorate([
|
|
8281
|
+
exports.ExtendedKeyUsage = ExtendedKeyUsage_1 = __decorate$1([
|
|
8236
8282
|
AsnType({ type: exports.AsnTypeTypes.Sequence, itemType: exports.AsnPropTypes.ObjectIdentifier })
|
|
8237
8283
|
], exports.ExtendedKeyUsage);
|
|
8238
8284
|
|
|
@@ -8242,10 +8288,10 @@ let InhibitAnyPolicy = class InhibitAnyPolicy {
|
|
|
8242
8288
|
this.value = value;
|
|
8243
8289
|
}
|
|
8244
8290
|
};
|
|
8245
|
-
__decorate([
|
|
8291
|
+
__decorate$1([
|
|
8246
8292
|
AsnProp({ type: exports.AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
|
|
8247
8293
|
], InhibitAnyPolicy.prototype, "value", void 0);
|
|
8248
|
-
InhibitAnyPolicy = __decorate([
|
|
8294
|
+
InhibitAnyPolicy = __decorate$1([
|
|
8249
8295
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
8250
8296
|
], InhibitAnyPolicy);
|
|
8251
8297
|
|
|
@@ -8258,10 +8304,10 @@ exports.InvalidityDate = class InvalidityDate {
|
|
|
8258
8304
|
}
|
|
8259
8305
|
}
|
|
8260
8306
|
};
|
|
8261
|
-
__decorate([
|
|
8307
|
+
__decorate$1([
|
|
8262
8308
|
AsnProp({ type: exports.AsnPropTypes.GeneralizedTime })
|
|
8263
8309
|
], exports.InvalidityDate.prototype, "value", void 0);
|
|
8264
|
-
exports.InvalidityDate = __decorate([
|
|
8310
|
+
exports.InvalidityDate = __decorate$1([
|
|
8265
8311
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
8266
8312
|
], exports.InvalidityDate);
|
|
8267
8313
|
|
|
@@ -8273,7 +8319,7 @@ let IssueAlternativeName = IssueAlternativeName_1 = class IssueAlternativeName e
|
|
|
8273
8319
|
Object.setPrototypeOf(this, IssueAlternativeName_1.prototype);
|
|
8274
8320
|
}
|
|
8275
8321
|
};
|
|
8276
|
-
IssueAlternativeName = IssueAlternativeName_1 = __decorate([
|
|
8322
|
+
IssueAlternativeName = IssueAlternativeName_1 = __decorate$1([
|
|
8277
8323
|
AsnType({ type: exports.AsnTypeTypes.Sequence })
|
|
8278
8324
|
], IssueAlternativeName);
|
|
8279
8325
|
|
|
@@ -8337,13 +8383,13 @@ class GeneralSubtree {
|
|
|
8337
8383
|
Object.assign(this, params);
|
|
8338
8384
|
}
|
|
8339
8385
|
}
|
|
8340
|
-
__decorate([
|
|
8386
|
+
__decorate$1([
|
|
8341
8387
|
AsnProp({ type: GeneralName })
|
|
8342
8388
|
], GeneralSubtree.prototype, "base", void 0);
|
|
8343
|
-
__decorate([
|
|
8389
|
+
__decorate$1([
|
|
8344
8390
|
AsnProp({ type: exports.AsnPropTypes.Integer, context: 0, defaultValue: 0, implicit: true })
|
|
8345
8391
|
], GeneralSubtree.prototype, "minimum", void 0);
|
|
8346
|
-
__decorate([
|
|
8392
|
+
__decorate$1([
|
|
8347
8393
|
AsnProp({ type: exports.AsnPropTypes.Integer, context: 1, optional: true, implicit: true })
|
|
8348
8394
|
], GeneralSubtree.prototype, "maximum", void 0);
|
|
8349
8395
|
let GeneralSubtrees = GeneralSubtrees_1 = class GeneralSubtrees extends AsnArray {
|
|
@@ -8352,7 +8398,7 @@ let GeneralSubtrees = GeneralSubtrees_1 = class GeneralSubtrees extends AsnArray
|
|
|
8352
8398
|
Object.setPrototypeOf(this, GeneralSubtrees_1.prototype);
|
|
8353
8399
|
}
|
|
8354
8400
|
};
|
|
8355
|
-
GeneralSubtrees = GeneralSubtrees_1 = __decorate([
|
|
8401
|
+
GeneralSubtrees = GeneralSubtrees_1 = __decorate$1([
|
|
8356
8402
|
AsnType({ type: exports.AsnTypeTypes.Sequence, itemType: GeneralSubtree })
|
|
8357
8403
|
], GeneralSubtrees);
|
|
8358
8404
|
class NameConstraints {
|
|
@@ -8360,10 +8406,10 @@ class NameConstraints {
|
|
|
8360
8406
|
Object.assign(this, params);
|
|
8361
8407
|
}
|
|
8362
8408
|
}
|
|
8363
|
-
__decorate([
|
|
8409
|
+
__decorate$1([
|
|
8364
8410
|
AsnProp({ type: GeneralSubtrees, context: 0, optional: true, implicit: true })
|
|
8365
8411
|
], NameConstraints.prototype, "permittedSubtrees", void 0);
|
|
8366
|
-
__decorate([
|
|
8412
|
+
__decorate$1([
|
|
8367
8413
|
AsnProp({ type: GeneralSubtrees, context: 1, optional: true, implicit: true })
|
|
8368
8414
|
], NameConstraints.prototype, "excludedSubtrees", void 0);
|
|
8369
8415
|
|
|
@@ -8373,13 +8419,13 @@ class PolicyConstraints {
|
|
|
8373
8419
|
Object.assign(this, params);
|
|
8374
8420
|
}
|
|
8375
8421
|
}
|
|
8376
|
-
__decorate([
|
|
8422
|
+
__decorate$1([
|
|
8377
8423
|
AsnProp({
|
|
8378
8424
|
type: exports.AsnPropTypes.Integer, context: 0, implicit: true, optional: true,
|
|
8379
8425
|
converter: AsnIntegerArrayBufferConverter,
|
|
8380
8426
|
})
|
|
8381
8427
|
], PolicyConstraints.prototype, "requireExplicitPolicy", void 0);
|
|
8382
|
-
__decorate([
|
|
8428
|
+
__decorate$1([
|
|
8383
8429
|
AsnProp({
|
|
8384
8430
|
type: exports.AsnPropTypes.Integer, context: 1, implicit: true, optional: true,
|
|
8385
8431
|
converter: AsnIntegerArrayBufferConverter,
|
|
@@ -8395,10 +8441,10 @@ class PolicyMapping {
|
|
|
8395
8441
|
Object.assign(this, params);
|
|
8396
8442
|
}
|
|
8397
8443
|
}
|
|
8398
|
-
__decorate([
|
|
8444
|
+
__decorate$1([
|
|
8399
8445
|
AsnProp({ type: exports.AsnPropTypes.ObjectIdentifier })
|
|
8400
8446
|
], PolicyMapping.prototype, "issuerDomainPolicy", void 0);
|
|
8401
|
-
__decorate([
|
|
8447
|
+
__decorate$1([
|
|
8402
8448
|
AsnProp({ type: exports.AsnPropTypes.ObjectIdentifier })
|
|
8403
8449
|
], PolicyMapping.prototype, "subjectDomainPolicy", void 0);
|
|
8404
8450
|
exports.PolicyMappings = PolicyMappings_1 = class PolicyMappings extends AsnArray {
|
|
@@ -8407,7 +8453,7 @@ exports.PolicyMappings = PolicyMappings_1 = class PolicyMappings extends AsnArra
|
|
|
8407
8453
|
Object.setPrototypeOf(this, PolicyMappings_1.prototype);
|
|
8408
8454
|
}
|
|
8409
8455
|
};
|
|
8410
|
-
exports.PolicyMappings = PolicyMappings_1 = __decorate([
|
|
8456
|
+
exports.PolicyMappings = PolicyMappings_1 = __decorate$1([
|
|
8411
8457
|
AsnType({ type: exports.AsnTypeTypes.Sequence, itemType: PolicyMapping })
|
|
8412
8458
|
], exports.PolicyMappings);
|
|
8413
8459
|
|
|
@@ -8419,7 +8465,7 @@ exports.SubjectAlternativeName = SubjectAlternativeName_1 = class SubjectAlterna
|
|
|
8419
8465
|
Object.setPrototypeOf(this, SubjectAlternativeName_1.prototype);
|
|
8420
8466
|
}
|
|
8421
8467
|
};
|
|
8422
|
-
exports.SubjectAlternativeName = SubjectAlternativeName_1 = __decorate([
|
|
8468
|
+
exports.SubjectAlternativeName = SubjectAlternativeName_1 = __decorate$1([
|
|
8423
8469
|
AsnType({ type: exports.AsnTypeTypes.Sequence })
|
|
8424
8470
|
], exports.SubjectAlternativeName);
|
|
8425
8471
|
|
|
@@ -8430,10 +8476,10 @@ class Attribute$1 {
|
|
|
8430
8476
|
Object.assign(this, params);
|
|
8431
8477
|
}
|
|
8432
8478
|
}
|
|
8433
|
-
__decorate([
|
|
8479
|
+
__decorate$1([
|
|
8434
8480
|
AsnProp({ type: exports.AsnPropTypes.ObjectIdentifier })
|
|
8435
8481
|
], Attribute$1.prototype, "type", void 0);
|
|
8436
|
-
__decorate([
|
|
8482
|
+
__decorate$1([
|
|
8437
8483
|
AsnProp({ type: exports.AsnPropTypes.Any, repeated: "set" })
|
|
8438
8484
|
], Attribute$1.prototype, "values", void 0);
|
|
8439
8485
|
|
|
@@ -8445,7 +8491,7 @@ exports.SubjectDirectoryAttributes = SubjectDirectoryAttributes_1 = class Subjec
|
|
|
8445
8491
|
Object.setPrototypeOf(this, SubjectDirectoryAttributes_1.prototype);
|
|
8446
8492
|
}
|
|
8447
8493
|
};
|
|
8448
|
-
exports.SubjectDirectoryAttributes = SubjectDirectoryAttributes_1 = __decorate([
|
|
8494
|
+
exports.SubjectDirectoryAttributes = SubjectDirectoryAttributes_1 = __decorate$1([
|
|
8449
8495
|
AsnType({ type: exports.AsnTypeTypes.Sequence, itemType: Attribute$1 })
|
|
8450
8496
|
], exports.SubjectDirectoryAttributes);
|
|
8451
8497
|
|
|
@@ -8459,10 +8505,10 @@ class PrivateKeyUsagePeriod {
|
|
|
8459
8505
|
Object.assign(this, params);
|
|
8460
8506
|
}
|
|
8461
8507
|
}
|
|
8462
|
-
__decorate([
|
|
8508
|
+
__decorate$1([
|
|
8463
8509
|
AsnProp({ type: exports.AsnPropTypes.GeneralizedTime, context: 0, implicit: true, optional: true })
|
|
8464
8510
|
], PrivateKeyUsagePeriod.prototype, "notBefore", void 0);
|
|
8465
|
-
__decorate([
|
|
8511
|
+
__decorate$1([
|
|
8466
8512
|
AsnProp({ type: exports.AsnPropTypes.GeneralizedTime, context: 1, implicit: true, optional: true, })
|
|
8467
8513
|
], PrivateKeyUsagePeriod.prototype, "notAfter", void 0);
|
|
8468
8514
|
|
|
@@ -8499,10 +8545,10 @@ class EntrustVersionInfo {
|
|
|
8499
8545
|
Object.assign(this, params);
|
|
8500
8546
|
}
|
|
8501
8547
|
}
|
|
8502
|
-
__decorate([
|
|
8548
|
+
__decorate$1([
|
|
8503
8549
|
AsnProp({ type: exports.AsnPropTypes.GeneralString })
|
|
8504
8550
|
], EntrustVersionInfo.prototype, "entrustVers", void 0);
|
|
8505
|
-
__decorate([
|
|
8551
|
+
__decorate$1([
|
|
8506
8552
|
AsnProp({ type: EntrustInfo })
|
|
8507
8553
|
], EntrustVersionInfo.prototype, "entrustInfoFlags", void 0);
|
|
8508
8554
|
|
|
@@ -8514,7 +8560,7 @@ exports.SubjectInfoAccessSyntax = SubjectInfoAccessSyntax_1 = class SubjectInfoA
|
|
|
8514
8560
|
Object.setPrototypeOf(this, SubjectInfoAccessSyntax_1.prototype);
|
|
8515
8561
|
}
|
|
8516
8562
|
};
|
|
8517
|
-
exports.SubjectInfoAccessSyntax = SubjectInfoAccessSyntax_1 = __decorate([
|
|
8563
|
+
exports.SubjectInfoAccessSyntax = SubjectInfoAccessSyntax_1 = __decorate$1([
|
|
8518
8564
|
AsnType({ type: exports.AsnTypeTypes.Sequence, itemType: AccessDescription })
|
|
8519
8565
|
], exports.SubjectInfoAccessSyntax);
|
|
8520
8566
|
|
|
@@ -8527,17 +8573,17 @@ class AlgorithmIdentifier {
|
|
|
8527
8573
|
return data instanceof AlgorithmIdentifier
|
|
8528
8574
|
&& data.algorithm == this.algorithm
|
|
8529
8575
|
&& ((data.parameters && this.parameters
|
|
8530
|
-
&& download$1.
|
|
8576
|
+
&& download$1.isEqual_1(data.parameters, this.parameters))
|
|
8531
8577
|
||
|
|
8532
8578
|
(data.parameters === this.parameters));
|
|
8533
8579
|
}
|
|
8534
8580
|
}
|
|
8535
|
-
__decorate([
|
|
8581
|
+
__decorate$1([
|
|
8536
8582
|
AsnProp({
|
|
8537
8583
|
type: exports.AsnPropTypes.ObjectIdentifier,
|
|
8538
8584
|
})
|
|
8539
8585
|
], AlgorithmIdentifier.prototype, "algorithm", void 0);
|
|
8540
|
-
__decorate([
|
|
8586
|
+
__decorate$1([
|
|
8541
8587
|
AsnProp({
|
|
8542
8588
|
type: exports.AsnPropTypes.Any,
|
|
8543
8589
|
optional: true,
|
|
@@ -8551,10 +8597,10 @@ class SubjectPublicKeyInfo {
|
|
|
8551
8597
|
Object.assign(this, params);
|
|
8552
8598
|
}
|
|
8553
8599
|
}
|
|
8554
|
-
__decorate([
|
|
8600
|
+
__decorate$1([
|
|
8555
8601
|
AsnProp({ type: AlgorithmIdentifier })
|
|
8556
8602
|
], SubjectPublicKeyInfo.prototype, "algorithm", void 0);
|
|
8557
|
-
__decorate([
|
|
8603
|
+
__decorate$1([
|
|
8558
8604
|
AsnProp({ type: exports.AsnPropTypes.BitString })
|
|
8559
8605
|
], SubjectPublicKeyInfo.prototype, "subjectPublicKey", void 0);
|
|
8560
8606
|
|
|
@@ -8583,17 +8629,17 @@ let Time = class Time {
|
|
|
8583
8629
|
return time;
|
|
8584
8630
|
}
|
|
8585
8631
|
};
|
|
8586
|
-
__decorate([
|
|
8632
|
+
__decorate$1([
|
|
8587
8633
|
AsnProp({
|
|
8588
8634
|
type: exports.AsnPropTypes.UTCTime,
|
|
8589
8635
|
})
|
|
8590
8636
|
], Time.prototype, "utcTime", void 0);
|
|
8591
|
-
__decorate([
|
|
8637
|
+
__decorate$1([
|
|
8592
8638
|
AsnProp({
|
|
8593
8639
|
type: exports.AsnPropTypes.GeneralizedTime,
|
|
8594
8640
|
})
|
|
8595
8641
|
], Time.prototype, "generalTime", void 0);
|
|
8596
|
-
Time = __decorate([
|
|
8642
|
+
Time = __decorate$1([
|
|
8597
8643
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
8598
8644
|
], Time);
|
|
8599
8645
|
|
|
@@ -8607,10 +8653,10 @@ class Validity {
|
|
|
8607
8653
|
}
|
|
8608
8654
|
}
|
|
8609
8655
|
}
|
|
8610
|
-
__decorate([
|
|
8656
|
+
__decorate$1([
|
|
8611
8657
|
AsnProp({ type: Time })
|
|
8612
8658
|
], Validity.prototype, "notBefore", void 0);
|
|
8613
|
-
__decorate([
|
|
8659
|
+
__decorate$1([
|
|
8614
8660
|
AsnProp({ type: Time })
|
|
8615
8661
|
], Validity.prototype, "notAfter", void 0);
|
|
8616
8662
|
|
|
@@ -8624,16 +8670,16 @@ class Extension$1 {
|
|
|
8624
8670
|
}
|
|
8625
8671
|
}
|
|
8626
8672
|
Extension$1.CRITICAL = false;
|
|
8627
|
-
__decorate([
|
|
8673
|
+
__decorate$1([
|
|
8628
8674
|
AsnProp({ type: exports.AsnPropTypes.ObjectIdentifier })
|
|
8629
8675
|
], Extension$1.prototype, "extnID", void 0);
|
|
8630
|
-
__decorate([
|
|
8676
|
+
__decorate$1([
|
|
8631
8677
|
AsnProp({
|
|
8632
8678
|
type: exports.AsnPropTypes.Boolean,
|
|
8633
8679
|
defaultValue: Extension$1.CRITICAL,
|
|
8634
8680
|
})
|
|
8635
8681
|
], Extension$1.prototype, "critical", void 0);
|
|
8636
|
-
__decorate([
|
|
8682
|
+
__decorate$1([
|
|
8637
8683
|
AsnProp({ type: OctetString })
|
|
8638
8684
|
], Extension$1.prototype, "extnValue", void 0);
|
|
8639
8685
|
let Extensions = Extensions_1 = class Extensions extends AsnArray {
|
|
@@ -8642,20 +8688,20 @@ let Extensions = Extensions_1 = class Extensions extends AsnArray {
|
|
|
8642
8688
|
Object.setPrototypeOf(this, Extensions_1.prototype);
|
|
8643
8689
|
}
|
|
8644
8690
|
};
|
|
8645
|
-
Extensions = Extensions_1 = __decorate([
|
|
8691
|
+
Extensions = Extensions_1 = __decorate$1([
|
|
8646
8692
|
AsnType({ type: exports.AsnTypeTypes.Sequence, itemType: Extension$1 })
|
|
8647
8693
|
], Extensions);
|
|
8648
8694
|
|
|
8649
|
-
var Version$
|
|
8695
|
+
var Version$4;
|
|
8650
8696
|
(function (Version) {
|
|
8651
8697
|
Version[Version["v1"] = 0] = "v1";
|
|
8652
8698
|
Version[Version["v2"] = 1] = "v2";
|
|
8653
8699
|
Version[Version["v3"] = 2] = "v3";
|
|
8654
|
-
})(Version$
|
|
8700
|
+
})(Version$4 || (Version$4 = {}));
|
|
8655
8701
|
|
|
8656
8702
|
class TBSCertificate {
|
|
8657
8703
|
constructor(params = {}) {
|
|
8658
|
-
this.version = Version$
|
|
8704
|
+
this.version = Version$4.v1;
|
|
8659
8705
|
this.serialNumber = new ArrayBuffer(0);
|
|
8660
8706
|
this.signature = new AlgorithmIdentifier();
|
|
8661
8707
|
this.issuer = new exports.Name$1();
|
|
@@ -8665,35 +8711,35 @@ class TBSCertificate {
|
|
|
8665
8711
|
Object.assign(this, params);
|
|
8666
8712
|
}
|
|
8667
8713
|
}
|
|
8668
|
-
__decorate([
|
|
8714
|
+
__decorate$1([
|
|
8669
8715
|
AsnProp({
|
|
8670
8716
|
type: exports.AsnPropTypes.Integer,
|
|
8671
8717
|
context: 0,
|
|
8672
|
-
defaultValue: Version$
|
|
8718
|
+
defaultValue: Version$4.v1,
|
|
8673
8719
|
})
|
|
8674
8720
|
], TBSCertificate.prototype, "version", void 0);
|
|
8675
|
-
__decorate([
|
|
8721
|
+
__decorate$1([
|
|
8676
8722
|
AsnProp({
|
|
8677
8723
|
type: exports.AsnPropTypes.Integer,
|
|
8678
8724
|
converter: AsnIntegerArrayBufferConverter,
|
|
8679
8725
|
})
|
|
8680
8726
|
], TBSCertificate.prototype, "serialNumber", void 0);
|
|
8681
|
-
__decorate([
|
|
8727
|
+
__decorate$1([
|
|
8682
8728
|
AsnProp({ type: AlgorithmIdentifier })
|
|
8683
8729
|
], TBSCertificate.prototype, "signature", void 0);
|
|
8684
|
-
__decorate([
|
|
8730
|
+
__decorate$1([
|
|
8685
8731
|
AsnProp({ type: exports.Name$1 })
|
|
8686
8732
|
], TBSCertificate.prototype, "issuer", void 0);
|
|
8687
|
-
__decorate([
|
|
8733
|
+
__decorate$1([
|
|
8688
8734
|
AsnProp({ type: Validity })
|
|
8689
8735
|
], TBSCertificate.prototype, "validity", void 0);
|
|
8690
|
-
__decorate([
|
|
8736
|
+
__decorate$1([
|
|
8691
8737
|
AsnProp({ type: exports.Name$1 })
|
|
8692
8738
|
], TBSCertificate.prototype, "subject", void 0);
|
|
8693
|
-
__decorate([
|
|
8739
|
+
__decorate$1([
|
|
8694
8740
|
AsnProp({ type: SubjectPublicKeyInfo })
|
|
8695
8741
|
], TBSCertificate.prototype, "subjectPublicKeyInfo", void 0);
|
|
8696
|
-
__decorate([
|
|
8742
|
+
__decorate$1([
|
|
8697
8743
|
AsnProp({
|
|
8698
8744
|
type: exports.AsnPropTypes.BitString,
|
|
8699
8745
|
context: 1,
|
|
@@ -8701,10 +8747,10 @@ __decorate([
|
|
|
8701
8747
|
optional: true,
|
|
8702
8748
|
})
|
|
8703
8749
|
], TBSCertificate.prototype, "issuerUniqueID", void 0);
|
|
8704
|
-
__decorate([
|
|
8750
|
+
__decorate$1([
|
|
8705
8751
|
AsnProp({ type: exports.AsnPropTypes.BitString, context: 2, implicit: true, optional: true })
|
|
8706
8752
|
], TBSCertificate.prototype, "subjectUniqueID", void 0);
|
|
8707
|
-
__decorate([
|
|
8753
|
+
__decorate$1([
|
|
8708
8754
|
AsnProp({ type: Extensions, context: 3, optional: true })
|
|
8709
8755
|
], TBSCertificate.prototype, "extensions", void 0);
|
|
8710
8756
|
|
|
@@ -8716,13 +8762,13 @@ class Certificate {
|
|
|
8716
8762
|
Object.assign(this, params);
|
|
8717
8763
|
}
|
|
8718
8764
|
}
|
|
8719
|
-
__decorate([
|
|
8765
|
+
__decorate$1([
|
|
8720
8766
|
AsnProp({ type: TBSCertificate })
|
|
8721
8767
|
], Certificate.prototype, "tbsCertificate", void 0);
|
|
8722
|
-
__decorate([
|
|
8768
|
+
__decorate$1([
|
|
8723
8769
|
AsnProp({ type: AlgorithmIdentifier })
|
|
8724
8770
|
], Certificate.prototype, "signatureAlgorithm", void 0);
|
|
8725
|
-
__decorate([
|
|
8771
|
+
__decorate$1([
|
|
8726
8772
|
AsnProp({ type: exports.AsnPropTypes.BitString })
|
|
8727
8773
|
], Certificate.prototype, "signatureValue", void 0);
|
|
8728
8774
|
|
|
@@ -8733,13 +8779,13 @@ class RevokedCertificate {
|
|
|
8733
8779
|
Object.assign(this, params);
|
|
8734
8780
|
}
|
|
8735
8781
|
}
|
|
8736
|
-
__decorate([
|
|
8782
|
+
__decorate$1([
|
|
8737
8783
|
AsnProp({ type: exports.AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
|
|
8738
8784
|
], RevokedCertificate.prototype, "userCertificate", void 0);
|
|
8739
|
-
__decorate([
|
|
8785
|
+
__decorate$1([
|
|
8740
8786
|
AsnProp({ type: Time })
|
|
8741
8787
|
], RevokedCertificate.prototype, "revocationDate", void 0);
|
|
8742
|
-
__decorate([
|
|
8788
|
+
__decorate$1([
|
|
8743
8789
|
AsnProp({ type: Extension$1, optional: true, repeated: "sequence" })
|
|
8744
8790
|
], RevokedCertificate.prototype, "crlEntryExtensions", void 0);
|
|
8745
8791
|
class TBSCertList {
|
|
@@ -8750,25 +8796,25 @@ class TBSCertList {
|
|
|
8750
8796
|
Object.assign(this, params);
|
|
8751
8797
|
}
|
|
8752
8798
|
}
|
|
8753
|
-
__decorate([
|
|
8799
|
+
__decorate$1([
|
|
8754
8800
|
AsnProp({ type: exports.AsnPropTypes.Integer, optional: true })
|
|
8755
8801
|
], TBSCertList.prototype, "version", void 0);
|
|
8756
|
-
__decorate([
|
|
8802
|
+
__decorate$1([
|
|
8757
8803
|
AsnProp({ type: AlgorithmIdentifier })
|
|
8758
8804
|
], TBSCertList.prototype, "signature", void 0);
|
|
8759
|
-
__decorate([
|
|
8805
|
+
__decorate$1([
|
|
8760
8806
|
AsnProp({ type: exports.Name$1 })
|
|
8761
8807
|
], TBSCertList.prototype, "issuer", void 0);
|
|
8762
|
-
__decorate([
|
|
8808
|
+
__decorate$1([
|
|
8763
8809
|
AsnProp({ type: Time })
|
|
8764
8810
|
], TBSCertList.prototype, "thisUpdate", void 0);
|
|
8765
|
-
__decorate([
|
|
8811
|
+
__decorate$1([
|
|
8766
8812
|
AsnProp({ type: Time, optional: true })
|
|
8767
8813
|
], TBSCertList.prototype, "nextUpdate", void 0);
|
|
8768
|
-
__decorate([
|
|
8814
|
+
__decorate$1([
|
|
8769
8815
|
AsnProp({ type: RevokedCertificate, repeated: "sequence", optional: true })
|
|
8770
8816
|
], TBSCertList.prototype, "revokedCertificates", void 0);
|
|
8771
|
-
__decorate([
|
|
8817
|
+
__decorate$1([
|
|
8772
8818
|
AsnProp({ type: Extension$1, optional: true, context: 0, repeated: "sequence" })
|
|
8773
8819
|
], TBSCertList.prototype, "crlExtensions", void 0);
|
|
8774
8820
|
|
|
@@ -8780,13 +8826,13 @@ class CertificateList {
|
|
|
8780
8826
|
Object.assign(this, params);
|
|
8781
8827
|
}
|
|
8782
8828
|
}
|
|
8783
|
-
__decorate([
|
|
8829
|
+
__decorate$1([
|
|
8784
8830
|
AsnProp({ type: TBSCertList })
|
|
8785
8831
|
], CertificateList.prototype, "tbsCertList", void 0);
|
|
8786
|
-
__decorate([
|
|
8832
|
+
__decorate$1([
|
|
8787
8833
|
AsnProp({ type: AlgorithmIdentifier })
|
|
8788
8834
|
], CertificateList.prototype, "signatureAlgorithm", void 0);
|
|
8789
|
-
__decorate([
|
|
8835
|
+
__decorate$1([
|
|
8790
8836
|
AsnProp({ type: exports.AsnPropTypes.BitString })
|
|
8791
8837
|
], CertificateList.prototype, "signature", void 0);
|
|
8792
8838
|
|
|
@@ -8811,10 +8857,10 @@ exports.ECParameters = class ECParameters {
|
|
|
8811
8857
|
Object.assign(this, params);
|
|
8812
8858
|
}
|
|
8813
8859
|
};
|
|
8814
|
-
__decorate([
|
|
8860
|
+
__decorate$1([
|
|
8815
8861
|
AsnProp({ type: exports.AsnPropTypes.ObjectIdentifier })
|
|
8816
8862
|
], exports.ECParameters.prototype, "namedCurve", void 0);
|
|
8817
|
-
exports.ECParameters = __decorate([
|
|
8863
|
+
exports.ECParameters = __decorate$1([
|
|
8818
8864
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
8819
8865
|
], exports.ECParameters);
|
|
8820
8866
|
|
|
@@ -8825,16 +8871,16 @@ class ECPrivateKey {
|
|
|
8825
8871
|
Object.assign(this, params);
|
|
8826
8872
|
}
|
|
8827
8873
|
}
|
|
8828
|
-
__decorate([
|
|
8874
|
+
__decorate$1([
|
|
8829
8875
|
AsnProp({ type: exports.AsnPropTypes.Integer })
|
|
8830
8876
|
], ECPrivateKey.prototype, "version", void 0);
|
|
8831
|
-
__decorate([
|
|
8877
|
+
__decorate$1([
|
|
8832
8878
|
AsnProp({ type: OctetString })
|
|
8833
8879
|
], ECPrivateKey.prototype, "privateKey", void 0);
|
|
8834
|
-
__decorate([
|
|
8880
|
+
__decorate$1([
|
|
8835
8881
|
AsnProp({ type: exports.ECParameters, context: 0, optional: true })
|
|
8836
8882
|
], ECPrivateKey.prototype, "parameters", void 0);
|
|
8837
|
-
__decorate([
|
|
8883
|
+
__decorate$1([
|
|
8838
8884
|
AsnProp({ type: exports.AsnPropTypes.BitString, context: 1, optional: true })
|
|
8839
8885
|
], ECPrivateKey.prototype, "publicKey", void 0);
|
|
8840
8886
|
|
|
@@ -8845,10 +8891,10 @@ class ECDSASigValue {
|
|
|
8845
8891
|
Object.assign(this, params);
|
|
8846
8892
|
}
|
|
8847
8893
|
}
|
|
8848
|
-
__decorate([
|
|
8894
|
+
__decorate$1([
|
|
8849
8895
|
AsnProp({ type: exports.AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
|
|
8850
8896
|
], ECDSASigValue.prototype, "r", void 0);
|
|
8851
|
-
__decorate([
|
|
8897
|
+
__decorate$1([
|
|
8852
8898
|
AsnProp({ type: exports.AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
|
|
8853
8899
|
], ECDSASigValue.prototype, "s", void 0);
|
|
8854
8900
|
|
|
@@ -8917,13 +8963,13 @@ class RsaEsOaepParams {
|
|
|
8917
8963
|
Object.assign(this, params);
|
|
8918
8964
|
}
|
|
8919
8965
|
}
|
|
8920
|
-
__decorate([
|
|
8966
|
+
__decorate$1([
|
|
8921
8967
|
AsnProp({ type: AlgorithmIdentifier, context: 0, defaultValue: sha1 })
|
|
8922
8968
|
], RsaEsOaepParams.prototype, "hashAlgorithm", void 0);
|
|
8923
|
-
__decorate([
|
|
8969
|
+
__decorate$1([
|
|
8924
8970
|
AsnProp({ type: AlgorithmIdentifier, context: 1, defaultValue: mgf1SHA1 })
|
|
8925
8971
|
], RsaEsOaepParams.prototype, "maskGenAlgorithm", void 0);
|
|
8926
|
-
__decorate([
|
|
8972
|
+
__decorate$1([
|
|
8927
8973
|
AsnProp({ type: AlgorithmIdentifier, context: 2, defaultValue: pSpecifiedEmpty })
|
|
8928
8974
|
], RsaEsOaepParams.prototype, "pSourceAlgorithm", void 0);
|
|
8929
8975
|
new AlgorithmIdentifier({
|
|
@@ -8943,16 +8989,16 @@ class RsaSaPssParams {
|
|
|
8943
8989
|
Object.assign(this, params);
|
|
8944
8990
|
}
|
|
8945
8991
|
}
|
|
8946
|
-
__decorate([
|
|
8992
|
+
__decorate$1([
|
|
8947
8993
|
AsnProp({ type: AlgorithmIdentifier, context: 0, defaultValue: sha1 })
|
|
8948
8994
|
], RsaSaPssParams.prototype, "hashAlgorithm", void 0);
|
|
8949
|
-
__decorate([
|
|
8995
|
+
__decorate$1([
|
|
8950
8996
|
AsnProp({ type: AlgorithmIdentifier, context: 1, defaultValue: mgf1SHA1 })
|
|
8951
8997
|
], RsaSaPssParams.prototype, "maskGenAlgorithm", void 0);
|
|
8952
|
-
__decorate([
|
|
8998
|
+
__decorate$1([
|
|
8953
8999
|
AsnProp({ type: exports.AsnPropTypes.Integer, context: 2, defaultValue: 20 })
|
|
8954
9000
|
], RsaSaPssParams.prototype, "saltLength", void 0);
|
|
8955
|
-
__decorate([
|
|
9001
|
+
__decorate$1([
|
|
8956
9002
|
AsnProp({ type: exports.AsnPropTypes.Integer, context: 3, defaultValue: 1 })
|
|
8957
9003
|
], RsaSaPssParams.prototype, "trailerField", void 0);
|
|
8958
9004
|
new AlgorithmIdentifier({
|
|
@@ -8967,10 +9013,10 @@ class DigestInfo {
|
|
|
8967
9013
|
Object.assign(this, params);
|
|
8968
9014
|
}
|
|
8969
9015
|
}
|
|
8970
|
-
__decorate([
|
|
9016
|
+
__decorate$1([
|
|
8971
9017
|
AsnProp({ type: AlgorithmIdentifier })
|
|
8972
9018
|
], DigestInfo.prototype, "digestAlgorithm", void 0);
|
|
8973
|
-
__decorate([
|
|
9019
|
+
__decorate$1([
|
|
8974
9020
|
AsnProp({ type: OctetString })
|
|
8975
9021
|
], DigestInfo.prototype, "digest", void 0);
|
|
8976
9022
|
|
|
@@ -8983,13 +9029,13 @@ class OtherPrimeInfo {
|
|
|
8983
9029
|
Object.assign(this, params);
|
|
8984
9030
|
}
|
|
8985
9031
|
}
|
|
8986
|
-
__decorate([
|
|
9032
|
+
__decorate$1([
|
|
8987
9033
|
AsnProp({ type: exports.AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
|
|
8988
9034
|
], OtherPrimeInfo.prototype, "prime", void 0);
|
|
8989
|
-
__decorate([
|
|
9035
|
+
__decorate$1([
|
|
8990
9036
|
AsnProp({ type: exports.AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
|
|
8991
9037
|
], OtherPrimeInfo.prototype, "exponent", void 0);
|
|
8992
|
-
__decorate([
|
|
9038
|
+
__decorate$1([
|
|
8993
9039
|
AsnProp({ type: exports.AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
|
|
8994
9040
|
], OtherPrimeInfo.prototype, "coefficient", void 0);
|
|
8995
9041
|
let OtherPrimeInfos = OtherPrimeInfos_1 = class OtherPrimeInfos extends AsnArray {
|
|
@@ -8998,7 +9044,7 @@ let OtherPrimeInfos = OtherPrimeInfos_1 = class OtherPrimeInfos extends AsnArray
|
|
|
8998
9044
|
Object.setPrototypeOf(this, OtherPrimeInfos_1.prototype);
|
|
8999
9045
|
}
|
|
9000
9046
|
};
|
|
9001
|
-
OtherPrimeInfos = OtherPrimeInfos_1 = __decorate([
|
|
9047
|
+
OtherPrimeInfos = OtherPrimeInfos_1 = __decorate$1([
|
|
9002
9048
|
AsnType({ type: exports.AsnTypeTypes.Sequence, itemType: OtherPrimeInfo })
|
|
9003
9049
|
], OtherPrimeInfos);
|
|
9004
9050
|
|
|
@@ -9016,34 +9062,34 @@ class RSAPrivateKey {
|
|
|
9016
9062
|
Object.assign(this, params);
|
|
9017
9063
|
}
|
|
9018
9064
|
}
|
|
9019
|
-
__decorate([
|
|
9065
|
+
__decorate$1([
|
|
9020
9066
|
AsnProp({ type: exports.AsnPropTypes.Integer })
|
|
9021
9067
|
], RSAPrivateKey.prototype, "version", void 0);
|
|
9022
|
-
__decorate([
|
|
9068
|
+
__decorate$1([
|
|
9023
9069
|
AsnProp({ type: exports.AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
|
|
9024
9070
|
], RSAPrivateKey.prototype, "modulus", void 0);
|
|
9025
|
-
__decorate([
|
|
9071
|
+
__decorate$1([
|
|
9026
9072
|
AsnProp({ type: exports.AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
|
|
9027
9073
|
], RSAPrivateKey.prototype, "publicExponent", void 0);
|
|
9028
|
-
__decorate([
|
|
9074
|
+
__decorate$1([
|
|
9029
9075
|
AsnProp({ type: exports.AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
|
|
9030
9076
|
], RSAPrivateKey.prototype, "privateExponent", void 0);
|
|
9031
|
-
__decorate([
|
|
9077
|
+
__decorate$1([
|
|
9032
9078
|
AsnProp({ type: exports.AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
|
|
9033
9079
|
], RSAPrivateKey.prototype, "prime1", void 0);
|
|
9034
|
-
__decorate([
|
|
9080
|
+
__decorate$1([
|
|
9035
9081
|
AsnProp({ type: exports.AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
|
|
9036
9082
|
], RSAPrivateKey.prototype, "prime2", void 0);
|
|
9037
|
-
__decorate([
|
|
9083
|
+
__decorate$1([
|
|
9038
9084
|
AsnProp({ type: exports.AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
|
|
9039
9085
|
], RSAPrivateKey.prototype, "exponent1", void 0);
|
|
9040
|
-
__decorate([
|
|
9086
|
+
__decorate$1([
|
|
9041
9087
|
AsnProp({ type: exports.AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
|
|
9042
9088
|
], RSAPrivateKey.prototype, "exponent2", void 0);
|
|
9043
|
-
__decorate([
|
|
9089
|
+
__decorate$1([
|
|
9044
9090
|
AsnProp({ type: exports.AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
|
|
9045
9091
|
], RSAPrivateKey.prototype, "coefficient", void 0);
|
|
9046
|
-
__decorate([
|
|
9092
|
+
__decorate$1([
|
|
9047
9093
|
AsnProp({ type: OtherPrimeInfos, optional: true })
|
|
9048
9094
|
], RSAPrivateKey.prototype, "otherPrimeInfos", void 0);
|
|
9049
9095
|
|
|
@@ -9054,10 +9100,10 @@ class RSAPublicKey {
|
|
|
9054
9100
|
Object.assign(this, params);
|
|
9055
9101
|
}
|
|
9056
9102
|
}
|
|
9057
|
-
__decorate([
|
|
9103
|
+
__decorate$1([
|
|
9058
9104
|
AsnProp({ type: exports.AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
|
|
9059
9105
|
], RSAPublicKey.prototype, "modulus", void 0);
|
|
9060
|
-
__decorate([
|
|
9106
|
+
__decorate$1([
|
|
9061
9107
|
AsnProp({ type: exports.AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
|
|
9062
9108
|
], RSAPublicKey.prototype, "publicExponent", void 0);
|
|
9063
9109
|
|
|
@@ -9069,7 +9115,7 @@ exports.CompositeParams = CompositeParams_1 = class CompositeParams extends AsnA
|
|
|
9069
9115
|
Object.setPrototypeOf(this, CompositeParams_1.prototype);
|
|
9070
9116
|
}
|
|
9071
9117
|
};
|
|
9072
|
-
exports.CompositeParams = CompositeParams_1 = __decorate([
|
|
9118
|
+
exports.CompositeParams = CompositeParams_1 = __decorate$1([
|
|
9073
9119
|
AsnType({ type: exports.AsnTypeTypes.Sequence, itemType: AlgorithmIdentifier })
|
|
9074
9120
|
], exports.CompositeParams);
|
|
9075
9121
|
exports.CompositeSignatureValue = CompositeSignatureValue_1 = class CompositeSignatureValue extends AsnArray {
|
|
@@ -9078,7 +9124,7 @@ exports.CompositeSignatureValue = CompositeSignatureValue_1 = class CompositeSig
|
|
|
9078
9124
|
Object.setPrototypeOf(this, CompositeSignatureValue_1.prototype);
|
|
9079
9125
|
}
|
|
9080
9126
|
};
|
|
9081
|
-
exports.CompositeSignatureValue = CompositeSignatureValue_1 = __decorate([
|
|
9127
|
+
exports.CompositeSignatureValue = CompositeSignatureValue_1 = __decorate$1([
|
|
9082
9128
|
AsnType({ type: exports.AsnTypeTypes.Sequence, itemType: exports.AsnPropTypes.BitString })
|
|
9083
9129
|
], exports.CompositeSignatureValue);
|
|
9084
9130
|
|
|
@@ -9091,18 +9137,18 @@ class EncryptedPrivateKeyInfo$1 {
|
|
|
9091
9137
|
Object.assign(this, params);
|
|
9092
9138
|
}
|
|
9093
9139
|
}
|
|
9094
|
-
__decorate([
|
|
9140
|
+
__decorate$1([
|
|
9095
9141
|
AsnProp({ type: AlgorithmIdentifier })
|
|
9096
9142
|
], EncryptedPrivateKeyInfo$1.prototype, "encryptionAlgorithm", void 0);
|
|
9097
|
-
__decorate([
|
|
9143
|
+
__decorate$1([
|
|
9098
9144
|
AsnProp({ type: EncryptedData })
|
|
9099
9145
|
], EncryptedPrivateKeyInfo$1.prototype, "encryptedData", void 0);
|
|
9100
9146
|
|
|
9101
9147
|
var Attributes_1$1;
|
|
9102
|
-
var Version$
|
|
9148
|
+
var Version$3;
|
|
9103
9149
|
(function (Version) {
|
|
9104
9150
|
Version[Version["v1"] = 0] = "v1";
|
|
9105
|
-
})(Version$
|
|
9151
|
+
})(Version$3 || (Version$3 = {}));
|
|
9106
9152
|
class PrivateKey extends OctetString {
|
|
9107
9153
|
}
|
|
9108
9154
|
let Attributes$1 = Attributes_1$1 = class Attributes extends AsnArray {
|
|
@@ -9111,69 +9157,69 @@ let Attributes$1 = Attributes_1$1 = class Attributes extends AsnArray {
|
|
|
9111
9157
|
Object.setPrototypeOf(this, Attributes_1$1.prototype);
|
|
9112
9158
|
}
|
|
9113
9159
|
};
|
|
9114
|
-
Attributes$1 = Attributes_1$1 = __decorate([
|
|
9160
|
+
Attributes$1 = Attributes_1$1 = __decorate$1([
|
|
9115
9161
|
AsnType({ type: exports.AsnTypeTypes.Sequence, itemType: Attribute$1 })
|
|
9116
9162
|
], Attributes$1);
|
|
9117
9163
|
class PrivateKeyInfo$1 {
|
|
9118
9164
|
constructor(params = {}) {
|
|
9119
|
-
this.version = Version$
|
|
9165
|
+
this.version = Version$3.v1;
|
|
9120
9166
|
this.privateKeyAlgorithm = new AlgorithmIdentifier();
|
|
9121
9167
|
this.privateKey = new PrivateKey();
|
|
9122
9168
|
Object.assign(this, params);
|
|
9123
9169
|
}
|
|
9124
9170
|
}
|
|
9125
|
-
__decorate([
|
|
9171
|
+
__decorate$1([
|
|
9126
9172
|
AsnProp({ type: exports.AsnPropTypes.Integer })
|
|
9127
9173
|
], PrivateKeyInfo$1.prototype, "version", void 0);
|
|
9128
|
-
__decorate([
|
|
9174
|
+
__decorate$1([
|
|
9129
9175
|
AsnProp({ type: AlgorithmIdentifier })
|
|
9130
9176
|
], PrivateKeyInfo$1.prototype, "privateKeyAlgorithm", void 0);
|
|
9131
|
-
__decorate([
|
|
9177
|
+
__decorate$1([
|
|
9132
9178
|
AsnProp({ type: PrivateKey })
|
|
9133
9179
|
], PrivateKeyInfo$1.prototype, "privateKey", void 0);
|
|
9134
|
-
__decorate([
|
|
9180
|
+
__decorate$1([
|
|
9135
9181
|
AsnProp({ type: Attributes$1, implicit: true, context: 0, optional: true })
|
|
9136
9182
|
], PrivateKeyInfo$1.prototype, "attributes", void 0);
|
|
9137
9183
|
|
|
9138
9184
|
var AsymmetricKeyPackage_1;
|
|
9139
|
-
var Version$
|
|
9185
|
+
var Version$2;
|
|
9140
9186
|
(function (Version) {
|
|
9141
9187
|
Version[Version["v1"] = 0] = "v1";
|
|
9142
9188
|
Version[Version["v2"] = 1] = "v2";
|
|
9143
|
-
})(Version$
|
|
9189
|
+
})(Version$2 || (Version$2 = {}));
|
|
9144
9190
|
let PrivateKeyAlgorithmIdentifier = class PrivateKeyAlgorithmIdentifier extends AlgorithmIdentifier {
|
|
9145
9191
|
};
|
|
9146
|
-
PrivateKeyAlgorithmIdentifier = __decorate([
|
|
9192
|
+
PrivateKeyAlgorithmIdentifier = __decorate$1([
|
|
9147
9193
|
AsnType({ type: exports.AsnTypeTypes.Sequence })
|
|
9148
9194
|
], PrivateKeyAlgorithmIdentifier);
|
|
9149
9195
|
let OneAsymmetricKey = class OneAsymmetricKey {
|
|
9150
9196
|
constructor() {
|
|
9151
|
-
this.version = Version$
|
|
9197
|
+
this.version = Version$2.v1;
|
|
9152
9198
|
this.privateKeyAlgorithm = new AlgorithmIdentifier();
|
|
9153
9199
|
this.privateKey = new ArrayBuffer(0);
|
|
9154
9200
|
}
|
|
9155
9201
|
};
|
|
9156
|
-
__decorate([
|
|
9202
|
+
__decorate$1([
|
|
9157
9203
|
AsnProp({ type: exports.AsnPropTypes.Integer })
|
|
9158
9204
|
], OneAsymmetricKey.prototype, "version", void 0);
|
|
9159
|
-
__decorate([
|
|
9205
|
+
__decorate$1([
|
|
9160
9206
|
AsnProp({ type: AlgorithmIdentifier })
|
|
9161
9207
|
], OneAsymmetricKey.prototype, "privateKeyAlgorithm", void 0);
|
|
9162
|
-
__decorate([
|
|
9208
|
+
__decorate$1([
|
|
9163
9209
|
AsnProp({ type: exports.AsnPropTypes.OctetString })
|
|
9164
9210
|
], OneAsymmetricKey.prototype, "privateKey", void 0);
|
|
9165
|
-
__decorate([
|
|
9211
|
+
__decorate$1([
|
|
9166
9212
|
AsnProp({ type: Attributes$1, context: 0, implicit: true, optional: true })
|
|
9167
9213
|
], OneAsymmetricKey.prototype, "attributes", void 0);
|
|
9168
|
-
__decorate([
|
|
9214
|
+
__decorate$1([
|
|
9169
9215
|
AsnProp({ type: exports.AsnPropTypes.BitString, context: 1, implicit: true, optional: true })
|
|
9170
9216
|
], OneAsymmetricKey.prototype, "publicKey", void 0);
|
|
9171
|
-
OneAsymmetricKey = __decorate([
|
|
9217
|
+
OneAsymmetricKey = __decorate$1([
|
|
9172
9218
|
AsnType({ type: exports.AsnTypeTypes.Sequence })
|
|
9173
9219
|
], OneAsymmetricKey);
|
|
9174
9220
|
let PrivateKeyInfo = class PrivateKeyInfo extends OneAsymmetricKey {
|
|
9175
9221
|
};
|
|
9176
|
-
PrivateKeyInfo = __decorate([
|
|
9222
|
+
PrivateKeyInfo = __decorate$1([
|
|
9177
9223
|
AsnType({ type: exports.AsnTypeTypes.Sequence })
|
|
9178
9224
|
], PrivateKeyInfo);
|
|
9179
9225
|
let AsymmetricKeyPackage = AsymmetricKeyPackage_1 = class AsymmetricKeyPackage extends AsnArray {
|
|
@@ -9182,7 +9228,7 @@ let AsymmetricKeyPackage = AsymmetricKeyPackage_1 = class AsymmetricKeyPackage e
|
|
|
9182
9228
|
Object.setPrototypeOf(this, AsymmetricKeyPackage_1.prototype);
|
|
9183
9229
|
}
|
|
9184
9230
|
};
|
|
9185
|
-
AsymmetricKeyPackage = AsymmetricKeyPackage_1 = __decorate([
|
|
9231
|
+
AsymmetricKeyPackage = AsymmetricKeyPackage_1 = __decorate$1([
|
|
9186
9232
|
AsnType({ type: exports.AsnTypeTypes.Sequence, itemType: OneAsymmetricKey })
|
|
9187
9233
|
], AsymmetricKeyPackage);
|
|
9188
9234
|
|
|
@@ -9190,7 +9236,7 @@ var CompositePublicKey_1, CompositePrivateKey_1;
|
|
|
9190
9236
|
const id_composite_key = "2.16.840.1.114027.80.4.1";
|
|
9191
9237
|
let CompositeAlgorithmIdentifier = class CompositeAlgorithmIdentifier extends AlgorithmIdentifier {
|
|
9192
9238
|
};
|
|
9193
|
-
CompositeAlgorithmIdentifier = __decorate([
|
|
9239
|
+
CompositeAlgorithmIdentifier = __decorate$1([
|
|
9194
9240
|
AsnType({ type: exports.AsnTypeTypes.Sequence })
|
|
9195
9241
|
], CompositeAlgorithmIdentifier);
|
|
9196
9242
|
exports.CompositePublicKey = CompositePublicKey_1 = class CompositePublicKey extends AsnArray {
|
|
@@ -9199,7 +9245,7 @@ exports.CompositePublicKey = CompositePublicKey_1 = class CompositePublicKey ext
|
|
|
9199
9245
|
Object.setPrototypeOf(this, CompositePublicKey_1.prototype);
|
|
9200
9246
|
}
|
|
9201
9247
|
};
|
|
9202
|
-
exports.CompositePublicKey = CompositePublicKey_1 = __decorate([
|
|
9248
|
+
exports.CompositePublicKey = CompositePublicKey_1 = __decorate$1([
|
|
9203
9249
|
AsnType({ type: exports.AsnTypeTypes.Sequence, itemType: SubjectPublicKeyInfo })
|
|
9204
9250
|
], exports.CompositePublicKey);
|
|
9205
9251
|
let CompositePrivateKey = CompositePrivateKey_1 = class CompositePrivateKey extends AsnArray {
|
|
@@ -9208,7 +9254,7 @@ let CompositePrivateKey = CompositePrivateKey_1 = class CompositePrivateKey exte
|
|
|
9208
9254
|
Object.setPrototypeOf(this, CompositePrivateKey_1.prototype);
|
|
9209
9255
|
}
|
|
9210
9256
|
};
|
|
9211
|
-
CompositePrivateKey = CompositePrivateKey_1 = __decorate([
|
|
9257
|
+
CompositePrivateKey = CompositePrivateKey_1 = __decorate$1([
|
|
9212
9258
|
AsnType({ type: exports.AsnTypeTypes.Sequence, itemType: OneAsymmetricKey })
|
|
9213
9259
|
], CompositePrivateKey);
|
|
9214
9260
|
|
|
@@ -9234,7 +9280,7 @@ var _Name_asn;
|
|
|
9234
9280
|
class Name {
|
|
9235
9281
|
constructor(data) {
|
|
9236
9282
|
_Name_asn.set(this, new exports.Name$1());
|
|
9237
|
-
if (download$1.
|
|
9283
|
+
if (download$1.BufferSourceConverter_1.isBufferSource(data)) {
|
|
9238
9284
|
__classPrivateFieldSet$1(this, _Name_asn, AsnParser.parse(data, exports.Name$1), "f");
|
|
9239
9285
|
}
|
|
9240
9286
|
else {
|
|
@@ -9268,13 +9314,13 @@ let TypeOfBiometricData = class TypeOfBiometricData {
|
|
|
9268
9314
|
Object.assign(this, params);
|
|
9269
9315
|
}
|
|
9270
9316
|
};
|
|
9271
|
-
__decorate([
|
|
9317
|
+
__decorate$1([
|
|
9272
9318
|
AsnProp({ type: exports.AsnPropTypes.Integer })
|
|
9273
9319
|
], TypeOfBiometricData.prototype, "predefinedBiometricType", void 0);
|
|
9274
|
-
__decorate([
|
|
9320
|
+
__decorate$1([
|
|
9275
9321
|
AsnProp({ type: exports.AsnPropTypes.ObjectIdentifier })
|
|
9276
9322
|
], TypeOfBiometricData.prototype, "biometricDataOid", void 0);
|
|
9277
|
-
TypeOfBiometricData = __decorate([
|
|
9323
|
+
TypeOfBiometricData = __decorate$1([
|
|
9278
9324
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
9279
9325
|
], TypeOfBiometricData);
|
|
9280
9326
|
class BiometricData {
|
|
@@ -9285,16 +9331,16 @@ class BiometricData {
|
|
|
9285
9331
|
Object.assign(this, params);
|
|
9286
9332
|
}
|
|
9287
9333
|
}
|
|
9288
|
-
__decorate([
|
|
9334
|
+
__decorate$1([
|
|
9289
9335
|
AsnProp({ type: TypeOfBiometricData })
|
|
9290
9336
|
], BiometricData.prototype, "typeOfBiometricData", void 0);
|
|
9291
|
-
__decorate([
|
|
9337
|
+
__decorate$1([
|
|
9292
9338
|
AsnProp({ type: AlgorithmIdentifier })
|
|
9293
9339
|
], BiometricData.prototype, "hashAlgorithm", void 0);
|
|
9294
|
-
__decorate([
|
|
9340
|
+
__decorate$1([
|
|
9295
9341
|
AsnProp({ type: OctetString })
|
|
9296
9342
|
], BiometricData.prototype, "biometricDataHash", void 0);
|
|
9297
|
-
__decorate([
|
|
9343
|
+
__decorate$1([
|
|
9298
9344
|
AsnProp({ type: exports.AsnPropTypes.IA5String, optional: true })
|
|
9299
9345
|
], BiometricData.prototype, "sourceDataUri", void 0);
|
|
9300
9346
|
exports.BiometricSyntax = BiometricSyntax_1 = class BiometricSyntax extends AsnArray {
|
|
@@ -9303,7 +9349,7 @@ exports.BiometricSyntax = BiometricSyntax_1 = class BiometricSyntax extends AsnA
|
|
|
9303
9349
|
Object.setPrototypeOf(this, BiometricSyntax_1.prototype);
|
|
9304
9350
|
}
|
|
9305
9351
|
};
|
|
9306
|
-
exports.BiometricSyntax = BiometricSyntax_1 = __decorate([
|
|
9352
|
+
exports.BiometricSyntax = BiometricSyntax_1 = __decorate$1([
|
|
9307
9353
|
AsnType({ type: exports.AsnTypeTypes.Sequence, itemType: BiometricData })
|
|
9308
9354
|
], exports.BiometricSyntax);
|
|
9309
9355
|
|
|
@@ -9317,10 +9363,10 @@ class QCStatement {
|
|
|
9317
9363
|
this.statementInfo = new ArrayBuffer(0);
|
|
9318
9364
|
}
|
|
9319
9365
|
}
|
|
9320
|
-
__decorate([
|
|
9366
|
+
__decorate$1([
|
|
9321
9367
|
AsnProp({ type: exports.AsnPropTypes.ObjectIdentifier })
|
|
9322
9368
|
], QCStatement.prototype, "statementId", void 0);
|
|
9323
|
-
__decorate([
|
|
9369
|
+
__decorate$1([
|
|
9324
9370
|
AsnProp({ type: exports.AsnPropTypes.Any, optional: true })
|
|
9325
9371
|
], QCStatement.prototype, "statementInfo", void 0);
|
|
9326
9372
|
const id_qcs_pkixQCSyntax_v2 = `${id_qcs}.2`;
|
|
@@ -9330,7 +9376,7 @@ let NameRegistrationAuthorities = NameRegistrationAuthorities_1 = class NameRegi
|
|
|
9330
9376
|
Object.setPrototypeOf(this, NameRegistrationAuthorities_1.prototype);
|
|
9331
9377
|
}
|
|
9332
9378
|
};
|
|
9333
|
-
NameRegistrationAuthorities = NameRegistrationAuthorities_1 = __decorate([
|
|
9379
|
+
NameRegistrationAuthorities = NameRegistrationAuthorities_1 = __decorate$1([
|
|
9334
9380
|
AsnType({ type: exports.AsnTypeTypes.Sequence, itemType: GeneralName })
|
|
9335
9381
|
], NameRegistrationAuthorities);
|
|
9336
9382
|
class SemanticsInformation {
|
|
@@ -9338,10 +9384,10 @@ class SemanticsInformation {
|
|
|
9338
9384
|
Object.assign(this, params);
|
|
9339
9385
|
}
|
|
9340
9386
|
}
|
|
9341
|
-
__decorate([
|
|
9387
|
+
__decorate$1([
|
|
9342
9388
|
AsnProp({ type: exports.AsnPropTypes.ObjectIdentifier, optional: true })
|
|
9343
9389
|
], SemanticsInformation.prototype, "semanticsIdentifier", void 0);
|
|
9344
|
-
__decorate([
|
|
9390
|
+
__decorate$1([
|
|
9345
9391
|
AsnProp({ type: NameRegistrationAuthorities, optional: true })
|
|
9346
9392
|
], SemanticsInformation.prototype, "nameRegistrationAuthorities", void 0);
|
|
9347
9393
|
exports.QCStatements = QCStatements_1 = class QCStatements extends AsnArray {
|
|
@@ -9350,13 +9396,13 @@ exports.QCStatements = QCStatements_1 = class QCStatements extends AsnArray {
|
|
|
9350
9396
|
Object.setPrototypeOf(this, QCStatements_1.prototype);
|
|
9351
9397
|
}
|
|
9352
9398
|
};
|
|
9353
|
-
exports.QCStatements = QCStatements_1 = __decorate([
|
|
9399
|
+
exports.QCStatements = QCStatements_1 = __decorate$1([
|
|
9354
9400
|
AsnType({ type: exports.AsnTypeTypes.Sequence, itemType: QCStatement })
|
|
9355
9401
|
], exports.QCStatements);
|
|
9356
9402
|
|
|
9357
9403
|
let PlaceOfBirth$1 = class PlaceOfBirth extends DirectoryString {
|
|
9358
9404
|
};
|
|
9359
|
-
PlaceOfBirth$1 = __decorate([
|
|
9405
|
+
PlaceOfBirth$1 = __decorate$1([
|
|
9360
9406
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
9361
9407
|
], PlaceOfBirth$1);
|
|
9362
9408
|
var Gender$1;
|
|
@@ -9374,7 +9420,7 @@ let CertificateApplicationPolicies = CertificateApplicationPolicies_1 = class Ce
|
|
|
9374
9420
|
Object.setPrototypeOf(this, CertificateApplicationPolicies_1.prototype);
|
|
9375
9421
|
}
|
|
9376
9422
|
};
|
|
9377
|
-
CertificateApplicationPolicies = CertificateApplicationPolicies_1 = __decorate([
|
|
9423
|
+
CertificateApplicationPolicies = CertificateApplicationPolicies_1 = __decorate$1([
|
|
9378
9424
|
AsnType({ type: exports.AsnTypeTypes.Sequence })
|
|
9379
9425
|
], CertificateApplicationPolicies);
|
|
9380
9426
|
|
|
@@ -9387,13 +9433,13 @@ class CertificateTemplate {
|
|
|
9387
9433
|
Object.assign(this, params);
|
|
9388
9434
|
}
|
|
9389
9435
|
}
|
|
9390
|
-
__decorate([
|
|
9436
|
+
__decorate$1([
|
|
9391
9437
|
AsnProp({ type: exports.AsnPropTypes.ObjectIdentifier })
|
|
9392
9438
|
], CertificateTemplate.prototype, "templateID", void 0);
|
|
9393
|
-
__decorate([
|
|
9439
|
+
__decorate$1([
|
|
9394
9440
|
AsnProp({ type: exports.AsnPropTypes.Integer })
|
|
9395
9441
|
], CertificateTemplate.prototype, "templateMajorVersion", void 0);
|
|
9396
|
-
__decorate([
|
|
9442
|
+
__decorate$1([
|
|
9397
9443
|
AsnProp({ type: exports.AsnPropTypes.Integer })
|
|
9398
9444
|
], CertificateTemplate.prototype, "templateMinorVersion", void 0);
|
|
9399
9445
|
|
|
@@ -9404,7 +9450,7 @@ class EnrollCertType {
|
|
|
9404
9450
|
Object.assign(this, params);
|
|
9405
9451
|
}
|
|
9406
9452
|
}
|
|
9407
|
-
__decorate([
|
|
9453
|
+
__decorate$1([
|
|
9408
9454
|
AsnProp({ type: exports.AsnPropTypes.Utf8String })
|
|
9409
9455
|
], EnrollCertType.prototype, "name", void 0);
|
|
9410
9456
|
exports.EnrollCertTypeChoice = class EnrollCertTypeChoice {
|
|
@@ -9416,13 +9462,13 @@ exports.EnrollCertTypeChoice = class EnrollCertTypeChoice {
|
|
|
9416
9462
|
return ((_a = this.name) === null || _a === void 0 ? void 0 : _a.toString()) || ((_b = this.spec) === null || _b === void 0 ? void 0 : _b.name) || "";
|
|
9417
9463
|
}
|
|
9418
9464
|
};
|
|
9419
|
-
__decorate([
|
|
9465
|
+
__decorate$1([
|
|
9420
9466
|
AsnProp({ type: DirectoryString })
|
|
9421
9467
|
], exports.EnrollCertTypeChoice.prototype, "name", void 0);
|
|
9422
|
-
__decorate([
|
|
9468
|
+
__decorate$1([
|
|
9423
9469
|
AsnProp({ type: EnrollCertType })
|
|
9424
9470
|
], exports.EnrollCertTypeChoice.prototype, "spec", void 0);
|
|
9425
|
-
exports.EnrollCertTypeChoice = __decorate([
|
|
9471
|
+
exports.EnrollCertTypeChoice = __decorate$1([
|
|
9426
9472
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
9427
9473
|
], exports.EnrollCertTypeChoice);
|
|
9428
9474
|
|
|
@@ -9442,15 +9488,15 @@ exports.CaVersion = class CaVersion {
|
|
|
9442
9488
|
data.set(new Uint8Array(this.value), 4 - this.value.byteLength);
|
|
9443
9489
|
}
|
|
9444
9490
|
return {
|
|
9445
|
-
keyIndex: parseInt(download$1.
|
|
9446
|
-
certificateIndex: parseInt(download$1.
|
|
9491
|
+
keyIndex: parseInt(download$1.Convert_1.ToHex(data.slice(0, 2)), 16),
|
|
9492
|
+
certificateIndex: parseInt(download$1.Convert_1.ToHex(data.slice(2)), 16),
|
|
9447
9493
|
};
|
|
9448
9494
|
}
|
|
9449
9495
|
};
|
|
9450
|
-
__decorate([
|
|
9496
|
+
__decorate$1([
|
|
9451
9497
|
AsnProp({ type: exports.AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
|
|
9452
9498
|
], exports.CaVersion.prototype, "value", void 0);
|
|
9453
|
-
exports.CaVersion = __decorate([
|
|
9499
|
+
exports.CaVersion = __decorate$1([
|
|
9454
9500
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
9455
9501
|
], exports.CaVersion);
|
|
9456
9502
|
|
|
@@ -9459,37 +9505,37 @@ let AnyString = class AnyString {
|
|
|
9459
9505
|
Object.assign(this, params);
|
|
9460
9506
|
}
|
|
9461
9507
|
};
|
|
9462
|
-
__decorate([
|
|
9508
|
+
__decorate$1([
|
|
9463
9509
|
AsnProp({ type: exports.AsnPropTypes.NumericString })
|
|
9464
9510
|
], AnyString.prototype, "numericString", void 0);
|
|
9465
|
-
__decorate([
|
|
9511
|
+
__decorate$1([
|
|
9466
9512
|
AsnProp({ type: exports.AsnPropTypes.PrintableString })
|
|
9467
9513
|
], AnyString.prototype, "printableString", void 0);
|
|
9468
|
-
__decorate([
|
|
9514
|
+
__decorate$1([
|
|
9469
9515
|
AsnProp({ type: exports.AsnPropTypes.TeletexString })
|
|
9470
9516
|
], AnyString.prototype, "teletexString", void 0);
|
|
9471
|
-
__decorate([
|
|
9517
|
+
__decorate$1([
|
|
9472
9518
|
AsnProp({ type: exports.AsnPropTypes.VideotexString })
|
|
9473
9519
|
], AnyString.prototype, "videotexString", void 0);
|
|
9474
|
-
__decorate([
|
|
9520
|
+
__decorate$1([
|
|
9475
9521
|
AsnProp({ type: exports.AsnPropTypes.IA5String })
|
|
9476
9522
|
], AnyString.prototype, "ia5String", void 0);
|
|
9477
|
-
__decorate([
|
|
9523
|
+
__decorate$1([
|
|
9478
9524
|
AsnProp({ type: exports.AsnPropTypes.GraphicString })
|
|
9479
9525
|
], AnyString.prototype, "graphicString", void 0);
|
|
9480
|
-
__decorate([
|
|
9526
|
+
__decorate$1([
|
|
9481
9527
|
AsnProp({ type: exports.AsnPropTypes.VisibleString })
|
|
9482
9528
|
], AnyString.prototype, "visibleString", void 0);
|
|
9483
|
-
__decorate([
|
|
9529
|
+
__decorate$1([
|
|
9484
9530
|
AsnProp({ type: exports.AsnPropTypes.GeneralString })
|
|
9485
9531
|
], AnyString.prototype, "generalString", void 0);
|
|
9486
|
-
__decorate([
|
|
9532
|
+
__decorate$1([
|
|
9487
9533
|
AsnProp({ type: exports.AsnPropTypes.UniversalString })
|
|
9488
9534
|
], AnyString.prototype, "universalString", void 0);
|
|
9489
|
-
__decorate([
|
|
9535
|
+
__decorate$1([
|
|
9490
9536
|
AsnProp({ type: exports.AsnPropTypes.BmpString })
|
|
9491
9537
|
], AnyString.prototype, "bmpString", void 0);
|
|
9492
|
-
AnyString = __decorate([
|
|
9538
|
+
AnyString = __decorate$1([
|
|
9493
9539
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
9494
9540
|
], AnyString);
|
|
9495
9541
|
|
|
@@ -9498,10 +9544,10 @@ let ArchivedKey = class ArchivedKey {
|
|
|
9498
9544
|
this.value = value;
|
|
9499
9545
|
}
|
|
9500
9546
|
};
|
|
9501
|
-
__decorate([
|
|
9547
|
+
__decorate$1([
|
|
9502
9548
|
AsnProp({ type: exports.AsnPropTypes.Any })
|
|
9503
9549
|
], ArchivedKey.prototype, "value", void 0);
|
|
9504
|
-
ArchivedKey = __decorate([
|
|
9550
|
+
ArchivedKey = __decorate$1([
|
|
9505
9551
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
9506
9552
|
], ArchivedKey);
|
|
9507
9553
|
|
|
@@ -9512,7 +9558,7 @@ let CertExtensions = CertExtensions_1 = class CertExtensions extends Extensions
|
|
|
9512
9558
|
Object.setPrototypeOf(this, CertExtensions_1.prototype);
|
|
9513
9559
|
}
|
|
9514
9560
|
};
|
|
9515
|
-
CertExtensions = CertExtensions_1 = __decorate([
|
|
9561
|
+
CertExtensions = CertExtensions_1 = __decorate$1([
|
|
9516
9562
|
AsnType({ type: exports.AsnTypeTypes.Sequence })
|
|
9517
9563
|
], CertExtensions);
|
|
9518
9564
|
|
|
@@ -9524,13 +9570,13 @@ class CSPProvider {
|
|
|
9524
9570
|
Object.assign(this, params);
|
|
9525
9571
|
}
|
|
9526
9572
|
}
|
|
9527
|
-
__decorate([
|
|
9573
|
+
__decorate$1([
|
|
9528
9574
|
AsnProp({ type: exports.AsnPropTypes.Integer })
|
|
9529
9575
|
], CSPProvider.prototype, "keySpec", void 0);
|
|
9530
|
-
__decorate([
|
|
9576
|
+
__decorate$1([
|
|
9531
9577
|
AsnProp({ type: exports.AsnPropTypes.BmpString })
|
|
9532
9578
|
], CSPProvider.prototype, "cspName", void 0);
|
|
9533
|
-
__decorate([
|
|
9579
|
+
__decorate$1([
|
|
9534
9580
|
AsnProp({ type: exports.AsnPropTypes.BitString })
|
|
9535
9581
|
], CSPProvider.prototype, "signature", void 0);
|
|
9536
9582
|
|
|
@@ -9541,7 +9587,7 @@ let AttestationIdentityKeyInfo = AttestationIdentityKeyInfo_1 = class Attestatio
|
|
|
9541
9587
|
Object.setPrototypeOf(this, AttestationIdentityKeyInfo_1.prototype);
|
|
9542
9588
|
}
|
|
9543
9589
|
};
|
|
9544
|
-
AttestationIdentityKeyInfo = AttestationIdentityKeyInfo_1 = __decorate([
|
|
9590
|
+
AttestationIdentityKeyInfo = AttestationIdentityKeyInfo_1 = __decorate$1([
|
|
9545
9591
|
AsnType({ type: exports.AsnTypeTypes.Sequence, itemType: exports.AsnPropTypes.Any })
|
|
9546
9592
|
], AttestationIdentityKeyInfo);
|
|
9547
9593
|
|
|
@@ -9552,7 +9598,7 @@ let EndorsementKeyInfo = EndorsementKeyInfo_1 = class EndorsementKeyInfo extends
|
|
|
9552
9598
|
Object.setPrototypeOf(this, EndorsementKeyInfo_1.prototype);
|
|
9553
9599
|
}
|
|
9554
9600
|
};
|
|
9555
|
-
EndorsementKeyInfo = EndorsementKeyInfo_1 = __decorate([
|
|
9601
|
+
EndorsementKeyInfo = EndorsementKeyInfo_1 = __decorate$1([
|
|
9556
9602
|
AsnType({ type: exports.AsnTypeTypes.Sequence, itemType: exports.AsnPropTypes.Any })
|
|
9557
9603
|
], EndorsementKeyInfo);
|
|
9558
9604
|
|
|
@@ -9564,10 +9610,10 @@ class EnrollmentNameValuePair {
|
|
|
9564
9610
|
Object.assign(this, params);
|
|
9565
9611
|
}
|
|
9566
9612
|
}
|
|
9567
|
-
__decorate([
|
|
9613
|
+
__decorate$1([
|
|
9568
9614
|
AsnProp({ type: exports.AsnPropTypes.BmpString })
|
|
9569
9615
|
], EnrollmentNameValuePair.prototype, "name", void 0);
|
|
9570
|
-
__decorate([
|
|
9616
|
+
__decorate$1([
|
|
9571
9617
|
AsnProp({ type: exports.AsnPropTypes.BmpString })
|
|
9572
9618
|
], EnrollmentNameValuePair.prototype, "value", void 0);
|
|
9573
9619
|
let EnrollmentNameValuePairs = EnrollmentNameValuePairs_1 = class EnrollmentNameValuePairs extends AsnArray {
|
|
@@ -9576,25 +9622,25 @@ let EnrollmentNameValuePairs = EnrollmentNameValuePairs_1 = class EnrollmentName
|
|
|
9576
9622
|
Object.setPrototypeOf(this, EnrollmentNameValuePairs_1.prototype);
|
|
9577
9623
|
}
|
|
9578
9624
|
};
|
|
9579
|
-
EnrollmentNameValuePairs = EnrollmentNameValuePairs_1 = __decorate([
|
|
9625
|
+
EnrollmentNameValuePairs = EnrollmentNameValuePairs_1 = __decorate$1([
|
|
9580
9626
|
AsnType({ type: exports.AsnTypeTypes.Sequence, itemType: EnrollmentNameValuePair })
|
|
9581
9627
|
], EnrollmentNameValuePairs);
|
|
9582
9628
|
|
|
9583
9629
|
let NTPrincipalName = class NTPrincipalName extends OtherName {
|
|
9584
9630
|
};
|
|
9585
|
-
NTPrincipalName = __decorate([
|
|
9631
|
+
NTPrincipalName = __decorate$1([
|
|
9586
9632
|
AsnType({ type: exports.AsnTypeTypes.Sequence })
|
|
9587
9633
|
], NTPrincipalName);
|
|
9588
9634
|
|
|
9589
9635
|
let NTDSReplication = class NTDSReplication extends OtherName {
|
|
9590
9636
|
};
|
|
9591
|
-
NTDSReplication = __decorate([
|
|
9637
|
+
NTDSReplication = __decorate$1([
|
|
9592
9638
|
AsnType({ type: exports.AsnTypeTypes.Sequence })
|
|
9593
9639
|
], NTDSReplication);
|
|
9594
9640
|
|
|
9595
9641
|
let RenewalCertificate = class RenewalCertificate extends Certificate {
|
|
9596
9642
|
};
|
|
9597
|
-
RenewalCertificate = __decorate([
|
|
9643
|
+
RenewalCertificate = __decorate$1([
|
|
9598
9644
|
AsnType({ type: exports.AsnTypeTypes.Sequence })
|
|
9599
9645
|
], RenewalCertificate);
|
|
9600
9646
|
|
|
@@ -9607,16 +9653,16 @@ class RequestClientInfo {
|
|
|
9607
9653
|
Object.assign(this, params);
|
|
9608
9654
|
}
|
|
9609
9655
|
}
|
|
9610
|
-
__decorate([
|
|
9656
|
+
__decorate$1([
|
|
9611
9657
|
AsnProp({ type: exports.AsnPropTypes.Integer })
|
|
9612
9658
|
], RequestClientInfo.prototype, "clientId", void 0);
|
|
9613
|
-
__decorate([
|
|
9659
|
+
__decorate$1([
|
|
9614
9660
|
AsnProp({ type: exports.AsnPropTypes.Utf8String })
|
|
9615
9661
|
], RequestClientInfo.prototype, "machineName", void 0);
|
|
9616
|
-
__decorate([
|
|
9662
|
+
__decorate$1([
|
|
9617
9663
|
AsnProp({ type: exports.AsnPropTypes.Utf8String })
|
|
9618
9664
|
], RequestClientInfo.prototype, "userName", void 0);
|
|
9619
|
-
__decorate([
|
|
9665
|
+
__decorate$1([
|
|
9620
9666
|
AsnProp({ type: exports.AsnPropTypes.Utf8String })
|
|
9621
9667
|
], RequestClientInfo.prototype, "processName", void 0);
|
|
9622
9668
|
|
|
@@ -9631,10 +9677,10 @@ let NetscapeBaseUrl = class NetscapeBaseUrl {
|
|
|
9631
9677
|
}
|
|
9632
9678
|
}
|
|
9633
9679
|
};
|
|
9634
|
-
__decorate([
|
|
9680
|
+
__decorate$1([
|
|
9635
9681
|
AsnProp({ type: exports.AsnPropTypes.IA5String })
|
|
9636
9682
|
], NetscapeBaseUrl.prototype, "value", void 0);
|
|
9637
|
-
NetscapeBaseUrl = __decorate([
|
|
9683
|
+
NetscapeBaseUrl = __decorate$1([
|
|
9638
9684
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
9639
9685
|
], NetscapeBaseUrl);
|
|
9640
9686
|
|
|
@@ -9646,10 +9692,10 @@ let NetscapeCaPolicyUrl = class NetscapeCaPolicyUrl {
|
|
|
9646
9692
|
}
|
|
9647
9693
|
}
|
|
9648
9694
|
};
|
|
9649
|
-
__decorate([
|
|
9695
|
+
__decorate$1([
|
|
9650
9696
|
AsnProp({ type: exports.AsnPropTypes.IA5String })
|
|
9651
9697
|
], NetscapeCaPolicyUrl.prototype, "value", void 0);
|
|
9652
|
-
NetscapeCaPolicyUrl = __decorate([
|
|
9698
|
+
NetscapeCaPolicyUrl = __decorate$1([
|
|
9653
9699
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
9654
9700
|
], NetscapeCaPolicyUrl);
|
|
9655
9701
|
|
|
@@ -9661,10 +9707,10 @@ let NetscapeCaRevocationUrl = class NetscapeCaRevocationUrl {
|
|
|
9661
9707
|
}
|
|
9662
9708
|
}
|
|
9663
9709
|
};
|
|
9664
|
-
__decorate([
|
|
9710
|
+
__decorate$1([
|
|
9665
9711
|
AsnProp({ type: exports.AsnPropTypes.IA5String })
|
|
9666
9712
|
], NetscapeCaRevocationUrl.prototype, "value", void 0);
|
|
9667
|
-
NetscapeCaRevocationUrl = __decorate([
|
|
9713
|
+
NetscapeCaRevocationUrl = __decorate$1([
|
|
9668
9714
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
9669
9715
|
], NetscapeCaRevocationUrl);
|
|
9670
9716
|
|
|
@@ -9676,10 +9722,10 @@ let NetscapeCertRenewUrl = class NetscapeCertRenewUrl {
|
|
|
9676
9722
|
}
|
|
9677
9723
|
}
|
|
9678
9724
|
};
|
|
9679
|
-
__decorate([
|
|
9725
|
+
__decorate$1([
|
|
9680
9726
|
AsnProp({ type: exports.AsnPropTypes.IA5String })
|
|
9681
9727
|
], NetscapeCertRenewUrl.prototype, "value", void 0);
|
|
9682
|
-
NetscapeCertRenewUrl = __decorate([
|
|
9728
|
+
NetscapeCertRenewUrl = __decorate$1([
|
|
9683
9729
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
9684
9730
|
], NetscapeCertRenewUrl);
|
|
9685
9731
|
|
|
@@ -9735,10 +9781,10 @@ exports.NetscapeComment = class NetscapeComment {
|
|
|
9735
9781
|
}
|
|
9736
9782
|
}
|
|
9737
9783
|
};
|
|
9738
|
-
__decorate([
|
|
9784
|
+
__decorate$1([
|
|
9739
9785
|
AsnProp({ type: exports.AsnPropTypes.IA5String })
|
|
9740
9786
|
], exports.NetscapeComment.prototype, "value", void 0);
|
|
9741
|
-
exports.NetscapeComment = __decorate([
|
|
9787
|
+
exports.NetscapeComment = __decorate$1([
|
|
9742
9788
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
9743
9789
|
], exports.NetscapeComment);
|
|
9744
9790
|
|
|
@@ -9750,10 +9796,10 @@ let NetscapeRevocationUrl = class NetscapeRevocationUrl {
|
|
|
9750
9796
|
}
|
|
9751
9797
|
}
|
|
9752
9798
|
};
|
|
9753
|
-
__decorate([
|
|
9799
|
+
__decorate$1([
|
|
9754
9800
|
AsnProp({ type: exports.AsnPropTypes.IA5String })
|
|
9755
9801
|
], NetscapeRevocationUrl.prototype, "value", void 0);
|
|
9756
|
-
NetscapeRevocationUrl = __decorate([
|
|
9802
|
+
NetscapeRevocationUrl = __decorate$1([
|
|
9757
9803
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
9758
9804
|
], NetscapeRevocationUrl);
|
|
9759
9805
|
|
|
@@ -9765,10 +9811,10 @@ let NetscapeSSLServerName = class NetscapeSSLServerName {
|
|
|
9765
9811
|
}
|
|
9766
9812
|
}
|
|
9767
9813
|
};
|
|
9768
|
-
__decorate([
|
|
9814
|
+
__decorate$1([
|
|
9769
9815
|
AsnProp({ type: exports.AsnPropTypes.IA5String })
|
|
9770
9816
|
], NetscapeSSLServerName.prototype, "value", void 0);
|
|
9771
|
-
NetscapeSSLServerName = __decorate([
|
|
9817
|
+
NetscapeSSLServerName = __decorate$1([
|
|
9772
9818
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
9773
9819
|
], NetscapeSSLServerName);
|
|
9774
9820
|
|
|
@@ -9779,21 +9825,16 @@ let Lei = class Lei {
|
|
|
9779
9825
|
Object.assign(this, params);
|
|
9780
9826
|
}
|
|
9781
9827
|
};
|
|
9782
|
-
__decorate([
|
|
9828
|
+
__decorate$1([
|
|
9783
9829
|
AsnProp({ type: PrintableString })
|
|
9784
9830
|
], Lei.prototype, "leiCode", void 0);
|
|
9785
|
-
__decorate([
|
|
9831
|
+
__decorate$1([
|
|
9786
9832
|
AsnProp({ type: PrintableString, context: 0, optional: true })
|
|
9787
9833
|
], Lei.prototype, "leiRole", void 0);
|
|
9788
|
-
Lei = __decorate([
|
|
9834
|
+
Lei = __decorate$1([
|
|
9789
9835
|
AsnType({ type: exports.AsnTypeTypes.Sequence })
|
|
9790
9836
|
], Lei);
|
|
9791
9837
|
let BaseLeiChoice = class BaseLeiChoice {
|
|
9792
|
-
constructor(value) {
|
|
9793
|
-
if (value) {
|
|
9794
|
-
this.text = value;
|
|
9795
|
-
}
|
|
9796
|
-
}
|
|
9797
9838
|
get text() {
|
|
9798
9839
|
if (this.bmpString !== undefined) {
|
|
9799
9840
|
return this.bmpString;
|
|
@@ -9815,23 +9856,28 @@ let BaseLeiChoice = class BaseLeiChoice {
|
|
|
9815
9856
|
set text(value) {
|
|
9816
9857
|
this.printableString = value;
|
|
9817
9858
|
}
|
|
9859
|
+
constructor(value) {
|
|
9860
|
+
if (value) {
|
|
9861
|
+
this.text = value;
|
|
9862
|
+
}
|
|
9863
|
+
}
|
|
9818
9864
|
};
|
|
9819
|
-
__decorate([
|
|
9865
|
+
__decorate$1([
|
|
9820
9866
|
AsnProp({ type: exports.AsnPropTypes.IA5String })
|
|
9821
9867
|
], BaseLeiChoice.prototype, "ia5String", void 0);
|
|
9822
|
-
__decorate([
|
|
9868
|
+
__decorate$1([
|
|
9823
9869
|
AsnProp({ type: exports.AsnPropTypes.VisibleString })
|
|
9824
9870
|
], BaseLeiChoice.prototype, "visibleString", void 0);
|
|
9825
|
-
__decorate([
|
|
9871
|
+
__decorate$1([
|
|
9826
9872
|
AsnProp({ type: exports.AsnPropTypes.BmpString })
|
|
9827
9873
|
], BaseLeiChoice.prototype, "bmpString", void 0);
|
|
9828
|
-
__decorate([
|
|
9874
|
+
__decorate$1([
|
|
9829
9875
|
AsnProp({ type: exports.AsnPropTypes.Utf8String })
|
|
9830
9876
|
], BaseLeiChoice.prototype, "utf8String", void 0);
|
|
9831
|
-
__decorate([
|
|
9877
|
+
__decorate$1([
|
|
9832
9878
|
AsnProp({ type: exports.AsnPropTypes.PrintableString })
|
|
9833
9879
|
], BaseLeiChoice.prototype, "printableString", void 0);
|
|
9834
|
-
BaseLeiChoice = __decorate([
|
|
9880
|
+
BaseLeiChoice = __decorate$1([
|
|
9835
9881
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
9836
9882
|
], BaseLeiChoice);
|
|
9837
9883
|
exports.LeiChoice = class LeiChoice extends BaseLeiChoice {
|
|
@@ -9845,27 +9891,27 @@ exports.LeiChoice = class LeiChoice extends BaseLeiChoice {
|
|
|
9845
9891
|
}
|
|
9846
9892
|
}
|
|
9847
9893
|
};
|
|
9848
|
-
__decorate([
|
|
9894
|
+
__decorate$1([
|
|
9849
9895
|
AsnProp({ type: Lei })
|
|
9850
9896
|
], exports.LeiChoice.prototype, "struct", void 0);
|
|
9851
|
-
exports.LeiChoice = __decorate([
|
|
9897
|
+
exports.LeiChoice = __decorate$1([
|
|
9852
9898
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
9853
9899
|
], exports.LeiChoice);
|
|
9854
9900
|
const id_role = "1.3.6.1.4.1.52266.2";
|
|
9855
9901
|
exports.LeiRole = class LeiRole extends BaseLeiChoice {
|
|
9856
9902
|
};
|
|
9857
|
-
exports.LeiRole = __decorate([
|
|
9903
|
+
exports.LeiRole = __decorate$1([
|
|
9858
9904
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
9859
9905
|
], exports.LeiRole);
|
|
9860
9906
|
|
|
9861
9907
|
class ByteStream {
|
|
9862
|
-
constructor(bytes) {
|
|
9863
|
-
this.offset = 0;
|
|
9864
|
-
this.view = download$1.build.BufferSourceConverter.toUint8Array(bytes);
|
|
9865
|
-
}
|
|
9866
9908
|
get position() {
|
|
9867
9909
|
return this.offset;
|
|
9868
9910
|
}
|
|
9911
|
+
constructor(bytes) {
|
|
9912
|
+
this.offset = 0;
|
|
9913
|
+
this.view = download$1.BufferSourceConverter_1.toUint8Array(bytes);
|
|
9914
|
+
}
|
|
9869
9915
|
read(size = 1) {
|
|
9870
9916
|
const res = this.view.slice(this.offset, this.offset + size);
|
|
9871
9917
|
this.offset = this.offset + res.length;
|
|
@@ -9880,7 +9926,7 @@ class ByteStream {
|
|
|
9880
9926
|
}
|
|
9881
9927
|
readNumber(size) {
|
|
9882
9928
|
const bytes = this.read(size);
|
|
9883
|
-
const hex = download$1.
|
|
9929
|
+
const hex = download$1.Convert_1.ToHex(bytes);
|
|
9884
9930
|
return parseInt(hex, 16);
|
|
9885
9931
|
}
|
|
9886
9932
|
readEnd() {
|
|
@@ -9893,7 +9939,7 @@ class ByteStream {
|
|
|
9893
9939
|
|
|
9894
9940
|
class Structure {
|
|
9895
9941
|
static createStream(bytes) {
|
|
9896
|
-
const view = download$1.
|
|
9942
|
+
const view = download$1.BufferSourceConverter_1.toUint8Array(bytes);
|
|
9897
9943
|
return new ByteStream(view);
|
|
9898
9944
|
}
|
|
9899
9945
|
}
|
|
@@ -9937,7 +9983,7 @@ class SignedCertificateTimestamp extends Structure {
|
|
|
9937
9983
|
parse(stream) {
|
|
9938
9984
|
this.version = stream.readByte();
|
|
9939
9985
|
stream.read(2);
|
|
9940
|
-
this.logId = download$1.
|
|
9986
|
+
this.logId = download$1.BufferSourceConverter_1.toArrayBuffer(stream.read(32));
|
|
9941
9987
|
this.timestamp = new Date(stream.readNumber(8));
|
|
9942
9988
|
const extLen = stream.readNumber(2);
|
|
9943
9989
|
this.extensions = stream.read(extLen).buffer;
|
|
@@ -9948,12 +9994,12 @@ class SignedCertificateTimestamp extends Structure {
|
|
|
9948
9994
|
toJSON() {
|
|
9949
9995
|
return {
|
|
9950
9996
|
version: this.version,
|
|
9951
|
-
logId: download$1.
|
|
9997
|
+
logId: download$1.Convert_1.ToHex(this.logId),
|
|
9952
9998
|
timestamp: this.timestamp,
|
|
9953
|
-
extensions: download$1.
|
|
9999
|
+
extensions: download$1.Convert_1.ToBase64(this.extensions),
|
|
9954
10000
|
hashAlgorithm: HashAlgorithm[this.hashAlgorithm] || "undefined",
|
|
9955
10001
|
signatureAlgorithm: SignatureAlgorithm[this.signatureAlgorithm] || "undefined",
|
|
9956
|
-
signature: download$1.
|
|
10002
|
+
signature: download$1.Convert_1.ToBase64(this.signature),
|
|
9957
10003
|
};
|
|
9958
10004
|
}
|
|
9959
10005
|
}
|
|
@@ -9979,38 +10025,38 @@ class CertificateTransparency extends OctetString {
|
|
|
9979
10025
|
}
|
|
9980
10026
|
}
|
|
9981
10027
|
|
|
9982
|
-
var Version;
|
|
10028
|
+
var Version$1;
|
|
9983
10029
|
(function (Version) {
|
|
9984
10030
|
Version[Version["v1"] = 1] = "v1";
|
|
9985
|
-
})(Version || (Version = {}));
|
|
10031
|
+
})(Version$1 || (Version$1 = {}));
|
|
9986
10032
|
|
|
9987
10033
|
const id_adbe_archiveRevInfo = "1.2.840.113583.1.1.9.2";
|
|
9988
10034
|
class ArchiveRevInfo {
|
|
9989
10035
|
constructor(params = {}) {
|
|
9990
|
-
this.version = Version.v1;
|
|
10036
|
+
this.version = Version$1.v1;
|
|
9991
10037
|
Object.assign(this, params);
|
|
9992
10038
|
}
|
|
9993
10039
|
}
|
|
9994
|
-
__decorate([
|
|
10040
|
+
__decorate$1([
|
|
9995
10041
|
AsnProp({ type: exports.AsnPropTypes.Integer })
|
|
9996
10042
|
], ArchiveRevInfo.prototype, "version", void 0);
|
|
9997
10043
|
|
|
9998
10044
|
const id_adbe_timestamp = "1.2.840.113583.1.1.9.1";
|
|
9999
10045
|
class Timestamp {
|
|
10000
10046
|
constructor(params = {}) {
|
|
10001
|
-
this.version = Version.v1;
|
|
10047
|
+
this.version = Version$1.v1;
|
|
10002
10048
|
this.location = new GeneralName();
|
|
10003
10049
|
this.requiresAuth = false;
|
|
10004
10050
|
Object.assign(this, params);
|
|
10005
10051
|
}
|
|
10006
10052
|
}
|
|
10007
|
-
__decorate([
|
|
10053
|
+
__decorate$1([
|
|
10008
10054
|
AsnProp({ type: exports.AsnPropTypes.Integer })
|
|
10009
10055
|
], Timestamp.prototype, "version", void 0);
|
|
10010
|
-
__decorate([
|
|
10056
|
+
__decorate$1([
|
|
10011
10057
|
AsnProp({ type: GeneralName })
|
|
10012
10058
|
], Timestamp.prototype, "location", void 0);
|
|
10013
|
-
__decorate([
|
|
10059
|
+
__decorate$1([
|
|
10014
10060
|
AsnProp({ type: exports.AsnPropTypes.Boolean, defaultValue: false, optional: true })
|
|
10015
10061
|
], Timestamp.prototype, "requiresAuth", void 0);
|
|
10016
10062
|
|
|
@@ -10021,10 +10067,10 @@ class HashAlgAndValue {
|
|
|
10021
10067
|
Object.assign(this, params);
|
|
10022
10068
|
}
|
|
10023
10069
|
}
|
|
10024
|
-
__decorate([
|
|
10070
|
+
__decorate$1([
|
|
10025
10071
|
AsnProp({ type: AlgorithmIdentifier })
|
|
10026
10072
|
], HashAlgAndValue.prototype, "hashAlg", void 0);
|
|
10027
|
-
__decorate([
|
|
10073
|
+
__decorate$1([
|
|
10028
10074
|
AsnProp({ type: OctetString })
|
|
10029
10075
|
], HashAlgAndValue.prototype, "hashValue", void 0);
|
|
10030
10076
|
|
|
@@ -10036,13 +10082,13 @@ class LogotypeDetails {
|
|
|
10036
10082
|
Object.assign(this, params);
|
|
10037
10083
|
}
|
|
10038
10084
|
}
|
|
10039
|
-
__decorate([
|
|
10085
|
+
__decorate$1([
|
|
10040
10086
|
AsnProp({ type: exports.AsnPropTypes.IA5String })
|
|
10041
10087
|
], LogotypeDetails.prototype, "mediaType", void 0);
|
|
10042
|
-
__decorate([
|
|
10088
|
+
__decorate$1([
|
|
10043
10089
|
AsnProp({ type: HashAlgAndValue, repeated: "sequence" })
|
|
10044
10090
|
], LogotypeDetails.prototype, "logotypeHash", void 0);
|
|
10045
|
-
__decorate([
|
|
10091
|
+
__decorate$1([
|
|
10046
10092
|
AsnProp({ type: exports.AsnPropTypes.IA5String, repeated: "sequence" })
|
|
10047
10093
|
], LogotypeDetails.prototype, "logotypeURI", void 0);
|
|
10048
10094
|
|
|
@@ -10060,19 +10106,19 @@ class LogotypeAudioInfo {
|
|
|
10060
10106
|
Object.assign(this, params);
|
|
10061
10107
|
}
|
|
10062
10108
|
}
|
|
10063
|
-
__decorate([
|
|
10109
|
+
__decorate$1([
|
|
10064
10110
|
AsnProp({ type: exports.AsnPropTypes.Integer })
|
|
10065
10111
|
], LogotypeAudioInfo.prototype, "fileSize", void 0);
|
|
10066
|
-
__decorate([
|
|
10112
|
+
__decorate$1([
|
|
10067
10113
|
AsnProp({ type: exports.AsnPropTypes.Integer })
|
|
10068
10114
|
], LogotypeAudioInfo.prototype, "playTime", void 0);
|
|
10069
|
-
__decorate([
|
|
10115
|
+
__decorate$1([
|
|
10070
10116
|
AsnProp({ type: exports.AsnPropTypes.Integer })
|
|
10071
10117
|
], LogotypeAudioInfo.prototype, "channels", void 0);
|
|
10072
|
-
__decorate([
|
|
10118
|
+
__decorate$1([
|
|
10073
10119
|
AsnProp({ type: exports.AsnPropTypes.Integer, implicit: true, context: 3, optional: true })
|
|
10074
10120
|
], LogotypeAudioInfo.prototype, "sampleRate", void 0);
|
|
10075
|
-
__decorate([
|
|
10121
|
+
__decorate$1([
|
|
10076
10122
|
AsnProp({ type: exports.AsnPropTypes.IA5String, implicit: true, context: 4, optional: true })
|
|
10077
10123
|
], LogotypeAudioInfo.prototype, "language", void 0);
|
|
10078
10124
|
|
|
@@ -10082,10 +10128,10 @@ class LogotypeAudio {
|
|
|
10082
10128
|
Object.assign(this, params);
|
|
10083
10129
|
}
|
|
10084
10130
|
}
|
|
10085
|
-
__decorate([
|
|
10131
|
+
__decorate$1([
|
|
10086
10132
|
AsnProp({ type: LogotypeDetails })
|
|
10087
10133
|
], LogotypeAudio.prototype, "audioDetails", void 0);
|
|
10088
|
-
__decorate([
|
|
10134
|
+
__decorate$1([
|
|
10089
10135
|
AsnProp({ type: LogotypeAudioInfo, optional: true })
|
|
10090
10136
|
], LogotypeAudio.prototype, "audioInfo", void 0);
|
|
10091
10137
|
|
|
@@ -10094,13 +10140,13 @@ let LogotypeImageResolution = class LogotypeImageResolution {
|
|
|
10094
10140
|
Object.assign(this, params);
|
|
10095
10141
|
}
|
|
10096
10142
|
};
|
|
10097
|
-
__decorate([
|
|
10143
|
+
__decorate$1([
|
|
10098
10144
|
AsnProp({ type: exports.AsnPropTypes.Integer, context: 1, implicit: true })
|
|
10099
10145
|
], LogotypeImageResolution.prototype, "numBits", void 0);
|
|
10100
|
-
__decorate([
|
|
10146
|
+
__decorate$1([
|
|
10101
10147
|
AsnProp({ type: exports.AsnPropTypes.Integer, context: 2, implicit: true })
|
|
10102
10148
|
], LogotypeImageResolution.prototype, "tableSize", void 0);
|
|
10103
|
-
LogotypeImageResolution = __decorate([
|
|
10149
|
+
LogotypeImageResolution = __decorate$1([
|
|
10104
10150
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
10105
10151
|
], LogotypeImageResolution);
|
|
10106
10152
|
|
|
@@ -10118,22 +10164,22 @@ class LogotypeImageInfo {
|
|
|
10118
10164
|
Object.assign(this, params);
|
|
10119
10165
|
}
|
|
10120
10166
|
}
|
|
10121
|
-
__decorate([
|
|
10167
|
+
__decorate$1([
|
|
10122
10168
|
AsnProp({ type: exports.AsnPropTypes.Integer, context: 0, implicit: true, defaultValue: LogotypeImageType.color })
|
|
10123
10169
|
], LogotypeImageInfo.prototype, "type", void 0);
|
|
10124
|
-
__decorate([
|
|
10170
|
+
__decorate$1([
|
|
10125
10171
|
AsnProp({ type: exports.AsnPropTypes.Integer })
|
|
10126
10172
|
], LogotypeImageInfo.prototype, "fileSize", void 0);
|
|
10127
|
-
__decorate([
|
|
10173
|
+
__decorate$1([
|
|
10128
10174
|
AsnProp({ type: exports.AsnPropTypes.Integer })
|
|
10129
10175
|
], LogotypeImageInfo.prototype, "xSize", void 0);
|
|
10130
|
-
__decorate([
|
|
10176
|
+
__decorate$1([
|
|
10131
10177
|
AsnProp({ type: exports.AsnPropTypes.Integer })
|
|
10132
10178
|
], LogotypeImageInfo.prototype, "ySize", void 0);
|
|
10133
|
-
__decorate([
|
|
10179
|
+
__decorate$1([
|
|
10134
10180
|
AsnProp({ type: LogotypeImageResolution })
|
|
10135
10181
|
], LogotypeImageInfo.prototype, "resolution", void 0);
|
|
10136
|
-
__decorate([
|
|
10182
|
+
__decorate$1([
|
|
10137
10183
|
AsnProp({ type: exports.AsnPropTypes.IA5String, context: 4, implicit: true, optional: true })
|
|
10138
10184
|
], LogotypeImageInfo.prototype, "language", void 0);
|
|
10139
10185
|
|
|
@@ -10143,10 +10189,10 @@ class LogotypeImage {
|
|
|
10143
10189
|
Object.assign(this, params);
|
|
10144
10190
|
}
|
|
10145
10191
|
}
|
|
10146
|
-
__decorate([
|
|
10192
|
+
__decorate$1([
|
|
10147
10193
|
AsnProp({ type: LogotypeDetails })
|
|
10148
10194
|
], LogotypeImage.prototype, "imageDetails", void 0);
|
|
10149
|
-
__decorate([
|
|
10195
|
+
__decorate$1([
|
|
10150
10196
|
AsnProp({ type: LogotypeImageInfo, optional: true })
|
|
10151
10197
|
], LogotypeImage.prototype, "imageInfo", void 0);
|
|
10152
10198
|
|
|
@@ -10155,10 +10201,10 @@ class LogotypeData {
|
|
|
10155
10201
|
Object.assign(this, params);
|
|
10156
10202
|
}
|
|
10157
10203
|
}
|
|
10158
|
-
__decorate([
|
|
10204
|
+
__decorate$1([
|
|
10159
10205
|
AsnProp({ type: LogotypeImage, repeated: "sequence", optional: true })
|
|
10160
10206
|
], LogotypeData.prototype, "image", void 0);
|
|
10161
|
-
__decorate([
|
|
10207
|
+
__decorate$1([
|
|
10162
10208
|
AsnProp({ type: LogotypeAudio, repeated: "sequence", context: 1, optional: true })
|
|
10163
10209
|
], LogotypeData.prototype, "audio", void 0);
|
|
10164
10210
|
|
|
@@ -10169,10 +10215,10 @@ class LogotypeReference {
|
|
|
10169
10215
|
Object.assign(this, params);
|
|
10170
10216
|
}
|
|
10171
10217
|
}
|
|
10172
|
-
__decorate([
|
|
10218
|
+
__decorate$1([
|
|
10173
10219
|
AsnProp({ type: HashAlgAndValue, repeated: "sequence" })
|
|
10174
10220
|
], LogotypeReference.prototype, "refStructHash", void 0);
|
|
10175
|
-
__decorate([
|
|
10221
|
+
__decorate$1([
|
|
10176
10222
|
AsnProp({ type: exports.AsnPropTypes.IA5String, repeated: "sequence" })
|
|
10177
10223
|
], LogotypeReference.prototype, "refStructURI", void 0);
|
|
10178
10224
|
|
|
@@ -10181,13 +10227,13 @@ let LogotypeInfo = class LogotypeInfo {
|
|
|
10181
10227
|
Object.assign(this, params);
|
|
10182
10228
|
}
|
|
10183
10229
|
};
|
|
10184
|
-
__decorate([
|
|
10230
|
+
__decorate$1([
|
|
10185
10231
|
AsnProp({ type: LogotypeData, implicit: true, context: 0 })
|
|
10186
10232
|
], LogotypeInfo.prototype, "direct", void 0);
|
|
10187
|
-
__decorate([
|
|
10233
|
+
__decorate$1([
|
|
10188
10234
|
AsnProp({ type: LogotypeReference, implicit: true, context: 1 })
|
|
10189
10235
|
], LogotypeInfo.prototype, "indirect", void 0);
|
|
10190
|
-
LogotypeInfo = __decorate([
|
|
10236
|
+
LogotypeInfo = __decorate$1([
|
|
10191
10237
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
10192
10238
|
], LogotypeInfo);
|
|
10193
10239
|
|
|
@@ -10198,10 +10244,10 @@ class OtherLogotypeInfo {
|
|
|
10198
10244
|
Object.assign(this, params);
|
|
10199
10245
|
}
|
|
10200
10246
|
}
|
|
10201
|
-
__decorate([
|
|
10247
|
+
__decorate$1([
|
|
10202
10248
|
AsnProp({ type: exports.AsnPropTypes.ObjectIdentifier })
|
|
10203
10249
|
], OtherLogotypeInfo.prototype, "logotypeType", void 0);
|
|
10204
|
-
__decorate([
|
|
10250
|
+
__decorate$1([
|
|
10205
10251
|
AsnProp({ type: LogotypeInfo })
|
|
10206
10252
|
], OtherLogotypeInfo.prototype, "info", void 0);
|
|
10207
10253
|
|
|
@@ -10210,16 +10256,16 @@ class LogotypeExtn {
|
|
|
10210
10256
|
Object.assign(this, params);
|
|
10211
10257
|
}
|
|
10212
10258
|
}
|
|
10213
|
-
__decorate([
|
|
10259
|
+
__decorate$1([
|
|
10214
10260
|
AsnProp({ type: LogotypeInfo, context: 0, repeated: "sequence", optional: true })
|
|
10215
10261
|
], LogotypeExtn.prototype, "communityLogos", void 0);
|
|
10216
|
-
__decorate([
|
|
10262
|
+
__decorate$1([
|
|
10217
10263
|
AsnProp({ type: LogotypeInfo, context: 1, optional: true })
|
|
10218
10264
|
], LogotypeExtn.prototype, "issuerLogo", void 0);
|
|
10219
|
-
__decorate([
|
|
10265
|
+
__decorate$1([
|
|
10220
10266
|
AsnProp({ type: LogotypeInfo, context: 2, optional: true })
|
|
10221
10267
|
], LogotypeExtn.prototype, "subjectLogo", void 0);
|
|
10222
|
-
__decorate([
|
|
10268
|
+
__decorate$1([
|
|
10223
10269
|
AsnProp({ type: OtherLogotypeInfo, context: 3, repeated: "sequence", optional: true })
|
|
10224
10270
|
], LogotypeExtn.prototype, "otherLogos", void 0);
|
|
10225
10271
|
|
|
@@ -10234,7 +10280,7 @@ let JWTClaimNames = JWTClaimNames_1 = class JWTClaimNames extends AsnArray {
|
|
|
10234
10280
|
Object.setPrototypeOf(this, JWTClaimNames_1.prototype);
|
|
10235
10281
|
}
|
|
10236
10282
|
};
|
|
10237
|
-
JWTClaimNames = JWTClaimNames_1 = __decorate([
|
|
10283
|
+
JWTClaimNames = JWTClaimNames_1 = __decorate$1([
|
|
10238
10284
|
AsnType({
|
|
10239
10285
|
type: exports.AsnTypeTypes.Sequence,
|
|
10240
10286
|
itemType: exports.AsnPropTypes.IA5String
|
|
@@ -10247,12 +10293,12 @@ class JWTClaimPermittedValues {
|
|
|
10247
10293
|
Object.assign(this, params);
|
|
10248
10294
|
}
|
|
10249
10295
|
}
|
|
10250
|
-
__decorate([
|
|
10296
|
+
__decorate$1([
|
|
10251
10297
|
AsnProp({
|
|
10252
10298
|
type: exports.AsnPropTypes.IA5String,
|
|
10253
10299
|
})
|
|
10254
10300
|
], JWTClaimPermittedValues.prototype, "claim", void 0);
|
|
10255
|
-
__decorate([
|
|
10301
|
+
__decorate$1([
|
|
10256
10302
|
AsnProp({
|
|
10257
10303
|
type: exports.AsnPropTypes.Utf8String,
|
|
10258
10304
|
repeated: "sequence",
|
|
@@ -10264,7 +10310,7 @@ let JWTClaimPermittedValuesList = JWTClaimPermittedValuesList_1 = class JWTClaim
|
|
|
10264
10310
|
Object.setPrototypeOf(this, JWTClaimPermittedValuesList_1.prototype);
|
|
10265
10311
|
}
|
|
10266
10312
|
};
|
|
10267
|
-
JWTClaimPermittedValuesList = JWTClaimPermittedValuesList_1 = __decorate([
|
|
10313
|
+
JWTClaimPermittedValuesList = JWTClaimPermittedValuesList_1 = __decorate$1([
|
|
10268
10314
|
AsnType({
|
|
10269
10315
|
type: exports.AsnTypeTypes.Sequence,
|
|
10270
10316
|
itemType: JWTClaimPermittedValues
|
|
@@ -10275,14 +10321,14 @@ class JWTClaimConstraints {
|
|
|
10275
10321
|
Object.assign(this, params);
|
|
10276
10322
|
}
|
|
10277
10323
|
}
|
|
10278
|
-
__decorate([
|
|
10324
|
+
__decorate$1([
|
|
10279
10325
|
AsnProp({
|
|
10280
10326
|
type: JWTClaimNames,
|
|
10281
10327
|
optional: true,
|
|
10282
10328
|
context: 0,
|
|
10283
10329
|
})
|
|
10284
10330
|
], JWTClaimConstraints.prototype, "mustInclude", void 0);
|
|
10285
|
-
__decorate([
|
|
10331
|
+
__decorate$1([
|
|
10286
10332
|
AsnProp({
|
|
10287
10333
|
type: JWTClaimPermittedValuesList,
|
|
10288
10334
|
optional: true,
|
|
@@ -10296,10 +10342,10 @@ class TelephoneNumberRange {
|
|
|
10296
10342
|
this.count = 2;
|
|
10297
10343
|
}
|
|
10298
10344
|
}
|
|
10299
|
-
__decorate([
|
|
10345
|
+
__decorate$1([
|
|
10300
10346
|
AsnProp({ type: exports.AsnPropTypes.IA5String })
|
|
10301
10347
|
], TelephoneNumberRange.prototype, "start", void 0);
|
|
10302
|
-
__decorate([
|
|
10348
|
+
__decorate$1([
|
|
10303
10349
|
AsnProp({ type: exports.AsnPropTypes.Integer })
|
|
10304
10350
|
], TelephoneNumberRange.prototype, "count", void 0);
|
|
10305
10351
|
let TNEntry = class TNEntry {
|
|
@@ -10307,25 +10353,25 @@ let TNEntry = class TNEntry {
|
|
|
10307
10353
|
Object.assign(this, params);
|
|
10308
10354
|
}
|
|
10309
10355
|
};
|
|
10310
|
-
__decorate([
|
|
10356
|
+
__decorate$1([
|
|
10311
10357
|
AsnProp({
|
|
10312
10358
|
type: exports.AsnPropTypes.IA5String,
|
|
10313
10359
|
context: 0,
|
|
10314
10360
|
})
|
|
10315
10361
|
], TNEntry.prototype, "spc", void 0);
|
|
10316
|
-
__decorate([
|
|
10362
|
+
__decorate$1([
|
|
10317
10363
|
AsnProp({
|
|
10318
10364
|
type: TelephoneNumberRange,
|
|
10319
10365
|
context: 1,
|
|
10320
10366
|
})
|
|
10321
10367
|
], TNEntry.prototype, "range", void 0);
|
|
10322
|
-
__decorate([
|
|
10368
|
+
__decorate$1([
|
|
10323
10369
|
AsnProp({
|
|
10324
10370
|
type: exports.AsnPropTypes.IA5String,
|
|
10325
10371
|
context: 2,
|
|
10326
10372
|
})
|
|
10327
10373
|
], TNEntry.prototype, "one", void 0);
|
|
10328
|
-
TNEntry = __decorate([
|
|
10374
|
+
TNEntry = __decorate$1([
|
|
10329
10375
|
AsnType({
|
|
10330
10376
|
type: exports.AsnTypeTypes.Choice,
|
|
10331
10377
|
})
|
|
@@ -10336,13 +10382,350 @@ exports.TNAuthorizationList = TNAuthorizationList_1 = class TNAuthorizationList
|
|
|
10336
10382
|
Object.setPrototypeOf(this, TNAuthorizationList_1.prototype);
|
|
10337
10383
|
}
|
|
10338
10384
|
};
|
|
10339
|
-
exports.TNAuthorizationList = TNAuthorizationList_1 = __decorate([
|
|
10385
|
+
exports.TNAuthorizationList = TNAuthorizationList_1 = __decorate$1([
|
|
10340
10386
|
AsnType({
|
|
10341
10387
|
type: exports.AsnTypeTypes.Sequence,
|
|
10342
10388
|
itemType: TNEntry,
|
|
10343
10389
|
})
|
|
10344
10390
|
], exports.TNAuthorizationList);
|
|
10345
10391
|
|
|
10392
|
+
var IntegerSet_1;
|
|
10393
|
+
const id_ce_keyDescription = "1.3.6.1.4.1.11129.2.1.17";
|
|
10394
|
+
var VerifiedBootState;
|
|
10395
|
+
(function (VerifiedBootState) {
|
|
10396
|
+
VerifiedBootState[VerifiedBootState["verified"] = 0] = "verified";
|
|
10397
|
+
VerifiedBootState[VerifiedBootState["selfSigned"] = 1] = "selfSigned";
|
|
10398
|
+
VerifiedBootState[VerifiedBootState["unverified"] = 2] = "unverified";
|
|
10399
|
+
VerifiedBootState[VerifiedBootState["failed"] = 3] = "failed";
|
|
10400
|
+
})(VerifiedBootState || (VerifiedBootState = {}));
|
|
10401
|
+
class RootOfTrust {
|
|
10402
|
+
constructor(params = {}) {
|
|
10403
|
+
this.verifiedBootKey = new OctetString();
|
|
10404
|
+
this.deviceLocked = false;
|
|
10405
|
+
this.verifiedBootState = VerifiedBootState.verified;
|
|
10406
|
+
Object.assign(this, params);
|
|
10407
|
+
}
|
|
10408
|
+
}
|
|
10409
|
+
__decorate$1([
|
|
10410
|
+
AsnProp({ type: OctetString })
|
|
10411
|
+
], RootOfTrust.prototype, "verifiedBootKey", void 0);
|
|
10412
|
+
__decorate$1([
|
|
10413
|
+
AsnProp({ type: exports.AsnPropTypes.Boolean })
|
|
10414
|
+
], RootOfTrust.prototype, "deviceLocked", void 0);
|
|
10415
|
+
__decorate$1([
|
|
10416
|
+
AsnProp({ type: exports.AsnPropTypes.Enumerated })
|
|
10417
|
+
], RootOfTrust.prototype, "verifiedBootState", void 0);
|
|
10418
|
+
__decorate$1([
|
|
10419
|
+
AsnProp({ type: OctetString, optional: true })
|
|
10420
|
+
], RootOfTrust.prototype, "verifiedBootHash", void 0);
|
|
10421
|
+
exports.IntegerSet = IntegerSet_1 = class IntegerSet extends AsnArray {
|
|
10422
|
+
constructor(items) {
|
|
10423
|
+
super(items);
|
|
10424
|
+
Object.setPrototypeOf(this, IntegerSet_1.prototype);
|
|
10425
|
+
}
|
|
10426
|
+
};
|
|
10427
|
+
exports.IntegerSet = IntegerSet_1 = __decorate$1([
|
|
10428
|
+
AsnType({ type: exports.AsnTypeTypes.Set, itemType: exports.AsnPropTypes.Integer })
|
|
10429
|
+
], exports.IntegerSet);
|
|
10430
|
+
class AuthorizationList {
|
|
10431
|
+
constructor(params = {}) {
|
|
10432
|
+
Object.assign(this, params);
|
|
10433
|
+
}
|
|
10434
|
+
}
|
|
10435
|
+
__decorate$1([
|
|
10436
|
+
AsnProp({ context: 1, type: exports.IntegerSet, optional: true })
|
|
10437
|
+
], AuthorizationList.prototype, "purpose", void 0);
|
|
10438
|
+
__decorate$1([
|
|
10439
|
+
AsnProp({ context: 2, type: exports.AsnPropTypes.Integer, optional: true })
|
|
10440
|
+
], AuthorizationList.prototype, "algorithm", void 0);
|
|
10441
|
+
__decorate$1([
|
|
10442
|
+
AsnProp({ context: 3, type: exports.AsnPropTypes.Integer, optional: true })
|
|
10443
|
+
], AuthorizationList.prototype, "keySize", void 0);
|
|
10444
|
+
__decorate$1([
|
|
10445
|
+
AsnProp({ context: 5, type: exports.IntegerSet, optional: true })
|
|
10446
|
+
], AuthorizationList.prototype, "digest", void 0);
|
|
10447
|
+
__decorate$1([
|
|
10448
|
+
AsnProp({ context: 6, type: exports.IntegerSet, optional: true })
|
|
10449
|
+
], AuthorizationList.prototype, "padding", void 0);
|
|
10450
|
+
__decorate$1([
|
|
10451
|
+
AsnProp({ context: 10, type: exports.AsnPropTypes.Integer, optional: true })
|
|
10452
|
+
], AuthorizationList.prototype, "ecCurve", void 0);
|
|
10453
|
+
__decorate$1([
|
|
10454
|
+
AsnProp({ context: 200, type: exports.AsnPropTypes.Integer, optional: true })
|
|
10455
|
+
], AuthorizationList.prototype, "rsaPublicExponent", void 0);
|
|
10456
|
+
__decorate$1([
|
|
10457
|
+
AsnProp({ context: 303, type: exports.AsnPropTypes.Null, optional: true })
|
|
10458
|
+
], AuthorizationList.prototype, "rollbackResistance", void 0);
|
|
10459
|
+
__decorate$1([
|
|
10460
|
+
AsnProp({ context: 305, type: exports.AsnPropTypes.Null, optional: true })
|
|
10461
|
+
], AuthorizationList.prototype, "earlyBootOnly", void 0);
|
|
10462
|
+
__decorate$1([
|
|
10463
|
+
AsnProp({ context: 400, type: exports.AsnPropTypes.Integer, optional: true })
|
|
10464
|
+
], AuthorizationList.prototype, "activeDateTime", void 0);
|
|
10465
|
+
__decorate$1([
|
|
10466
|
+
AsnProp({ context: 401, type: exports.AsnPropTypes.Integer, optional: true })
|
|
10467
|
+
], AuthorizationList.prototype, "originationExpireDateTime", void 0);
|
|
10468
|
+
__decorate$1([
|
|
10469
|
+
AsnProp({ context: 402, type: exports.AsnPropTypes.Integer, optional: true })
|
|
10470
|
+
], AuthorizationList.prototype, "usageExpireDateTime", void 0);
|
|
10471
|
+
__decorate$1([
|
|
10472
|
+
AsnProp({ context: 503, type: exports.AsnPropTypes.Null, optional: true })
|
|
10473
|
+
], AuthorizationList.prototype, "noAuthRequired", void 0);
|
|
10474
|
+
__decorate$1([
|
|
10475
|
+
AsnProp({ context: 504, type: exports.AsnPropTypes.Integer, optional: true })
|
|
10476
|
+
], AuthorizationList.prototype, "userAuthType", void 0);
|
|
10477
|
+
__decorate$1([
|
|
10478
|
+
AsnProp({ context: 505, type: exports.AsnPropTypes.Integer, optional: true })
|
|
10479
|
+
], AuthorizationList.prototype, "authTimeout", void 0);
|
|
10480
|
+
__decorate$1([
|
|
10481
|
+
AsnProp({ context: 506, type: exports.AsnPropTypes.Null, optional: true })
|
|
10482
|
+
], AuthorizationList.prototype, "allowWhileOnBody", void 0);
|
|
10483
|
+
__decorate$1([
|
|
10484
|
+
AsnProp({ context: 507, type: exports.AsnPropTypes.Null, optional: true })
|
|
10485
|
+
], AuthorizationList.prototype, "trustedUserPresenceRequired", void 0);
|
|
10486
|
+
__decorate$1([
|
|
10487
|
+
AsnProp({ context: 508, type: exports.AsnPropTypes.Null, optional: true })
|
|
10488
|
+
], AuthorizationList.prototype, "trustedConfirmationRequired", void 0);
|
|
10489
|
+
__decorate$1([
|
|
10490
|
+
AsnProp({ context: 509, type: exports.AsnPropTypes.Null, optional: true })
|
|
10491
|
+
], AuthorizationList.prototype, "unlockedDeviceRequired", void 0);
|
|
10492
|
+
__decorate$1([
|
|
10493
|
+
AsnProp({ context: 600, type: exports.AsnPropTypes.Null, optional: true })
|
|
10494
|
+
], AuthorizationList.prototype, "allApplications", void 0);
|
|
10495
|
+
__decorate$1([
|
|
10496
|
+
AsnProp({ context: 601, type: OctetString, optional: true })
|
|
10497
|
+
], AuthorizationList.prototype, "applicationId", void 0);
|
|
10498
|
+
__decorate$1([
|
|
10499
|
+
AsnProp({ context: 701, type: exports.AsnPropTypes.Integer, optional: true })
|
|
10500
|
+
], AuthorizationList.prototype, "creationDateTime", void 0);
|
|
10501
|
+
__decorate$1([
|
|
10502
|
+
AsnProp({ context: 702, type: exports.AsnPropTypes.Integer, optional: true })
|
|
10503
|
+
], AuthorizationList.prototype, "origin", void 0);
|
|
10504
|
+
__decorate$1([
|
|
10505
|
+
AsnProp({ context: 703, type: exports.AsnPropTypes.Null, optional: true })
|
|
10506
|
+
], AuthorizationList.prototype, "rollbackResistant", void 0);
|
|
10507
|
+
__decorate$1([
|
|
10508
|
+
AsnProp({ context: 704, type: RootOfTrust, optional: true })
|
|
10509
|
+
], AuthorizationList.prototype, "rootOfTrust", void 0);
|
|
10510
|
+
__decorate$1([
|
|
10511
|
+
AsnProp({ context: 705, type: exports.AsnPropTypes.Integer, optional: true })
|
|
10512
|
+
], AuthorizationList.prototype, "osVersion", void 0);
|
|
10513
|
+
__decorate$1([
|
|
10514
|
+
AsnProp({ context: 706, type: exports.AsnPropTypes.Integer, optional: true })
|
|
10515
|
+
], AuthorizationList.prototype, "osPatchLevel", void 0);
|
|
10516
|
+
__decorate$1([
|
|
10517
|
+
AsnProp({ context: 709, type: OctetString, optional: true })
|
|
10518
|
+
], AuthorizationList.prototype, "attestationApplicationId", void 0);
|
|
10519
|
+
__decorate$1([
|
|
10520
|
+
AsnProp({ context: 710, type: OctetString, optional: true })
|
|
10521
|
+
], AuthorizationList.prototype, "attestationIdBrand", void 0);
|
|
10522
|
+
__decorate$1([
|
|
10523
|
+
AsnProp({ context: 711, type: OctetString, optional: true })
|
|
10524
|
+
], AuthorizationList.prototype, "attestationIdDevice", void 0);
|
|
10525
|
+
__decorate$1([
|
|
10526
|
+
AsnProp({ context: 712, type: OctetString, optional: true })
|
|
10527
|
+
], AuthorizationList.prototype, "attestationIdProduct", void 0);
|
|
10528
|
+
__decorate$1([
|
|
10529
|
+
AsnProp({ context: 713, type: OctetString, optional: true })
|
|
10530
|
+
], AuthorizationList.prototype, "attestationIdSerial", void 0);
|
|
10531
|
+
__decorate$1([
|
|
10532
|
+
AsnProp({ context: 714, type: OctetString, optional: true })
|
|
10533
|
+
], AuthorizationList.prototype, "attestationIdImei", void 0);
|
|
10534
|
+
__decorate$1([
|
|
10535
|
+
AsnProp({ context: 715, type: OctetString, optional: true })
|
|
10536
|
+
], AuthorizationList.prototype, "attestationIdMeid", void 0);
|
|
10537
|
+
__decorate$1([
|
|
10538
|
+
AsnProp({ context: 716, type: OctetString, optional: true })
|
|
10539
|
+
], AuthorizationList.prototype, "attestationIdManufacturer", void 0);
|
|
10540
|
+
__decorate$1([
|
|
10541
|
+
AsnProp({ context: 717, type: OctetString, optional: true })
|
|
10542
|
+
], AuthorizationList.prototype, "attestationIdModel", void 0);
|
|
10543
|
+
__decorate$1([
|
|
10544
|
+
AsnProp({ context: 718, type: exports.AsnPropTypes.Integer, optional: true })
|
|
10545
|
+
], AuthorizationList.prototype, "vendorPatchLevel", void 0);
|
|
10546
|
+
__decorate$1([
|
|
10547
|
+
AsnProp({ context: 719, type: exports.AsnPropTypes.Integer, optional: true })
|
|
10548
|
+
], AuthorizationList.prototype, "bootPatchLevel", void 0);
|
|
10549
|
+
__decorate$1([
|
|
10550
|
+
AsnProp({ context: 720, type: exports.AsnPropTypes.Null, optional: true })
|
|
10551
|
+
], AuthorizationList.prototype, "deviceUniqueAttestation", void 0);
|
|
10552
|
+
var SecurityLevel;
|
|
10553
|
+
(function (SecurityLevel) {
|
|
10554
|
+
SecurityLevel[SecurityLevel["software"] = 0] = "software";
|
|
10555
|
+
SecurityLevel[SecurityLevel["trustedEnvironment"] = 1] = "trustedEnvironment";
|
|
10556
|
+
SecurityLevel[SecurityLevel["strongBox"] = 2] = "strongBox";
|
|
10557
|
+
})(SecurityLevel || (SecurityLevel = {}));
|
|
10558
|
+
var Version;
|
|
10559
|
+
(function (Version) {
|
|
10560
|
+
Version[Version["KM2"] = 1] = "KM2";
|
|
10561
|
+
Version[Version["KM3"] = 2] = "KM3";
|
|
10562
|
+
Version[Version["KM4"] = 3] = "KM4";
|
|
10563
|
+
Version[Version["KM4_1"] = 4] = "KM4_1";
|
|
10564
|
+
Version[Version["keyMint1"] = 100] = "keyMint1";
|
|
10565
|
+
Version[Version["keyMint2"] = 200] = "keyMint2";
|
|
10566
|
+
})(Version || (Version = {}));
|
|
10567
|
+
class KeyDescription {
|
|
10568
|
+
constructor(params = {}) {
|
|
10569
|
+
this.attestationVersion = Version.KM4;
|
|
10570
|
+
this.attestationSecurityLevel = SecurityLevel.software;
|
|
10571
|
+
this.keymasterVersion = 0;
|
|
10572
|
+
this.keymasterSecurityLevel = SecurityLevel.software;
|
|
10573
|
+
this.attestationChallenge = new OctetString();
|
|
10574
|
+
this.uniqueId = new OctetString();
|
|
10575
|
+
this.softwareEnforced = new AuthorizationList();
|
|
10576
|
+
this.teeEnforced = new AuthorizationList();
|
|
10577
|
+
Object.assign(this, params);
|
|
10578
|
+
}
|
|
10579
|
+
}
|
|
10580
|
+
__decorate$1([
|
|
10581
|
+
AsnProp({ type: exports.AsnPropTypes.Integer })
|
|
10582
|
+
], KeyDescription.prototype, "attestationVersion", void 0);
|
|
10583
|
+
__decorate$1([
|
|
10584
|
+
AsnProp({ type: exports.AsnPropTypes.Enumerated })
|
|
10585
|
+
], KeyDescription.prototype, "attestationSecurityLevel", void 0);
|
|
10586
|
+
__decorate$1([
|
|
10587
|
+
AsnProp({ type: exports.AsnPropTypes.Integer })
|
|
10588
|
+
], KeyDescription.prototype, "keymasterVersion", void 0);
|
|
10589
|
+
__decorate$1([
|
|
10590
|
+
AsnProp({ type: exports.AsnPropTypes.Enumerated })
|
|
10591
|
+
], KeyDescription.prototype, "keymasterSecurityLevel", void 0);
|
|
10592
|
+
__decorate$1([
|
|
10593
|
+
AsnProp({ type: OctetString })
|
|
10594
|
+
], KeyDescription.prototype, "attestationChallenge", void 0);
|
|
10595
|
+
__decorate$1([
|
|
10596
|
+
AsnProp({ type: OctetString })
|
|
10597
|
+
], KeyDescription.prototype, "uniqueId", void 0);
|
|
10598
|
+
__decorate$1([
|
|
10599
|
+
AsnProp({ type: AuthorizationList })
|
|
10600
|
+
], KeyDescription.prototype, "softwareEnforced", void 0);
|
|
10601
|
+
__decorate$1([
|
|
10602
|
+
AsnProp({ type: AuthorizationList })
|
|
10603
|
+
], KeyDescription.prototype, "teeEnforced", void 0);
|
|
10604
|
+
|
|
10605
|
+
var NonStandardAuthorizationList_1;
|
|
10606
|
+
let NonStandardAuthorization = class NonStandardAuthorization extends AuthorizationList {
|
|
10607
|
+
};
|
|
10608
|
+
NonStandardAuthorization = __decorate$1([
|
|
10609
|
+
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
10610
|
+
], NonStandardAuthorization);
|
|
10611
|
+
let NonStandardAuthorizationList = NonStandardAuthorizationList_1 = class NonStandardAuthorizationList extends AsnArray {
|
|
10612
|
+
constructor(items) {
|
|
10613
|
+
super(items);
|
|
10614
|
+
Object.setPrototypeOf(this, NonStandardAuthorizationList_1.prototype);
|
|
10615
|
+
}
|
|
10616
|
+
findProperty(key) {
|
|
10617
|
+
const prop = this.find((o => key in o));
|
|
10618
|
+
if (prop) {
|
|
10619
|
+
return prop[key];
|
|
10620
|
+
}
|
|
10621
|
+
return undefined;
|
|
10622
|
+
}
|
|
10623
|
+
};
|
|
10624
|
+
NonStandardAuthorizationList = NonStandardAuthorizationList_1 = __decorate$1([
|
|
10625
|
+
AsnType({ type: exports.AsnTypeTypes.Sequence, itemType: NonStandardAuthorization })
|
|
10626
|
+
], NonStandardAuthorizationList);
|
|
10627
|
+
class NonStandardKeyDescription {
|
|
10628
|
+
constructor(params = {}) {
|
|
10629
|
+
this.attestationVersion = Version.KM4;
|
|
10630
|
+
this.attestationSecurityLevel = SecurityLevel.software;
|
|
10631
|
+
this.keymasterVersion = 0;
|
|
10632
|
+
this.keymasterSecurityLevel = SecurityLevel.software;
|
|
10633
|
+
this.attestationChallenge = new OctetString();
|
|
10634
|
+
this.uniqueId = new OctetString();
|
|
10635
|
+
this.softwareEnforced = new NonStandardAuthorizationList();
|
|
10636
|
+
this.teeEnforced = new NonStandardAuthorizationList();
|
|
10637
|
+
Object.assign(this, params);
|
|
10638
|
+
}
|
|
10639
|
+
}
|
|
10640
|
+
__decorate$1([
|
|
10641
|
+
AsnProp({ type: exports.AsnPropTypes.Integer })
|
|
10642
|
+
], NonStandardKeyDescription.prototype, "attestationVersion", void 0);
|
|
10643
|
+
__decorate$1([
|
|
10644
|
+
AsnProp({ type: exports.AsnPropTypes.Enumerated })
|
|
10645
|
+
], NonStandardKeyDescription.prototype, "attestationSecurityLevel", void 0);
|
|
10646
|
+
__decorate$1([
|
|
10647
|
+
AsnProp({ type: exports.AsnPropTypes.Integer })
|
|
10648
|
+
], NonStandardKeyDescription.prototype, "keymasterVersion", void 0);
|
|
10649
|
+
__decorate$1([
|
|
10650
|
+
AsnProp({ type: exports.AsnPropTypes.Enumerated })
|
|
10651
|
+
], NonStandardKeyDescription.prototype, "keymasterSecurityLevel", void 0);
|
|
10652
|
+
__decorate$1([
|
|
10653
|
+
AsnProp({ type: OctetString })
|
|
10654
|
+
], NonStandardKeyDescription.prototype, "attestationChallenge", void 0);
|
|
10655
|
+
__decorate$1([
|
|
10656
|
+
AsnProp({ type: OctetString })
|
|
10657
|
+
], NonStandardKeyDescription.prototype, "uniqueId", void 0);
|
|
10658
|
+
__decorate$1([
|
|
10659
|
+
AsnProp({ type: NonStandardAuthorizationList })
|
|
10660
|
+
], NonStandardKeyDescription.prototype, "softwareEnforced", void 0);
|
|
10661
|
+
__decorate$1([
|
|
10662
|
+
AsnProp({ type: NonStandardAuthorizationList })
|
|
10663
|
+
], NonStandardKeyDescription.prototype, "teeEnforced", void 0);
|
|
10664
|
+
|
|
10665
|
+
class AttestationPackageInfo {
|
|
10666
|
+
constructor(params = {}) {
|
|
10667
|
+
Object.assign(this, params);
|
|
10668
|
+
}
|
|
10669
|
+
}
|
|
10670
|
+
__decorate$1([
|
|
10671
|
+
AsnProp({ type: exports.AsnPropTypes.OctetString })
|
|
10672
|
+
], AttestationPackageInfo.prototype, "packageName", void 0);
|
|
10673
|
+
__decorate$1([
|
|
10674
|
+
AsnProp({ type: exports.AsnPropTypes.Integer })
|
|
10675
|
+
], AttestationPackageInfo.prototype, "version", void 0);
|
|
10676
|
+
class AttestationApplicationId {
|
|
10677
|
+
constructor(params = {}) {
|
|
10678
|
+
Object.assign(this, params);
|
|
10679
|
+
}
|
|
10680
|
+
}
|
|
10681
|
+
__decorate$1([
|
|
10682
|
+
AsnProp({ type: AttestationPackageInfo, repeated: "set" })
|
|
10683
|
+
], AttestationApplicationId.prototype, "packageInfos", void 0);
|
|
10684
|
+
__decorate$1([
|
|
10685
|
+
AsnProp({ type: exports.AsnPropTypes.OctetString, repeated: "set" })
|
|
10686
|
+
], AttestationApplicationId.prototype, "signatureDigests", void 0);
|
|
10687
|
+
|
|
10688
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
10689
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10690
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10691
|
+
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;
|
|
10692
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
10693
|
+
};
|
|
10694
|
+
/**
|
|
10695
|
+
* Extension OID for CABF organization identifier.
|
|
10696
|
+
*/
|
|
10697
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
10698
|
+
const id_cabforganizationIdentifier = '2.23.140.3.1';
|
|
10699
|
+
/**
|
|
10700
|
+
* Implements ASN.1 enumeration for CABF organization identifier.
|
|
10701
|
+
*
|
|
10702
|
+
* ```asn
|
|
10703
|
+
* CABFOrganizationIdentifier ::= SEQUENCE {
|
|
10704
|
+
* registrationSchemeIdentifier PrintableString (SIZE(3)),
|
|
10705
|
+
* registrationCountry PrintableString (SIZE(2)),
|
|
10706
|
+
* registrationStateOrProvince [0] IMPLICIT PrintableString OPTIONAL (SIZE(0..128)),
|
|
10707
|
+
* registrationReference UTF8String
|
|
10708
|
+
* }
|
|
10709
|
+
* ```
|
|
10710
|
+
*/
|
|
10711
|
+
class CabforganizationIdentifier {
|
|
10712
|
+
constructor(params = {}) {
|
|
10713
|
+
Object.assign(this, params);
|
|
10714
|
+
}
|
|
10715
|
+
}
|
|
10716
|
+
__decorate([
|
|
10717
|
+
AsnProp({ type: exports.AsnPropTypes.PrintableString })
|
|
10718
|
+
], CabforganizationIdentifier.prototype, "registrationSchemeIdentifier", void 0);
|
|
10719
|
+
__decorate([
|
|
10720
|
+
AsnProp({ type: exports.AsnPropTypes.PrintableString })
|
|
10721
|
+
], CabforganizationIdentifier.prototype, "registrationCountry", void 0);
|
|
10722
|
+
__decorate([
|
|
10723
|
+
AsnProp({ type: exports.AsnPropTypes.PrintableString, optional: true })
|
|
10724
|
+
], CabforganizationIdentifier.prototype, "registrationStateOrProvince", void 0);
|
|
10725
|
+
__decorate([
|
|
10726
|
+
AsnProp({ type: exports.AsnPropTypes.Utf8String })
|
|
10727
|
+
], CabforganizationIdentifier.prototype, "registrationReference", void 0);
|
|
10728
|
+
|
|
10346
10729
|
/**
|
|
10347
10730
|
* @license
|
|
10348
10731
|
* Copyright (c) Peculiar Ventures, LLC.
|
|
@@ -10375,7 +10758,7 @@ class AsnData {
|
|
|
10375
10758
|
else {
|
|
10376
10759
|
// raw, type
|
|
10377
10760
|
__classPrivateFieldSet(this, _AsnData_asn, AsnConvert.parse(args[0], args[1]), "f");
|
|
10378
|
-
__classPrivateFieldSet(this, _AsnData_raw, download$1.
|
|
10761
|
+
__classPrivateFieldSet(this, _AsnData_raw, download$1.BufferSourceConverter_1.toArrayBuffer(args[0]), "f");
|
|
10379
10762
|
}
|
|
10380
10763
|
}
|
|
10381
10764
|
get asn() {
|
|
@@ -10519,14 +10902,20 @@ class Extension extends AsnData {
|
|
|
10519
10902
|
case id_ce_deltaCRLIndicator:
|
|
10520
10903
|
this.value = AsnParser.parse(asnExtnValue, BaseCRLNumber);
|
|
10521
10904
|
break;
|
|
10905
|
+
case id_ce_keyDescription:
|
|
10906
|
+
this.value = AsnParser.parse(asnExtnValue, NonStandardKeyDescription);
|
|
10907
|
+
break;
|
|
10908
|
+
case id_cabforganizationIdentifier:
|
|
10909
|
+
this.value = AsnParser.parse(asnExtnValue, CabforganizationIdentifier);
|
|
10910
|
+
break;
|
|
10522
10911
|
default:
|
|
10523
10912
|
console.warn(`Didn't detect parser for "${this.asn.extnID}" extension.`);
|
|
10524
|
-
this.value = download$1.
|
|
10913
|
+
this.value = download$1.Convert_1.ToHex(asnExtnValue);
|
|
10525
10914
|
}
|
|
10526
10915
|
}
|
|
10527
10916
|
catch (error) {
|
|
10528
10917
|
console.error(`Error parse "${this.asn.extnID}" extension:`, error.message);
|
|
10529
|
-
this.value = download$1.
|
|
10918
|
+
this.value = download$1.Convert_1.ToHex(asnExtnValue);
|
|
10530
10919
|
}
|
|
10531
10920
|
}
|
|
10532
10921
|
}
|
|
@@ -10588,13 +10977,13 @@ const certificateRawToBuffer = (raw) => {
|
|
|
10588
10977
|
const rawClarified = base64Clarify(raw);
|
|
10589
10978
|
let buffer;
|
|
10590
10979
|
if (isHex(rawClarified)) {
|
|
10591
|
-
buffer = download$1.
|
|
10980
|
+
buffer = download$1.Convert_1.FromHex(rawClarified);
|
|
10592
10981
|
}
|
|
10593
10982
|
else if (isBase64(rawClarified) || isPem(rawClarified)) {
|
|
10594
|
-
buffer = download$1.
|
|
10983
|
+
buffer = download$1.Convert_1.FromBase64(rawClarified);
|
|
10595
10984
|
}
|
|
10596
10985
|
else {
|
|
10597
|
-
buffer = download$1.
|
|
10986
|
+
buffer = download$1.Convert_1.FromBinary(raw);
|
|
10598
10987
|
}
|
|
10599
10988
|
return buffer;
|
|
10600
10989
|
};
|
|
@@ -10614,13 +11003,13 @@ class ACClearAttrs {
|
|
|
10614
11003
|
Object.assign(this, params);
|
|
10615
11004
|
}
|
|
10616
11005
|
}
|
|
10617
|
-
__decorate([
|
|
11006
|
+
__decorate$1([
|
|
10618
11007
|
AsnProp({ type: GeneralName })
|
|
10619
11008
|
], ACClearAttrs.prototype, "acIssuer", void 0);
|
|
10620
|
-
__decorate([
|
|
11009
|
+
__decorate$1([
|
|
10621
11010
|
AsnProp({ type: exports.AsnPropTypes.Integer })
|
|
10622
11011
|
], ACClearAttrs.prototype, "acSerial", void 0);
|
|
10623
|
-
__decorate([
|
|
11012
|
+
__decorate$1([
|
|
10624
11013
|
AsnProp({ type: Attribute$1, repeated: "sequence" })
|
|
10625
11014
|
], ACClearAttrs.prototype, "attrs", void 0);
|
|
10626
11015
|
|
|
@@ -10631,7 +11020,7 @@ let AttrSpec = AttrSpec_1 = class AttrSpec extends AsnArray {
|
|
|
10631
11020
|
Object.setPrototypeOf(this, AttrSpec_1.prototype);
|
|
10632
11021
|
}
|
|
10633
11022
|
};
|
|
10634
|
-
AttrSpec = AttrSpec_1 = __decorate([
|
|
11023
|
+
AttrSpec = AttrSpec_1 = __decorate$1([
|
|
10635
11024
|
AsnType({ type: exports.AsnTypeTypes.Sequence, itemType: exports.AsnPropTypes.ObjectIdentifier })
|
|
10636
11025
|
], AttrSpec);
|
|
10637
11026
|
|
|
@@ -10641,16 +11030,16 @@ class AAControls {
|
|
|
10641
11030
|
Object.assign(this, params);
|
|
10642
11031
|
}
|
|
10643
11032
|
}
|
|
10644
|
-
__decorate([
|
|
11033
|
+
__decorate$1([
|
|
10645
11034
|
AsnProp({ type: exports.AsnPropTypes.Integer, optional: true })
|
|
10646
11035
|
], AAControls.prototype, "pathLenConstraint", void 0);
|
|
10647
|
-
__decorate([
|
|
11036
|
+
__decorate$1([
|
|
10648
11037
|
AsnProp({ type: AttrSpec, implicit: true, context: 0, optional: true })
|
|
10649
11038
|
], AAControls.prototype, "permittedAttrs", void 0);
|
|
10650
|
-
__decorate([
|
|
11039
|
+
__decorate$1([
|
|
10651
11040
|
AsnProp({ type: AttrSpec, implicit: true, context: 1, optional: true })
|
|
10652
11041
|
], AAControls.prototype, "excludedAttrs", void 0);
|
|
10653
|
-
__decorate([
|
|
11042
|
+
__decorate$1([
|
|
10654
11043
|
AsnProp({ type: exports.AsnPropTypes.Boolean, defaultValue: true })
|
|
10655
11044
|
], AAControls.prototype, "permitUnSpecified", void 0);
|
|
10656
11045
|
|
|
@@ -10662,13 +11051,13 @@ class IssuerSerial {
|
|
|
10662
11051
|
Object.assign(this, params);
|
|
10663
11052
|
}
|
|
10664
11053
|
}
|
|
10665
|
-
__decorate([
|
|
11054
|
+
__decorate$1([
|
|
10666
11055
|
AsnProp({ type: GeneralNames })
|
|
10667
11056
|
], IssuerSerial.prototype, "issuer", void 0);
|
|
10668
|
-
__decorate([
|
|
11057
|
+
__decorate$1([
|
|
10669
11058
|
AsnProp({ type: exports.AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
|
|
10670
11059
|
], IssuerSerial.prototype, "serial", void 0);
|
|
10671
|
-
__decorate([
|
|
11060
|
+
__decorate$1([
|
|
10672
11061
|
AsnProp({ type: exports.AsnPropTypes.BitString, optional: true })
|
|
10673
11062
|
], IssuerSerial.prototype, "issuerUID", void 0);
|
|
10674
11063
|
|
|
@@ -10686,16 +11075,16 @@ class ObjectDigestInfo {
|
|
|
10686
11075
|
Object.assign(this, params);
|
|
10687
11076
|
}
|
|
10688
11077
|
}
|
|
10689
|
-
__decorate([
|
|
11078
|
+
__decorate$1([
|
|
10690
11079
|
AsnProp({ type: exports.AsnPropTypes.Enumerated })
|
|
10691
11080
|
], ObjectDigestInfo.prototype, "digestedObjectType", void 0);
|
|
10692
|
-
__decorate([
|
|
11081
|
+
__decorate$1([
|
|
10693
11082
|
AsnProp({ type: exports.AsnPropTypes.ObjectIdentifier, optional: true })
|
|
10694
11083
|
], ObjectDigestInfo.prototype, "otherObjectTypeID", void 0);
|
|
10695
|
-
__decorate([
|
|
11084
|
+
__decorate$1([
|
|
10696
11085
|
AsnProp({ type: AlgorithmIdentifier })
|
|
10697
11086
|
], ObjectDigestInfo.prototype, "digestAlgorithm", void 0);
|
|
10698
|
-
__decorate([
|
|
11087
|
+
__decorate$1([
|
|
10699
11088
|
AsnProp({ type: exports.AsnPropTypes.BitString })
|
|
10700
11089
|
], ObjectDigestInfo.prototype, "objectDigest", void 0);
|
|
10701
11090
|
|
|
@@ -10704,13 +11093,13 @@ class V2Form {
|
|
|
10704
11093
|
Object.assign(this, params);
|
|
10705
11094
|
}
|
|
10706
11095
|
}
|
|
10707
|
-
__decorate([
|
|
11096
|
+
__decorate$1([
|
|
10708
11097
|
AsnProp({ type: GeneralNames, optional: true })
|
|
10709
11098
|
], V2Form.prototype, "issuerName", void 0);
|
|
10710
|
-
__decorate([
|
|
11099
|
+
__decorate$1([
|
|
10711
11100
|
AsnProp({ type: IssuerSerial, context: 0, implicit: true, optional: true })
|
|
10712
11101
|
], V2Form.prototype, "baseCertificateID", void 0);
|
|
10713
|
-
__decorate([
|
|
11102
|
+
__decorate$1([
|
|
10714
11103
|
AsnProp({ type: ObjectDigestInfo, context: 1, implicit: true, optional: true })
|
|
10715
11104
|
], V2Form.prototype, "objectDigestInfo", void 0);
|
|
10716
11105
|
|
|
@@ -10719,13 +11108,13 @@ let AttCertIssuer = class AttCertIssuer {
|
|
|
10719
11108
|
Object.assign(this, params);
|
|
10720
11109
|
}
|
|
10721
11110
|
};
|
|
10722
|
-
__decorate([
|
|
11111
|
+
__decorate$1([
|
|
10723
11112
|
AsnProp({ type: GeneralName, repeated: "sequence" })
|
|
10724
11113
|
], AttCertIssuer.prototype, "v1Form", void 0);
|
|
10725
|
-
__decorate([
|
|
11114
|
+
__decorate$1([
|
|
10726
11115
|
AsnProp({ type: V2Form, context: 0, implicit: true })
|
|
10727
11116
|
], AttCertIssuer.prototype, "v2Form", void 0);
|
|
10728
|
-
AttCertIssuer = __decorate([
|
|
11117
|
+
AttCertIssuer = __decorate$1([
|
|
10729
11118
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
10730
11119
|
], AttCertIssuer);
|
|
10731
11120
|
|
|
@@ -10736,10 +11125,10 @@ class AttCertValidityPeriod {
|
|
|
10736
11125
|
Object.assign(this, params);
|
|
10737
11126
|
}
|
|
10738
11127
|
}
|
|
10739
|
-
__decorate([
|
|
11128
|
+
__decorate$1([
|
|
10740
11129
|
AsnProp({ type: exports.AsnPropTypes.GeneralizedTime })
|
|
10741
11130
|
], AttCertValidityPeriod.prototype, "notBeforeTime", void 0);
|
|
10742
|
-
__decorate([
|
|
11131
|
+
__decorate$1([
|
|
10743
11132
|
AsnProp({ type: exports.AsnPropTypes.GeneralizedTime })
|
|
10744
11133
|
], AttCertValidityPeriod.prototype, "notAfterTime", void 0);
|
|
10745
11134
|
|
|
@@ -10748,13 +11137,13 @@ class Holder {
|
|
|
10748
11137
|
Object.assign(this, params);
|
|
10749
11138
|
}
|
|
10750
11139
|
}
|
|
10751
|
-
__decorate([
|
|
11140
|
+
__decorate$1([
|
|
10752
11141
|
AsnProp({ type: IssuerSerial, implicit: true, context: 0, optional: true })
|
|
10753
11142
|
], Holder.prototype, "baseCertificateID", void 0);
|
|
10754
|
-
__decorate([
|
|
11143
|
+
__decorate$1([
|
|
10755
11144
|
AsnProp({ type: GeneralNames, implicit: true, context: 1, optional: true })
|
|
10756
11145
|
], Holder.prototype, "entityName", void 0);
|
|
10757
|
-
__decorate([
|
|
11146
|
+
__decorate$1([
|
|
10758
11147
|
AsnProp({ type: ObjectDigestInfo, implicit: true, context: 2, optional: true })
|
|
10759
11148
|
], Holder.prototype, "objectDigestInfo", void 0);
|
|
10760
11149
|
|
|
@@ -10774,31 +11163,31 @@ class AttributeCertificateInfo {
|
|
|
10774
11163
|
Object.assign(this, params);
|
|
10775
11164
|
}
|
|
10776
11165
|
}
|
|
10777
|
-
__decorate([
|
|
11166
|
+
__decorate$1([
|
|
10778
11167
|
AsnProp({ type: exports.AsnPropTypes.Integer })
|
|
10779
11168
|
], AttributeCertificateInfo.prototype, "version", void 0);
|
|
10780
|
-
__decorate([
|
|
11169
|
+
__decorate$1([
|
|
10781
11170
|
AsnProp({ type: Holder })
|
|
10782
11171
|
], AttributeCertificateInfo.prototype, "holder", void 0);
|
|
10783
|
-
__decorate([
|
|
11172
|
+
__decorate$1([
|
|
10784
11173
|
AsnProp({ type: AttCertIssuer })
|
|
10785
11174
|
], AttributeCertificateInfo.prototype, "issuer", void 0);
|
|
10786
|
-
__decorate([
|
|
11175
|
+
__decorate$1([
|
|
10787
11176
|
AsnProp({ type: AlgorithmIdentifier })
|
|
10788
11177
|
], AttributeCertificateInfo.prototype, "signature", void 0);
|
|
10789
|
-
__decorate([
|
|
11178
|
+
__decorate$1([
|
|
10790
11179
|
AsnProp({ type: exports.AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
|
|
10791
11180
|
], AttributeCertificateInfo.prototype, "serialNumber", void 0);
|
|
10792
|
-
__decorate([
|
|
11181
|
+
__decorate$1([
|
|
10793
11182
|
AsnProp({ type: AttCertValidityPeriod })
|
|
10794
11183
|
], AttributeCertificateInfo.prototype, "attrCertValidityPeriod", void 0);
|
|
10795
|
-
__decorate([
|
|
11184
|
+
__decorate$1([
|
|
10796
11185
|
AsnProp({ type: Attribute$1, repeated: "sequence" })
|
|
10797
11186
|
], AttributeCertificateInfo.prototype, "attributes", void 0);
|
|
10798
|
-
__decorate([
|
|
11187
|
+
__decorate$1([
|
|
10799
11188
|
AsnProp({ type: exports.AsnPropTypes.BitString, optional: true })
|
|
10800
11189
|
], AttributeCertificateInfo.prototype, "issuerUniqueID", void 0);
|
|
10801
|
-
__decorate([
|
|
11190
|
+
__decorate$1([
|
|
10802
11191
|
AsnProp({ type: Extensions, optional: true })
|
|
10803
11192
|
], AttributeCertificateInfo.prototype, "extensions", void 0);
|
|
10804
11193
|
|
|
@@ -10810,13 +11199,13 @@ class AttributeCertificate {
|
|
|
10810
11199
|
Object.assign(this, params);
|
|
10811
11200
|
}
|
|
10812
11201
|
}
|
|
10813
|
-
__decorate([
|
|
11202
|
+
__decorate$1([
|
|
10814
11203
|
AsnProp({ type: AttributeCertificateInfo })
|
|
10815
11204
|
], AttributeCertificate.prototype, "acinfo", void 0);
|
|
10816
|
-
__decorate([
|
|
11205
|
+
__decorate$1([
|
|
10817
11206
|
AsnProp({ type: AlgorithmIdentifier })
|
|
10818
11207
|
], AttributeCertificate.prototype, "signatureAlgorithm", void 0);
|
|
10819
|
-
__decorate([
|
|
11208
|
+
__decorate$1([
|
|
10820
11209
|
AsnProp({ type: exports.AsnPropTypes.BitString })
|
|
10821
11210
|
], AttributeCertificate.prototype, "signatureValue", void 0);
|
|
10822
11211
|
|
|
@@ -10839,10 +11228,10 @@ class SecurityCategory {
|
|
|
10839
11228
|
Object.assign(this, params);
|
|
10840
11229
|
}
|
|
10841
11230
|
}
|
|
10842
|
-
__decorate([
|
|
11231
|
+
__decorate$1([
|
|
10843
11232
|
AsnProp({ type: exports.AsnPropTypes.ObjectIdentifier, implicit: true, context: 0 })
|
|
10844
11233
|
], SecurityCategory.prototype, "type", void 0);
|
|
10845
|
-
__decorate([
|
|
11234
|
+
__decorate$1([
|
|
10846
11235
|
AsnProp({ type: exports.AsnPropTypes.Any, implicit: true, context: 1 })
|
|
10847
11236
|
], SecurityCategory.prototype, "value", void 0);
|
|
10848
11237
|
|
|
@@ -10853,13 +11242,13 @@ class Clearance {
|
|
|
10853
11242
|
Object.assign(this, params);
|
|
10854
11243
|
}
|
|
10855
11244
|
}
|
|
10856
|
-
__decorate([
|
|
11245
|
+
__decorate$1([
|
|
10857
11246
|
AsnProp({ type: exports.AsnPropTypes.ObjectIdentifier })
|
|
10858
11247
|
], Clearance.prototype, "policyId", void 0);
|
|
10859
|
-
__decorate([
|
|
11248
|
+
__decorate$1([
|
|
10860
11249
|
AsnProp({ type: ClassList, defaultValue: new ClassList(ClassListFlags.unclassified) })
|
|
10861
11250
|
], Clearance.prototype, "classList", void 0);
|
|
10862
|
-
__decorate([
|
|
11251
|
+
__decorate$1([
|
|
10863
11252
|
AsnProp({ type: SecurityCategory, repeated: "set" })
|
|
10864
11253
|
], Clearance.prototype, "securityCategories", void 0);
|
|
10865
11254
|
|
|
@@ -10868,13 +11257,13 @@ class IetfAttrSyntaxValueChoices {
|
|
|
10868
11257
|
Object.assign(this, params);
|
|
10869
11258
|
}
|
|
10870
11259
|
}
|
|
10871
|
-
__decorate([
|
|
11260
|
+
__decorate$1([
|
|
10872
11261
|
AsnProp({ type: OctetString })
|
|
10873
11262
|
], IetfAttrSyntaxValueChoices.prototype, "cotets", void 0);
|
|
10874
|
-
__decorate([
|
|
11263
|
+
__decorate$1([
|
|
10875
11264
|
AsnProp({ type: exports.AsnPropTypes.ObjectIdentifier })
|
|
10876
11265
|
], IetfAttrSyntaxValueChoices.prototype, "oid", void 0);
|
|
10877
|
-
__decorate([
|
|
11266
|
+
__decorate$1([
|
|
10878
11267
|
AsnProp({ type: exports.AsnPropTypes.Utf8String })
|
|
10879
11268
|
], IetfAttrSyntaxValueChoices.prototype, "string", void 0);
|
|
10880
11269
|
class IetfAttrSyntax {
|
|
@@ -10883,10 +11272,10 @@ class IetfAttrSyntax {
|
|
|
10883
11272
|
Object.assign(this, params);
|
|
10884
11273
|
}
|
|
10885
11274
|
}
|
|
10886
|
-
__decorate([
|
|
11275
|
+
__decorate$1([
|
|
10887
11276
|
AsnProp({ type: GeneralNames, implicit: true, context: 0, optional: true })
|
|
10888
11277
|
], IetfAttrSyntax.prototype, "policyAuthority", void 0);
|
|
10889
|
-
__decorate([
|
|
11278
|
+
__decorate$1([
|
|
10890
11279
|
AsnProp({ type: IetfAttrSyntaxValueChoices, repeated: "sequence" })
|
|
10891
11280
|
], IetfAttrSyntax.prototype, "values", void 0);
|
|
10892
11281
|
|
|
@@ -10897,13 +11286,13 @@ class TargetCert {
|
|
|
10897
11286
|
Object.assign(this, params);
|
|
10898
11287
|
}
|
|
10899
11288
|
}
|
|
10900
|
-
__decorate([
|
|
11289
|
+
__decorate$1([
|
|
10901
11290
|
AsnProp({ type: IssuerSerial })
|
|
10902
11291
|
], TargetCert.prototype, "targetCertificate", void 0);
|
|
10903
|
-
__decorate([
|
|
11292
|
+
__decorate$1([
|
|
10904
11293
|
AsnProp({ type: GeneralName, optional: true })
|
|
10905
11294
|
], TargetCert.prototype, "targetName", void 0);
|
|
10906
|
-
__decorate([
|
|
11295
|
+
__decorate$1([
|
|
10907
11296
|
AsnProp({ type: ObjectDigestInfo, optional: true })
|
|
10908
11297
|
], TargetCert.prototype, "certDigestInfo", void 0);
|
|
10909
11298
|
let Target = class Target {
|
|
@@ -10911,16 +11300,16 @@ let Target = class Target {
|
|
|
10911
11300
|
Object.assign(this, params);
|
|
10912
11301
|
}
|
|
10913
11302
|
};
|
|
10914
|
-
__decorate([
|
|
11303
|
+
__decorate$1([
|
|
10915
11304
|
AsnProp({ type: GeneralName, context: 0, implicit: true })
|
|
10916
11305
|
], Target.prototype, "targetName", void 0);
|
|
10917
|
-
__decorate([
|
|
11306
|
+
__decorate$1([
|
|
10918
11307
|
AsnProp({ type: GeneralName, context: 1, implicit: true })
|
|
10919
11308
|
], Target.prototype, "targetGroup", void 0);
|
|
10920
|
-
__decorate([
|
|
11309
|
+
__decorate$1([
|
|
10921
11310
|
AsnProp({ type: TargetCert, context: 2, implicit: true })
|
|
10922
11311
|
], Target.prototype, "targetCert", void 0);
|
|
10923
|
-
Target = __decorate([
|
|
11312
|
+
Target = __decorate$1([
|
|
10924
11313
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
10925
11314
|
], Target);
|
|
10926
11315
|
let Targets = Targets_1 = class Targets extends AsnArray {
|
|
@@ -10929,7 +11318,7 @@ let Targets = Targets_1 = class Targets extends AsnArray {
|
|
|
10929
11318
|
Object.setPrototypeOf(this, Targets_1.prototype);
|
|
10930
11319
|
}
|
|
10931
11320
|
};
|
|
10932
|
-
Targets = Targets_1 = __decorate([
|
|
11321
|
+
Targets = Targets_1 = __decorate$1([
|
|
10933
11322
|
AsnType({ type: exports.AsnTypeTypes.Sequence, itemType: Target })
|
|
10934
11323
|
], Targets);
|
|
10935
11324
|
|
|
@@ -10940,7 +11329,7 @@ let ProxyInfo = ProxyInfo_1 = class ProxyInfo extends AsnArray {
|
|
|
10940
11329
|
Object.setPrototypeOf(this, ProxyInfo_1.prototype);
|
|
10941
11330
|
}
|
|
10942
11331
|
};
|
|
10943
|
-
ProxyInfo = ProxyInfo_1 = __decorate([
|
|
11332
|
+
ProxyInfo = ProxyInfo_1 = __decorate$1([
|
|
10944
11333
|
AsnType({ type: exports.AsnTypeTypes.Sequence, itemType: Targets })
|
|
10945
11334
|
], ProxyInfo);
|
|
10946
11335
|
|
|
@@ -10949,10 +11338,10 @@ class RoleSyntax {
|
|
|
10949
11338
|
Object.assign(this, params);
|
|
10950
11339
|
}
|
|
10951
11340
|
}
|
|
10952
|
-
__decorate([
|
|
11341
|
+
__decorate$1([
|
|
10953
11342
|
AsnProp({ type: GeneralNames, implicit: true, context: 0, optional: true })
|
|
10954
11343
|
], RoleSyntax.prototype, "roleAuthority", void 0);
|
|
10955
|
-
__decorate([
|
|
11344
|
+
__decorate$1([
|
|
10956
11345
|
AsnProp({ type: GeneralName, implicit: true, context: 1 })
|
|
10957
11346
|
], RoleSyntax.prototype, "roleName", void 0);
|
|
10958
11347
|
|
|
@@ -10963,13 +11352,13 @@ class SvceAuthInfo {
|
|
|
10963
11352
|
Object.assign(this, params);
|
|
10964
11353
|
}
|
|
10965
11354
|
}
|
|
10966
|
-
__decorate([
|
|
11355
|
+
__decorate$1([
|
|
10967
11356
|
AsnProp({ type: GeneralName })
|
|
10968
11357
|
], SvceAuthInfo.prototype, "service", void 0);
|
|
10969
|
-
__decorate([
|
|
11358
|
+
__decorate$1([
|
|
10970
11359
|
AsnProp({ type: GeneralName })
|
|
10971
11360
|
], SvceAuthInfo.prototype, "ident", void 0);
|
|
10972
|
-
__decorate([
|
|
11361
|
+
__decorate$1([
|
|
10973
11362
|
AsnProp({ type: OctetString, optional: true })
|
|
10974
11363
|
], SvceAuthInfo.prototype, "authInfo", void 0);
|
|
10975
11364
|
|
|
@@ -10985,19 +11374,19 @@ exports.ActivityDescription = class ActivityDescription {
|
|
|
10985
11374
|
Object.assign(this, params);
|
|
10986
11375
|
}
|
|
10987
11376
|
};
|
|
10988
|
-
__decorate([
|
|
11377
|
+
__decorate$1([
|
|
10989
11378
|
AsnProp({ type: GeneralName, context: 0 })
|
|
10990
11379
|
], exports.ActivityDescription.prototype, "codeAuthority", void 0);
|
|
10991
|
-
__decorate([
|
|
11380
|
+
__decorate$1([
|
|
10992
11381
|
AsnProp({ type: GeneralName, context: 1 })
|
|
10993
11382
|
], exports.ActivityDescription.prototype, "codeId", void 0);
|
|
10994
|
-
__decorate([
|
|
11383
|
+
__decorate$1([
|
|
10995
11384
|
AsnProp({ type: exports.AsnPropTypes.Utf8String, context: 2 })
|
|
10996
11385
|
], exports.ActivityDescription.prototype, "shortName", void 0);
|
|
10997
|
-
__decorate([
|
|
11386
|
+
__decorate$1([
|
|
10998
11387
|
AsnProp({ type: exports.AsnPropTypes.Utf8String, context: 3 })
|
|
10999
11388
|
], exports.ActivityDescription.prototype, "shortDescription", void 0);
|
|
11000
|
-
exports.ActivityDescription = __decorate([
|
|
11389
|
+
exports.ActivityDescription = __decorate$1([
|
|
11001
11390
|
AsnType({ type: exports.AsnTypeTypes.Sequence })
|
|
11002
11391
|
], exports.ActivityDescription);
|
|
11003
11392
|
|
|
@@ -11007,7 +11396,7 @@ let DomainName = class DomainName extends exports.Name$1 {
|
|
|
11007
11396
|
Object.setPrototypeOf(this, exports.Name$1.prototype);
|
|
11008
11397
|
}
|
|
11009
11398
|
};
|
|
11010
|
-
DomainName = __decorate([
|
|
11399
|
+
DomainName = __decorate$1([
|
|
11011
11400
|
AsnType({ type: exports.AsnTypeTypes.Sequence })
|
|
11012
11401
|
], DomainName);
|
|
11013
11402
|
|
|
@@ -11018,7 +11407,7 @@ exports.DomainNameBeneficiary = class DomainNameBeneficiary extends DomainName {
|
|
|
11018
11407
|
Object.setPrototypeOf(this, exports.Name$1.prototype);
|
|
11019
11408
|
}
|
|
11020
11409
|
};
|
|
11021
|
-
exports.DomainNameBeneficiary = __decorate([
|
|
11410
|
+
exports.DomainNameBeneficiary = __decorate$1([
|
|
11022
11411
|
AsnType({ type: exports.AsnTypeTypes.Sequence })
|
|
11023
11412
|
], exports.DomainNameBeneficiary);
|
|
11024
11413
|
|
|
@@ -11029,7 +11418,7 @@ exports.DomainNameLegalRepresentative = class DomainNameLegalRepresentative exte
|
|
|
11029
11418
|
Object.setPrototypeOf(this, exports.Name$1.prototype);
|
|
11030
11419
|
}
|
|
11031
11420
|
};
|
|
11032
|
-
exports.DomainNameLegalRepresentative = __decorate([
|
|
11421
|
+
exports.DomainNameLegalRepresentative = __decorate$1([
|
|
11033
11422
|
AsnType({ type: exports.AsnTypeTypes.Sequence })
|
|
11034
11423
|
], exports.DomainNameLegalRepresentative);
|
|
11035
11424
|
|
|
@@ -11040,7 +11429,7 @@ exports.DomainNameOwner = class DomainNameOwner extends DomainName {
|
|
|
11040
11429
|
Object.setPrototypeOf(this, exports.Name$1.prototype);
|
|
11041
11430
|
}
|
|
11042
11431
|
};
|
|
11043
|
-
exports.DomainNameOwner = __decorate([
|
|
11432
|
+
exports.DomainNameOwner = __decorate$1([
|
|
11044
11433
|
AsnType({ type: exports.AsnTypeTypes.Sequence })
|
|
11045
11434
|
], exports.DomainNameOwner);
|
|
11046
11435
|
|
|
@@ -11051,7 +11440,7 @@ exports.DomainNameTechnicalOperator = class DomainNameTechnicalOperator extends
|
|
|
11051
11440
|
Object.setPrototypeOf(this, exports.Name$1.prototype);
|
|
11052
11441
|
}
|
|
11053
11442
|
};
|
|
11054
|
-
exports.DomainNameTechnicalOperator = __decorate([
|
|
11443
|
+
exports.DomainNameTechnicalOperator = __decorate$1([
|
|
11055
11444
|
AsnType({ type: exports.AsnTypeTypes.Sequence })
|
|
11056
11445
|
], exports.DomainNameTechnicalOperator);
|
|
11057
11446
|
|
|
@@ -11067,16 +11456,16 @@ exports.InsuranceValue = class InsuranceValue {
|
|
|
11067
11456
|
return `${this.base} x 10^${this.degree} ${this.location}`;
|
|
11068
11457
|
}
|
|
11069
11458
|
};
|
|
11070
|
-
__decorate([
|
|
11459
|
+
__decorate$1([
|
|
11071
11460
|
AsnProp({ type: exports.AsnPropTypes.PrintableString })
|
|
11072
11461
|
], exports.InsuranceValue.prototype, "location", void 0);
|
|
11073
|
-
__decorate([
|
|
11462
|
+
__decorate$1([
|
|
11074
11463
|
AsnProp({ type: exports.AsnPropTypes.Integer })
|
|
11075
11464
|
], exports.InsuranceValue.prototype, "base", void 0);
|
|
11076
|
-
__decorate([
|
|
11465
|
+
__decorate$1([
|
|
11077
11466
|
AsnProp({ type: exports.AsnPropTypes.Integer })
|
|
11078
11467
|
], exports.InsuranceValue.prototype, "degree", void 0);
|
|
11079
|
-
exports.InsuranceValue = __decorate([
|
|
11468
|
+
exports.InsuranceValue = __decorate$1([
|
|
11080
11469
|
AsnType({ type: exports.AsnTypeTypes.Sequence })
|
|
11081
11470
|
], exports.InsuranceValue);
|
|
11082
11471
|
|
|
@@ -11091,22 +11480,22 @@ exports.ValuationRanking = class ValuationRanking {
|
|
|
11091
11480
|
Object.assign(this, params);
|
|
11092
11481
|
}
|
|
11093
11482
|
};
|
|
11094
|
-
__decorate([
|
|
11483
|
+
__decorate$1([
|
|
11095
11484
|
AsnProp({ type: exports.AsnPropTypes.Integer })
|
|
11096
11485
|
], exports.ValuationRanking.prototype, "stars5", void 0);
|
|
11097
|
-
__decorate([
|
|
11486
|
+
__decorate$1([
|
|
11098
11487
|
AsnProp({ type: exports.AsnPropTypes.Integer })
|
|
11099
11488
|
], exports.ValuationRanking.prototype, "stars4", void 0);
|
|
11100
|
-
__decorate([
|
|
11489
|
+
__decorate$1([
|
|
11101
11490
|
AsnProp({ type: exports.AsnPropTypes.Integer })
|
|
11102
11491
|
], exports.ValuationRanking.prototype, "stars3", void 0);
|
|
11103
|
-
__decorate([
|
|
11492
|
+
__decorate$1([
|
|
11104
11493
|
AsnProp({ type: exports.AsnPropTypes.Integer })
|
|
11105
11494
|
], exports.ValuationRanking.prototype, "stars2", void 0);
|
|
11106
|
-
__decorate([
|
|
11495
|
+
__decorate$1([
|
|
11107
11496
|
AsnProp({ type: exports.AsnPropTypes.Integer })
|
|
11108
11497
|
], exports.ValuationRanking.prototype, "stars1", void 0);
|
|
11109
|
-
exports.ValuationRanking = __decorate([
|
|
11498
|
+
exports.ValuationRanking = __decorate$1([
|
|
11110
11499
|
AsnType({ type: exports.AsnTypeTypes.Sequence })
|
|
11111
11500
|
], exports.ValuationRanking);
|
|
11112
11501
|
|
|
@@ -11119,16 +11508,16 @@ exports.TypeRelationship = class TypeRelationship {
|
|
|
11119
11508
|
Object.assign(this, params);
|
|
11120
11509
|
}
|
|
11121
11510
|
};
|
|
11122
|
-
__decorate([
|
|
11511
|
+
__decorate$1([
|
|
11123
11512
|
AsnProp({ type: BitString, context: 0 })
|
|
11124
11513
|
], exports.TypeRelationship.prototype, "DNBvsDNO", void 0);
|
|
11125
|
-
__decorate([
|
|
11514
|
+
__decorate$1([
|
|
11126
11515
|
AsnProp({ type: BitString, context: 1 })
|
|
11127
11516
|
], exports.TypeRelationship.prototype, "DNBvsDNT", void 0);
|
|
11128
|
-
__decorate([
|
|
11517
|
+
__decorate$1([
|
|
11129
11518
|
AsnProp({ type: BitString, context: 2 })
|
|
11130
11519
|
], exports.TypeRelationship.prototype, "DNOvsDNT", void 0);
|
|
11131
|
-
exports.TypeRelationship = __decorate([
|
|
11520
|
+
exports.TypeRelationship = __decorate$1([
|
|
11132
11521
|
AsnType({ type: exports.AsnTypeTypes.Sequence })
|
|
11133
11522
|
], exports.TypeRelationship);
|
|
11134
11523
|
|
|
@@ -11143,77 +11532,199 @@ exports.WebGDPR = class WebGDPR {
|
|
|
11143
11532
|
Object.assign(this, params);
|
|
11144
11533
|
}
|
|
11145
11534
|
};
|
|
11146
|
-
__decorate([
|
|
11535
|
+
__decorate$1([
|
|
11147
11536
|
AsnProp({ type: GeneralName, context: 0 })
|
|
11148
11537
|
], exports.WebGDPR.prototype, "assessmentAuthority", void 0);
|
|
11149
|
-
__decorate([
|
|
11538
|
+
__decorate$1([
|
|
11150
11539
|
AsnProp({ type: GeneralName, context: 1 })
|
|
11151
11540
|
], exports.WebGDPR.prototype, "assessmentRef", void 0);
|
|
11152
|
-
__decorate([
|
|
11541
|
+
__decorate$1([
|
|
11153
11542
|
AsnProp({ type: GeneralName, context: 2 })
|
|
11154
11543
|
], exports.WebGDPR.prototype, "assessmentLocation", void 0);
|
|
11155
|
-
__decorate([
|
|
11544
|
+
__decorate$1([
|
|
11156
11545
|
AsnProp({ type: exports.AsnPropTypes.PrintableString, context: 3 })
|
|
11157
11546
|
], exports.WebGDPR.prototype, "dataStorageTerritory", void 0);
|
|
11158
|
-
__decorate([
|
|
11547
|
+
__decorate$1([
|
|
11159
11548
|
AsnProp({ type: exports.AsnPropTypes.Utf8String, context: 4 })
|
|
11160
11549
|
], exports.WebGDPR.prototype, "description", void 0);
|
|
11161
|
-
exports.WebGDPR = __decorate([
|
|
11550
|
+
exports.WebGDPR = __decorate$1([
|
|
11162
11551
|
AsnType({ type: exports.AsnTypeTypes.Sequence })
|
|
11163
11552
|
], exports.WebGDPR);
|
|
11164
11553
|
|
|
11165
|
-
class
|
|
11554
|
+
class IssuerAndSerialNumber {
|
|
11166
11555
|
constructor(params = {}) {
|
|
11167
|
-
this.
|
|
11168
|
-
this.
|
|
11556
|
+
this.issuer = new exports.Name$1;
|
|
11557
|
+
this.serialNumber = new ArrayBuffer(0);
|
|
11169
11558
|
Object.assign(this, params);
|
|
11170
11559
|
}
|
|
11171
11560
|
}
|
|
11172
|
-
__decorate([
|
|
11173
|
-
AsnProp({ type: exports.
|
|
11174
|
-
],
|
|
11175
|
-
__decorate([
|
|
11176
|
-
AsnProp({ type: exports.AsnPropTypes.
|
|
11177
|
-
],
|
|
11561
|
+
__decorate$1([
|
|
11562
|
+
AsnProp({ type: exports.Name$1 })
|
|
11563
|
+
], IssuerAndSerialNumber.prototype, "issuer", void 0);
|
|
11564
|
+
__decorate$1([
|
|
11565
|
+
AsnProp({ type: exports.AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
|
|
11566
|
+
], IssuerAndSerialNumber.prototype, "serialNumber", void 0);
|
|
11178
11567
|
|
|
11179
|
-
|
|
11180
|
-
class OtherCertificateFormat {
|
|
11181
|
-
constructor(params = {}) {
|
|
11182
|
-
this.otherCertFormat = "";
|
|
11183
|
-
this.otherCert = new ArrayBuffer(0);
|
|
11184
|
-
Object.assign(this, params);
|
|
11185
|
-
}
|
|
11186
|
-
}
|
|
11187
|
-
__decorate([
|
|
11188
|
-
AsnProp({ type: exports.AsnPropTypes.ObjectIdentifier })
|
|
11189
|
-
], OtherCertificateFormat.prototype, "otherCertFormat", void 0);
|
|
11190
|
-
__decorate([
|
|
11191
|
-
AsnProp({ type: exports.AsnPropTypes.Any })
|
|
11192
|
-
], OtherCertificateFormat.prototype, "otherCert", void 0);
|
|
11193
|
-
let CertificateChoices = class CertificateChoices {
|
|
11568
|
+
let SignerIdentifier = class SignerIdentifier {
|
|
11194
11569
|
constructor(params = {}) {
|
|
11195
11570
|
Object.assign(this, params);
|
|
11196
11571
|
}
|
|
11197
11572
|
};
|
|
11198
|
-
__decorate([
|
|
11199
|
-
AsnProp({ type:
|
|
11200
|
-
],
|
|
11201
|
-
__decorate([
|
|
11202
|
-
AsnProp({ type:
|
|
11203
|
-
],
|
|
11204
|
-
__decorate([
|
|
11205
|
-
AsnProp({ type: OtherCertificateFormat, context: 3, implicit: true })
|
|
11206
|
-
], CertificateChoices.prototype, "other", void 0);
|
|
11207
|
-
CertificateChoices = __decorate([
|
|
11573
|
+
__decorate$1([
|
|
11574
|
+
AsnProp({ type: SubjectKeyIdentifier, context: 0, implicit: true })
|
|
11575
|
+
], SignerIdentifier.prototype, "subjectKeyIdentifier", void 0);
|
|
11576
|
+
__decorate$1([
|
|
11577
|
+
AsnProp({ type: IssuerAndSerialNumber })
|
|
11578
|
+
], SignerIdentifier.prototype, "issuerAndSerialNumber", void 0);
|
|
11579
|
+
SignerIdentifier = __decorate$1([
|
|
11208
11580
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
11209
|
-
],
|
|
11210
|
-
|
|
11211
|
-
|
|
11212
|
-
|
|
11213
|
-
|
|
11214
|
-
|
|
11215
|
-
|
|
11216
|
-
|
|
11581
|
+
], SignerIdentifier);
|
|
11582
|
+
|
|
11583
|
+
var CMSVersion;
|
|
11584
|
+
(function (CMSVersion) {
|
|
11585
|
+
CMSVersion[CMSVersion["v0"] = 0] = "v0";
|
|
11586
|
+
CMSVersion[CMSVersion["v1"] = 1] = "v1";
|
|
11587
|
+
CMSVersion[CMSVersion["v2"] = 2] = "v2";
|
|
11588
|
+
CMSVersion[CMSVersion["v3"] = 3] = "v3";
|
|
11589
|
+
CMSVersion[CMSVersion["v4"] = 4] = "v4";
|
|
11590
|
+
CMSVersion[CMSVersion["v5"] = 5] = "v5";
|
|
11591
|
+
})(CMSVersion || (CMSVersion = {}));
|
|
11592
|
+
let DigestAlgorithmIdentifier = class DigestAlgorithmIdentifier extends AlgorithmIdentifier {
|
|
11593
|
+
};
|
|
11594
|
+
DigestAlgorithmIdentifier = __decorate$1([
|
|
11595
|
+
AsnType({ type: exports.AsnTypeTypes.Sequence })
|
|
11596
|
+
], DigestAlgorithmIdentifier);
|
|
11597
|
+
let SignatureAlgorithmIdentifier = class SignatureAlgorithmIdentifier extends AlgorithmIdentifier {
|
|
11598
|
+
};
|
|
11599
|
+
SignatureAlgorithmIdentifier = __decorate$1([
|
|
11600
|
+
AsnType({ type: exports.AsnTypeTypes.Sequence })
|
|
11601
|
+
], SignatureAlgorithmIdentifier);
|
|
11602
|
+
let KeyEncryptionAlgorithmIdentifier = class KeyEncryptionAlgorithmIdentifier extends AlgorithmIdentifier {
|
|
11603
|
+
};
|
|
11604
|
+
KeyEncryptionAlgorithmIdentifier = __decorate$1([
|
|
11605
|
+
AsnType({ type: exports.AsnTypeTypes.Sequence })
|
|
11606
|
+
], KeyEncryptionAlgorithmIdentifier);
|
|
11607
|
+
let ContentEncryptionAlgorithmIdentifier = class ContentEncryptionAlgorithmIdentifier extends AlgorithmIdentifier {
|
|
11608
|
+
};
|
|
11609
|
+
ContentEncryptionAlgorithmIdentifier = __decorate$1([
|
|
11610
|
+
AsnType({ type: exports.AsnTypeTypes.Sequence })
|
|
11611
|
+
], ContentEncryptionAlgorithmIdentifier);
|
|
11612
|
+
let MessageAuthenticationCodeAlgorithm = class MessageAuthenticationCodeAlgorithm extends AlgorithmIdentifier {
|
|
11613
|
+
};
|
|
11614
|
+
MessageAuthenticationCodeAlgorithm = __decorate$1([
|
|
11615
|
+
AsnType({ type: exports.AsnTypeTypes.Sequence })
|
|
11616
|
+
], MessageAuthenticationCodeAlgorithm);
|
|
11617
|
+
let KeyDerivationAlgorithmIdentifier = class KeyDerivationAlgorithmIdentifier extends AlgorithmIdentifier {
|
|
11618
|
+
};
|
|
11619
|
+
KeyDerivationAlgorithmIdentifier = __decorate$1([
|
|
11620
|
+
AsnType({ type: exports.AsnTypeTypes.Sequence })
|
|
11621
|
+
], KeyDerivationAlgorithmIdentifier);
|
|
11622
|
+
|
|
11623
|
+
class Attribute {
|
|
11624
|
+
constructor(params = {}) {
|
|
11625
|
+
this.attrType = "";
|
|
11626
|
+
this.attrValues = [];
|
|
11627
|
+
Object.assign(this, params);
|
|
11628
|
+
}
|
|
11629
|
+
}
|
|
11630
|
+
__decorate$1([
|
|
11631
|
+
AsnProp({ type: exports.AsnPropTypes.ObjectIdentifier })
|
|
11632
|
+
], Attribute.prototype, "attrType", void 0);
|
|
11633
|
+
__decorate$1([
|
|
11634
|
+
AsnProp({ type: exports.AsnPropTypes.Any, repeated: "set" })
|
|
11635
|
+
], Attribute.prototype, "attrValues", void 0);
|
|
11636
|
+
|
|
11637
|
+
var SignerInfos_1;
|
|
11638
|
+
class SignerInfo {
|
|
11639
|
+
constructor(params = {}) {
|
|
11640
|
+
this.version = CMSVersion.v0;
|
|
11641
|
+
this.sid = new SignerIdentifier();
|
|
11642
|
+
this.digestAlgorithm = new DigestAlgorithmIdentifier();
|
|
11643
|
+
this.signatureAlgorithm = new SignatureAlgorithmIdentifier();
|
|
11644
|
+
this.signature = new OctetString();
|
|
11645
|
+
Object.assign(this, params);
|
|
11646
|
+
}
|
|
11647
|
+
}
|
|
11648
|
+
__decorate$1([
|
|
11649
|
+
AsnProp({ type: exports.AsnPropTypes.Integer })
|
|
11650
|
+
], SignerInfo.prototype, "version", void 0);
|
|
11651
|
+
__decorate$1([
|
|
11652
|
+
AsnProp({ type: SignerIdentifier })
|
|
11653
|
+
], SignerInfo.prototype, "sid", void 0);
|
|
11654
|
+
__decorate$1([
|
|
11655
|
+
AsnProp({ type: DigestAlgorithmIdentifier })
|
|
11656
|
+
], SignerInfo.prototype, "digestAlgorithm", void 0);
|
|
11657
|
+
__decorate$1([
|
|
11658
|
+
AsnProp({ type: Attribute, repeated: "set", context: 0, implicit: true, optional: true })
|
|
11659
|
+
], SignerInfo.prototype, "signedAttrs", void 0);
|
|
11660
|
+
__decorate$1([
|
|
11661
|
+
AsnProp({ type: SignatureAlgorithmIdentifier })
|
|
11662
|
+
], SignerInfo.prototype, "signatureAlgorithm", void 0);
|
|
11663
|
+
__decorate$1([
|
|
11664
|
+
AsnProp({ type: OctetString })
|
|
11665
|
+
], SignerInfo.prototype, "signature", void 0);
|
|
11666
|
+
__decorate$1([
|
|
11667
|
+
AsnProp({ type: Attribute, repeated: "set", context: 1, implicit: true, optional: true })
|
|
11668
|
+
], SignerInfo.prototype, "unsignedAttrs", void 0);
|
|
11669
|
+
let SignerInfos = SignerInfos_1 = class SignerInfos extends AsnArray {
|
|
11670
|
+
constructor(items) {
|
|
11671
|
+
super(items);
|
|
11672
|
+
Object.setPrototypeOf(this, SignerInfos_1.prototype);
|
|
11673
|
+
}
|
|
11674
|
+
};
|
|
11675
|
+
SignerInfos = SignerInfos_1 = __decorate$1([
|
|
11676
|
+
AsnType({ type: exports.AsnTypeTypes.Set, itemType: SignerInfo })
|
|
11677
|
+
], SignerInfos);
|
|
11678
|
+
|
|
11679
|
+
let SigningTime$1 = class SigningTime extends Time {
|
|
11680
|
+
};
|
|
11681
|
+
SigningTime$1 = __decorate$1([
|
|
11682
|
+
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
11683
|
+
], SigningTime$1);
|
|
11684
|
+
let CounterSignature$1 = class CounterSignature extends SignerInfo {
|
|
11685
|
+
};
|
|
11686
|
+
CounterSignature$1 = __decorate$1([
|
|
11687
|
+
AsnType({ type: exports.AsnTypeTypes.Sequence })
|
|
11688
|
+
], CounterSignature$1);
|
|
11689
|
+
|
|
11690
|
+
var CertificateSet_1;
|
|
11691
|
+
class OtherCertificateFormat {
|
|
11692
|
+
constructor(params = {}) {
|
|
11693
|
+
this.otherCertFormat = "";
|
|
11694
|
+
this.otherCert = new ArrayBuffer(0);
|
|
11695
|
+
Object.assign(this, params);
|
|
11696
|
+
}
|
|
11697
|
+
}
|
|
11698
|
+
__decorate$1([
|
|
11699
|
+
AsnProp({ type: exports.AsnPropTypes.ObjectIdentifier })
|
|
11700
|
+
], OtherCertificateFormat.prototype, "otherCertFormat", void 0);
|
|
11701
|
+
__decorate$1([
|
|
11702
|
+
AsnProp({ type: exports.AsnPropTypes.Any })
|
|
11703
|
+
], OtherCertificateFormat.prototype, "otherCert", void 0);
|
|
11704
|
+
let CertificateChoices = class CertificateChoices {
|
|
11705
|
+
constructor(params = {}) {
|
|
11706
|
+
Object.assign(this, params);
|
|
11707
|
+
}
|
|
11708
|
+
};
|
|
11709
|
+
__decorate$1([
|
|
11710
|
+
AsnProp({ type: Certificate })
|
|
11711
|
+
], CertificateChoices.prototype, "certificate", void 0);
|
|
11712
|
+
__decorate$1([
|
|
11713
|
+
AsnProp({ type: AttributeCertificate, context: 2, implicit: true })
|
|
11714
|
+
], CertificateChoices.prototype, "v2AttrCert", void 0);
|
|
11715
|
+
__decorate$1([
|
|
11716
|
+
AsnProp({ type: OtherCertificateFormat, context: 3, implicit: true })
|
|
11717
|
+
], CertificateChoices.prototype, "other", void 0);
|
|
11718
|
+
CertificateChoices = __decorate$1([
|
|
11719
|
+
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
11720
|
+
], CertificateChoices);
|
|
11721
|
+
let CertificateSet = CertificateSet_1 = class CertificateSet extends AsnArray {
|
|
11722
|
+
constructor(items) {
|
|
11723
|
+
super(items);
|
|
11724
|
+
Object.setPrototypeOf(this, CertificateSet_1.prototype);
|
|
11725
|
+
}
|
|
11726
|
+
};
|
|
11727
|
+
CertificateSet = CertificateSet_1 = __decorate$1([
|
|
11217
11728
|
AsnType({ type: exports.AsnTypeTypes.Set, itemType: CertificateChoices })
|
|
11218
11729
|
], CertificateSet);
|
|
11219
11730
|
|
|
@@ -11224,10 +11735,10 @@ class ContentInfo {
|
|
|
11224
11735
|
Object.assign(this, params);
|
|
11225
11736
|
}
|
|
11226
11737
|
}
|
|
11227
|
-
__decorate([
|
|
11738
|
+
__decorate$1([
|
|
11228
11739
|
AsnProp({ type: exports.AsnPropTypes.ObjectIdentifier })
|
|
11229
11740
|
], ContentInfo.prototype, "contentType", void 0);
|
|
11230
|
-
__decorate([
|
|
11741
|
+
__decorate$1([
|
|
11231
11742
|
AsnProp({ type: exports.AsnPropTypes.Any, context: 0 })
|
|
11232
11743
|
], ContentInfo.prototype, "content", void 0);
|
|
11233
11744
|
|
|
@@ -11236,13 +11747,13 @@ let EncapsulatedContent = class EncapsulatedContent {
|
|
|
11236
11747
|
Object.assign(this, params);
|
|
11237
11748
|
}
|
|
11238
11749
|
};
|
|
11239
|
-
__decorate([
|
|
11750
|
+
__decorate$1([
|
|
11240
11751
|
AsnProp({ type: OctetString })
|
|
11241
11752
|
], EncapsulatedContent.prototype, "single", void 0);
|
|
11242
|
-
__decorate([
|
|
11753
|
+
__decorate$1([
|
|
11243
11754
|
AsnProp({ type: exports.AsnPropTypes.Any })
|
|
11244
11755
|
], EncapsulatedContent.prototype, "any", void 0);
|
|
11245
|
-
EncapsulatedContent = __decorate([
|
|
11756
|
+
EncapsulatedContent = __decorate$1([
|
|
11246
11757
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
11247
11758
|
], EncapsulatedContent);
|
|
11248
11759
|
class EncapsulatedContentInfo {
|
|
@@ -11251,65 +11762,25 @@ class EncapsulatedContentInfo {
|
|
|
11251
11762
|
Object.assign(this, params);
|
|
11252
11763
|
}
|
|
11253
11764
|
}
|
|
11254
|
-
__decorate([
|
|
11765
|
+
__decorate$1([
|
|
11255
11766
|
AsnProp({ type: exports.AsnPropTypes.ObjectIdentifier })
|
|
11256
11767
|
], EncapsulatedContentInfo.prototype, "eContentType", void 0);
|
|
11257
|
-
__decorate([
|
|
11768
|
+
__decorate$1([
|
|
11258
11769
|
AsnProp({ type: EncapsulatedContent, context: 0, optional: true })
|
|
11259
11770
|
], EncapsulatedContentInfo.prototype, "eContent", void 0);
|
|
11260
11771
|
|
|
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
11772
|
let EncryptedContent = class EncryptedContent {
|
|
11302
11773
|
constructor(params = {}) {
|
|
11303
11774
|
Object.assign(this, params);
|
|
11304
11775
|
}
|
|
11305
11776
|
};
|
|
11306
|
-
__decorate([
|
|
11777
|
+
__decorate$1([
|
|
11307
11778
|
AsnProp({ type: OctetString, context: 0, implicit: true, optional: true })
|
|
11308
11779
|
], EncryptedContent.prototype, "value", void 0);
|
|
11309
|
-
__decorate([
|
|
11780
|
+
__decorate$1([
|
|
11310
11781
|
AsnProp({ type: OctetString, converter: AsnConstructedOctetStringConverter, context: 0, implicit: true, optional: true, repeated: "sequence" })
|
|
11311
11782
|
], EncryptedContent.prototype, "constructedValue", void 0);
|
|
11312
|
-
EncryptedContent = __decorate([
|
|
11783
|
+
EncryptedContent = __decorate$1([
|
|
11313
11784
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
11314
11785
|
], EncryptedContent);
|
|
11315
11786
|
class EncryptedContentInfo {
|
|
@@ -11319,40 +11790,26 @@ class EncryptedContentInfo {
|
|
|
11319
11790
|
Object.assign(this, params);
|
|
11320
11791
|
}
|
|
11321
11792
|
}
|
|
11322
|
-
__decorate([
|
|
11793
|
+
__decorate$1([
|
|
11323
11794
|
AsnProp({ type: exports.AsnPropTypes.ObjectIdentifier })
|
|
11324
11795
|
], EncryptedContentInfo.prototype, "contentType", void 0);
|
|
11325
|
-
__decorate([
|
|
11796
|
+
__decorate$1([
|
|
11326
11797
|
AsnProp({ type: ContentEncryptionAlgorithmIdentifier })
|
|
11327
11798
|
], EncryptedContentInfo.prototype, "contentEncryptionAlgorithm", void 0);
|
|
11328
|
-
__decorate([
|
|
11799
|
+
__decorate$1([
|
|
11329
11800
|
AsnProp({ type: EncryptedContent, optional: true })
|
|
11330
11801
|
], EncryptedContentInfo.prototype, "encryptedContent", void 0);
|
|
11331
11802
|
|
|
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
11803
|
class OtherKeyAttribute {
|
|
11347
11804
|
constructor(params = {}) {
|
|
11348
11805
|
this.keyAttrId = "";
|
|
11349
11806
|
Object.assign(this, params);
|
|
11350
11807
|
}
|
|
11351
11808
|
}
|
|
11352
|
-
__decorate([
|
|
11809
|
+
__decorate$1([
|
|
11353
11810
|
AsnProp({ type: exports.AsnPropTypes.ObjectIdentifier })
|
|
11354
11811
|
], OtherKeyAttribute.prototype, "keyAttrId", void 0);
|
|
11355
|
-
__decorate([
|
|
11812
|
+
__decorate$1([
|
|
11356
11813
|
AsnProp({ type: exports.AsnPropTypes.Any, optional: true })
|
|
11357
11814
|
], OtherKeyAttribute.prototype, "keyAttr", void 0);
|
|
11358
11815
|
|
|
@@ -11363,13 +11820,13 @@ class RecipientKeyIdentifier {
|
|
|
11363
11820
|
Object.assign(this, params);
|
|
11364
11821
|
}
|
|
11365
11822
|
}
|
|
11366
|
-
__decorate([
|
|
11823
|
+
__decorate$1([
|
|
11367
11824
|
AsnProp({ type: SubjectKeyIdentifier })
|
|
11368
11825
|
], RecipientKeyIdentifier.prototype, "subjectKeyIdentifier", void 0);
|
|
11369
|
-
__decorate([
|
|
11826
|
+
__decorate$1([
|
|
11370
11827
|
AsnProp({ type: exports.AsnPropTypes.GeneralizedTime, optional: true })
|
|
11371
11828
|
], RecipientKeyIdentifier.prototype, "date", void 0);
|
|
11372
|
-
__decorate([
|
|
11829
|
+
__decorate$1([
|
|
11373
11830
|
AsnProp({ type: OtherKeyAttribute, optional: true })
|
|
11374
11831
|
], RecipientKeyIdentifier.prototype, "other", void 0);
|
|
11375
11832
|
let KeyAgreeRecipientIdentifier = class KeyAgreeRecipientIdentifier {
|
|
@@ -11377,13 +11834,13 @@ let KeyAgreeRecipientIdentifier = class KeyAgreeRecipientIdentifier {
|
|
|
11377
11834
|
Object.assign(this, params);
|
|
11378
11835
|
}
|
|
11379
11836
|
};
|
|
11380
|
-
__decorate([
|
|
11837
|
+
__decorate$1([
|
|
11381
11838
|
AsnProp({ type: RecipientKeyIdentifier, context: 0, implicit: true, optional: true })
|
|
11382
11839
|
], KeyAgreeRecipientIdentifier.prototype, "rKeyId", void 0);
|
|
11383
|
-
__decorate([
|
|
11840
|
+
__decorate$1([
|
|
11384
11841
|
AsnProp({ type: IssuerAndSerialNumber, optional: true })
|
|
11385
11842
|
], KeyAgreeRecipientIdentifier.prototype, "issuerAndSerialNumber", void 0);
|
|
11386
|
-
KeyAgreeRecipientIdentifier = __decorate([
|
|
11843
|
+
KeyAgreeRecipientIdentifier = __decorate$1([
|
|
11387
11844
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
11388
11845
|
], KeyAgreeRecipientIdentifier);
|
|
11389
11846
|
class RecipientEncryptedKey {
|
|
@@ -11393,10 +11850,10 @@ class RecipientEncryptedKey {
|
|
|
11393
11850
|
Object.assign(this, params);
|
|
11394
11851
|
}
|
|
11395
11852
|
}
|
|
11396
|
-
__decorate([
|
|
11853
|
+
__decorate$1([
|
|
11397
11854
|
AsnProp({ type: KeyAgreeRecipientIdentifier })
|
|
11398
11855
|
], RecipientEncryptedKey.prototype, "rid", void 0);
|
|
11399
|
-
__decorate([
|
|
11856
|
+
__decorate$1([
|
|
11400
11857
|
AsnProp({ type: OctetString })
|
|
11401
11858
|
], RecipientEncryptedKey.prototype, "encryptedKey", void 0);
|
|
11402
11859
|
let RecipientEncryptedKeys = RecipientEncryptedKeys_1 = class RecipientEncryptedKeys extends AsnArray {
|
|
@@ -11405,7 +11862,7 @@ let RecipientEncryptedKeys = RecipientEncryptedKeys_1 = class RecipientEncrypted
|
|
|
11405
11862
|
Object.setPrototypeOf(this, RecipientEncryptedKeys_1.prototype);
|
|
11406
11863
|
}
|
|
11407
11864
|
};
|
|
11408
|
-
RecipientEncryptedKeys = RecipientEncryptedKeys_1 = __decorate([
|
|
11865
|
+
RecipientEncryptedKeys = RecipientEncryptedKeys_1 = __decorate$1([
|
|
11409
11866
|
AsnType({ type: exports.AsnTypeTypes.Sequence, itemType: RecipientEncryptedKey })
|
|
11410
11867
|
], RecipientEncryptedKeys);
|
|
11411
11868
|
class OriginatorPublicKey {
|
|
@@ -11415,10 +11872,10 @@ class OriginatorPublicKey {
|
|
|
11415
11872
|
Object.assign(this, params);
|
|
11416
11873
|
}
|
|
11417
11874
|
}
|
|
11418
|
-
__decorate([
|
|
11875
|
+
__decorate$1([
|
|
11419
11876
|
AsnProp({ type: AlgorithmIdentifier })
|
|
11420
11877
|
], OriginatorPublicKey.prototype, "algorithm", void 0);
|
|
11421
|
-
__decorate([
|
|
11878
|
+
__decorate$1([
|
|
11422
11879
|
AsnProp({ type: exports.AsnPropTypes.BitString })
|
|
11423
11880
|
], OriginatorPublicKey.prototype, "publicKey", void 0);
|
|
11424
11881
|
let OriginatorIdentifierOrKey = class OriginatorIdentifierOrKey {
|
|
@@ -11426,16 +11883,16 @@ let OriginatorIdentifierOrKey = class OriginatorIdentifierOrKey {
|
|
|
11426
11883
|
Object.assign(this, params);
|
|
11427
11884
|
}
|
|
11428
11885
|
};
|
|
11429
|
-
__decorate([
|
|
11886
|
+
__decorate$1([
|
|
11430
11887
|
AsnProp({ type: SubjectKeyIdentifier, context: 0, implicit: true, optional: true })
|
|
11431
11888
|
], OriginatorIdentifierOrKey.prototype, "subjectKeyIdentifier", void 0);
|
|
11432
|
-
__decorate([
|
|
11889
|
+
__decorate$1([
|
|
11433
11890
|
AsnProp({ type: OriginatorPublicKey, context: 1, implicit: true, optional: true })
|
|
11434
11891
|
], OriginatorIdentifierOrKey.prototype, "originatorKey", void 0);
|
|
11435
|
-
__decorate([
|
|
11892
|
+
__decorate$1([
|
|
11436
11893
|
AsnProp({ type: IssuerAndSerialNumber, optional: true })
|
|
11437
11894
|
], OriginatorIdentifierOrKey.prototype, "issuerAndSerialNumber", void 0);
|
|
11438
|
-
OriginatorIdentifierOrKey = __decorate([
|
|
11895
|
+
OriginatorIdentifierOrKey = __decorate$1([
|
|
11439
11896
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
11440
11897
|
], OriginatorIdentifierOrKey);
|
|
11441
11898
|
class KeyAgreeRecipientInfo {
|
|
@@ -11447,19 +11904,19 @@ class KeyAgreeRecipientInfo {
|
|
|
11447
11904
|
Object.assign(this, params);
|
|
11448
11905
|
}
|
|
11449
11906
|
}
|
|
11450
|
-
__decorate([
|
|
11907
|
+
__decorate$1([
|
|
11451
11908
|
AsnProp({ type: exports.AsnPropTypes.Integer })
|
|
11452
11909
|
], KeyAgreeRecipientInfo.prototype, "version", void 0);
|
|
11453
|
-
__decorate([
|
|
11910
|
+
__decorate$1([
|
|
11454
11911
|
AsnProp({ type: OriginatorIdentifierOrKey, context: 0 })
|
|
11455
11912
|
], KeyAgreeRecipientInfo.prototype, "originator", void 0);
|
|
11456
|
-
__decorate([
|
|
11913
|
+
__decorate$1([
|
|
11457
11914
|
AsnProp({ type: OctetString, context: 1, optional: true })
|
|
11458
11915
|
], KeyAgreeRecipientInfo.prototype, "ukm", void 0);
|
|
11459
|
-
__decorate([
|
|
11916
|
+
__decorate$1([
|
|
11460
11917
|
AsnProp({ type: KeyEncryptionAlgorithmIdentifier })
|
|
11461
11918
|
], KeyAgreeRecipientInfo.prototype, "keyEncryptionAlgorithm", void 0);
|
|
11462
|
-
__decorate([
|
|
11919
|
+
__decorate$1([
|
|
11463
11920
|
AsnProp({ type: RecipientEncryptedKeys })
|
|
11464
11921
|
], KeyAgreeRecipientInfo.prototype, "recipientEncryptedKeys", void 0);
|
|
11465
11922
|
|
|
@@ -11468,13 +11925,13 @@ let RecipientIdentifier = class RecipientIdentifier {
|
|
|
11468
11925
|
Object.assign(this, params);
|
|
11469
11926
|
}
|
|
11470
11927
|
};
|
|
11471
|
-
__decorate([
|
|
11928
|
+
__decorate$1([
|
|
11472
11929
|
AsnProp({ type: SubjectKeyIdentifier, context: 0, implicit: true })
|
|
11473
11930
|
], RecipientIdentifier.prototype, "subjectKeyIdentifier", void 0);
|
|
11474
|
-
__decorate([
|
|
11931
|
+
__decorate$1([
|
|
11475
11932
|
AsnProp({ type: IssuerAndSerialNumber })
|
|
11476
11933
|
], RecipientIdentifier.prototype, "issuerAndSerialNumber", void 0);
|
|
11477
|
-
RecipientIdentifier = __decorate([
|
|
11934
|
+
RecipientIdentifier = __decorate$1([
|
|
11478
11935
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
11479
11936
|
], RecipientIdentifier);
|
|
11480
11937
|
class KeyTransRecipientInfo {
|
|
@@ -11486,16 +11943,16 @@ class KeyTransRecipientInfo {
|
|
|
11486
11943
|
Object.assign(this, params);
|
|
11487
11944
|
}
|
|
11488
11945
|
}
|
|
11489
|
-
__decorate([
|
|
11946
|
+
__decorate$1([
|
|
11490
11947
|
AsnProp({ type: exports.AsnPropTypes.Integer })
|
|
11491
11948
|
], KeyTransRecipientInfo.prototype, "version", void 0);
|
|
11492
|
-
__decorate([
|
|
11949
|
+
__decorate$1([
|
|
11493
11950
|
AsnProp({ type: RecipientIdentifier })
|
|
11494
11951
|
], KeyTransRecipientInfo.prototype, "rid", void 0);
|
|
11495
|
-
__decorate([
|
|
11952
|
+
__decorate$1([
|
|
11496
11953
|
AsnProp({ type: KeyEncryptionAlgorithmIdentifier })
|
|
11497
11954
|
], KeyTransRecipientInfo.prototype, "keyEncryptionAlgorithm", void 0);
|
|
11498
|
-
__decorate([
|
|
11955
|
+
__decorate$1([
|
|
11499
11956
|
AsnProp({ type: OctetString })
|
|
11500
11957
|
], KeyTransRecipientInfo.prototype, "encryptedKey", void 0);
|
|
11501
11958
|
|
|
@@ -11505,13 +11962,13 @@ class KEKIdentifier {
|
|
|
11505
11962
|
Object.assign(this, params);
|
|
11506
11963
|
}
|
|
11507
11964
|
}
|
|
11508
|
-
__decorate([
|
|
11965
|
+
__decorate$1([
|
|
11509
11966
|
AsnProp({ type: OctetString })
|
|
11510
11967
|
], KEKIdentifier.prototype, "keyIdentifier", void 0);
|
|
11511
|
-
__decorate([
|
|
11968
|
+
__decorate$1([
|
|
11512
11969
|
AsnProp({ type: exports.AsnPropTypes.GeneralizedTime, optional: true })
|
|
11513
11970
|
], KEKIdentifier.prototype, "date", void 0);
|
|
11514
|
-
__decorate([
|
|
11971
|
+
__decorate$1([
|
|
11515
11972
|
AsnProp({ type: OtherKeyAttribute, optional: true })
|
|
11516
11973
|
], KEKIdentifier.prototype, "other", void 0);
|
|
11517
11974
|
class KEKRecipientInfo {
|
|
@@ -11523,16 +11980,16 @@ class KEKRecipientInfo {
|
|
|
11523
11980
|
Object.assign(this, params);
|
|
11524
11981
|
}
|
|
11525
11982
|
}
|
|
11526
|
-
__decorate([
|
|
11983
|
+
__decorate$1([
|
|
11527
11984
|
AsnProp({ type: exports.AsnPropTypes.Integer })
|
|
11528
11985
|
], KEKRecipientInfo.prototype, "version", void 0);
|
|
11529
|
-
__decorate([
|
|
11986
|
+
__decorate$1([
|
|
11530
11987
|
AsnProp({ type: KEKIdentifier })
|
|
11531
11988
|
], KEKRecipientInfo.prototype, "kekid", void 0);
|
|
11532
|
-
__decorate([
|
|
11989
|
+
__decorate$1([
|
|
11533
11990
|
AsnProp({ type: KeyEncryptionAlgorithmIdentifier })
|
|
11534
11991
|
], KEKRecipientInfo.prototype, "keyEncryptionAlgorithm", void 0);
|
|
11535
|
-
__decorate([
|
|
11992
|
+
__decorate$1([
|
|
11536
11993
|
AsnProp({ type: OctetString })
|
|
11537
11994
|
], KEKRecipientInfo.prototype, "encryptedKey", void 0);
|
|
11538
11995
|
|
|
@@ -11544,16 +12001,16 @@ class PasswordRecipientInfo {
|
|
|
11544
12001
|
Object.assign(this, params);
|
|
11545
12002
|
}
|
|
11546
12003
|
}
|
|
11547
|
-
__decorate([
|
|
12004
|
+
__decorate$1([
|
|
11548
12005
|
AsnProp({ type: exports.AsnPropTypes.Integer })
|
|
11549
12006
|
], PasswordRecipientInfo.prototype, "version", void 0);
|
|
11550
|
-
__decorate([
|
|
12007
|
+
__decorate$1([
|
|
11551
12008
|
AsnProp({ type: KeyDerivationAlgorithmIdentifier, context: 0, optional: true })
|
|
11552
12009
|
], PasswordRecipientInfo.prototype, "keyDerivationAlgorithm", void 0);
|
|
11553
|
-
__decorate([
|
|
12010
|
+
__decorate$1([
|
|
11554
12011
|
AsnProp({ type: KeyEncryptionAlgorithmIdentifier })
|
|
11555
12012
|
], PasswordRecipientInfo.prototype, "keyEncryptionAlgorithm", void 0);
|
|
11556
|
-
__decorate([
|
|
12013
|
+
__decorate$1([
|
|
11557
12014
|
AsnProp({ type: OctetString })
|
|
11558
12015
|
], PasswordRecipientInfo.prototype, "encryptedKey", void 0);
|
|
11559
12016
|
|
|
@@ -11564,10 +12021,10 @@ class OtherRecipientInfo {
|
|
|
11564
12021
|
Object.assign(this, params);
|
|
11565
12022
|
}
|
|
11566
12023
|
}
|
|
11567
|
-
__decorate([
|
|
12024
|
+
__decorate$1([
|
|
11568
12025
|
AsnProp({ type: exports.AsnPropTypes.ObjectIdentifier })
|
|
11569
12026
|
], OtherRecipientInfo.prototype, "oriType", void 0);
|
|
11570
|
-
__decorate([
|
|
12027
|
+
__decorate$1([
|
|
11571
12028
|
AsnProp({ type: exports.AsnPropTypes.Any })
|
|
11572
12029
|
], OtherRecipientInfo.prototype, "oriValue", void 0);
|
|
11573
12030
|
let RecipientInfo = class RecipientInfo {
|
|
@@ -11575,22 +12032,22 @@ let RecipientInfo = class RecipientInfo {
|
|
|
11575
12032
|
Object.assign(this, params);
|
|
11576
12033
|
}
|
|
11577
12034
|
};
|
|
11578
|
-
__decorate([
|
|
12035
|
+
__decorate$1([
|
|
11579
12036
|
AsnProp({ type: KeyTransRecipientInfo, optional: true })
|
|
11580
12037
|
], RecipientInfo.prototype, "ktri", void 0);
|
|
11581
|
-
__decorate([
|
|
12038
|
+
__decorate$1([
|
|
11582
12039
|
AsnProp({ type: KeyAgreeRecipientInfo, context: 1, implicit: true, optional: true })
|
|
11583
12040
|
], RecipientInfo.prototype, "kari", void 0);
|
|
11584
|
-
__decorate([
|
|
12041
|
+
__decorate$1([
|
|
11585
12042
|
AsnProp({ type: KEKRecipientInfo, context: 2, implicit: true, optional: true })
|
|
11586
12043
|
], RecipientInfo.prototype, "kekri", void 0);
|
|
11587
|
-
__decorate([
|
|
12044
|
+
__decorate$1([
|
|
11588
12045
|
AsnProp({ type: PasswordRecipientInfo, context: 3, implicit: true, optional: true })
|
|
11589
12046
|
], RecipientInfo.prototype, "pwri", void 0);
|
|
11590
|
-
__decorate([
|
|
12047
|
+
__decorate$1([
|
|
11591
12048
|
AsnProp({ type: OtherRecipientInfo, context: 4, implicit: true, optional: true })
|
|
11592
12049
|
], RecipientInfo.prototype, "ori", void 0);
|
|
11593
|
-
RecipientInfo = __decorate([
|
|
12050
|
+
RecipientInfo = __decorate$1([
|
|
11594
12051
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
11595
12052
|
], RecipientInfo);
|
|
11596
12053
|
|
|
@@ -11601,7 +12058,7 @@ let RecipientInfos = RecipientInfos_1 = class RecipientInfos extends AsnArray {
|
|
|
11601
12058
|
Object.setPrototypeOf(this, RecipientInfos_1.prototype);
|
|
11602
12059
|
}
|
|
11603
12060
|
};
|
|
11604
|
-
RecipientInfos = RecipientInfos_1 = __decorate([
|
|
12061
|
+
RecipientInfos = RecipientInfos_1 = __decorate$1([
|
|
11605
12062
|
AsnType({ type: exports.AsnTypeTypes.Set, itemType: RecipientInfo })
|
|
11606
12063
|
], RecipientInfos);
|
|
11607
12064
|
|
|
@@ -11613,10 +12070,10 @@ class OtherRevocationInfoFormat {
|
|
|
11613
12070
|
Object.assign(this, params);
|
|
11614
12071
|
}
|
|
11615
12072
|
}
|
|
11616
|
-
__decorate([
|
|
12073
|
+
__decorate$1([
|
|
11617
12074
|
AsnProp({ type: exports.AsnPropTypes.ObjectIdentifier })
|
|
11618
12075
|
], OtherRevocationInfoFormat.prototype, "otherRevInfoFormat", void 0);
|
|
11619
|
-
__decorate([
|
|
12076
|
+
__decorate$1([
|
|
11620
12077
|
AsnProp({ type: exports.AsnPropTypes.Any })
|
|
11621
12078
|
], OtherRevocationInfoFormat.prototype, "otherRevInfo", void 0);
|
|
11622
12079
|
let RevocationInfoChoice = class RevocationInfoChoice {
|
|
@@ -11625,10 +12082,10 @@ let RevocationInfoChoice = class RevocationInfoChoice {
|
|
|
11625
12082
|
Object.assign(this, params);
|
|
11626
12083
|
}
|
|
11627
12084
|
};
|
|
11628
|
-
__decorate([
|
|
12085
|
+
__decorate$1([
|
|
11629
12086
|
AsnProp({ type: OtherRevocationInfoFormat, context: 1, implicit: true })
|
|
11630
12087
|
], RevocationInfoChoice.prototype, "other", void 0);
|
|
11631
|
-
RevocationInfoChoice = __decorate([
|
|
12088
|
+
RevocationInfoChoice = __decorate$1([
|
|
11632
12089
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
11633
12090
|
], RevocationInfoChoice);
|
|
11634
12091
|
let RevocationInfoChoices = RevocationInfoChoices_1 = class RevocationInfoChoices extends AsnArray {
|
|
@@ -11637,7 +12094,7 @@ let RevocationInfoChoices = RevocationInfoChoices_1 = class RevocationInfoChoice
|
|
|
11637
12094
|
Object.setPrototypeOf(this, RevocationInfoChoices_1.prototype);
|
|
11638
12095
|
}
|
|
11639
12096
|
};
|
|
11640
|
-
RevocationInfoChoices = RevocationInfoChoices_1 = __decorate([
|
|
12097
|
+
RevocationInfoChoices = RevocationInfoChoices_1 = __decorate$1([
|
|
11641
12098
|
AsnType({ type: exports.AsnTypeTypes.Set, itemType: RevocationInfoChoice })
|
|
11642
12099
|
], RevocationInfoChoices);
|
|
11643
12100
|
|
|
@@ -11646,10 +12103,10 @@ class OriginatorInfo {
|
|
|
11646
12103
|
Object.assign(this, params);
|
|
11647
12104
|
}
|
|
11648
12105
|
}
|
|
11649
|
-
__decorate([
|
|
12106
|
+
__decorate$1([
|
|
11650
12107
|
AsnProp({ type: CertificateSet, context: 0, implicit: true, optional: true })
|
|
11651
12108
|
], OriginatorInfo.prototype, "certs", void 0);
|
|
11652
|
-
__decorate([
|
|
12109
|
+
__decorate$1([
|
|
11653
12110
|
AsnProp({ type: RevocationInfoChoices, context: 1, implicit: true, optional: true })
|
|
11654
12111
|
], OriginatorInfo.prototype, "crls", void 0);
|
|
11655
12112
|
|
|
@@ -11660,7 +12117,7 @@ let UnprotectedAttributes = UnprotectedAttributes_1 = class UnprotectedAttribute
|
|
|
11660
12117
|
Object.setPrototypeOf(this, UnprotectedAttributes_1.prototype);
|
|
11661
12118
|
}
|
|
11662
12119
|
};
|
|
11663
|
-
UnprotectedAttributes = UnprotectedAttributes_1 = __decorate([
|
|
12120
|
+
UnprotectedAttributes = UnprotectedAttributes_1 = __decorate$1([
|
|
11664
12121
|
AsnType({ type: exports.AsnTypeTypes.Set, itemType: Attribute })
|
|
11665
12122
|
], UnprotectedAttributes);
|
|
11666
12123
|
class EnvelopedData {
|
|
@@ -11671,79 +12128,22 @@ class EnvelopedData {
|
|
|
11671
12128
|
Object.assign(this, params);
|
|
11672
12129
|
}
|
|
11673
12130
|
}
|
|
11674
|
-
__decorate([
|
|
12131
|
+
__decorate$1([
|
|
11675
12132
|
AsnProp({ type: exports.AsnPropTypes.Integer })
|
|
11676
12133
|
], EnvelopedData.prototype, "version", void 0);
|
|
11677
|
-
__decorate([
|
|
12134
|
+
__decorate$1([
|
|
11678
12135
|
AsnProp({ type: OriginatorInfo, context: 0, implicit: true, optional: true })
|
|
11679
12136
|
], EnvelopedData.prototype, "originatorInfo", void 0);
|
|
11680
|
-
__decorate([
|
|
12137
|
+
__decorate$1([
|
|
11681
12138
|
AsnProp({ type: RecipientInfos })
|
|
11682
12139
|
], EnvelopedData.prototype, "recipientInfos", void 0);
|
|
11683
|
-
__decorate([
|
|
12140
|
+
__decorate$1([
|
|
11684
12141
|
AsnProp({ type: EncryptedContentInfo })
|
|
11685
12142
|
], EnvelopedData.prototype, "encryptedContentInfo", void 0);
|
|
11686
|
-
__decorate([
|
|
12143
|
+
__decorate$1([
|
|
11687
12144
|
AsnProp({ type: UnprotectedAttributes, context: 1, implicit: true, optional: true })
|
|
11688
12145
|
], EnvelopedData.prototype, "unprotectedAttrs", void 0);
|
|
11689
12146
|
|
|
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
12147
|
var DigestAlgorithmIdentifiers_1;
|
|
11748
12148
|
let DigestAlgorithmIdentifiers = DigestAlgorithmIdentifiers_1 = class DigestAlgorithmIdentifiers extends AsnArray {
|
|
11749
12149
|
constructor(items) {
|
|
@@ -11751,7 +12151,7 @@ let DigestAlgorithmIdentifiers = DigestAlgorithmIdentifiers_1 = class DigestAlgo
|
|
|
11751
12151
|
Object.setPrototypeOf(this, DigestAlgorithmIdentifiers_1.prototype);
|
|
11752
12152
|
}
|
|
11753
12153
|
};
|
|
11754
|
-
DigestAlgorithmIdentifiers = DigestAlgorithmIdentifiers_1 = __decorate([
|
|
12154
|
+
DigestAlgorithmIdentifiers = DigestAlgorithmIdentifiers_1 = __decorate$1([
|
|
11755
12155
|
AsnType({ type: exports.AsnTypeTypes.Set, itemType: DigestAlgorithmIdentifier })
|
|
11756
12156
|
], DigestAlgorithmIdentifiers);
|
|
11757
12157
|
class SignedData {
|
|
@@ -11763,22 +12163,22 @@ class SignedData {
|
|
|
11763
12163
|
Object.assign(this, params);
|
|
11764
12164
|
}
|
|
11765
12165
|
}
|
|
11766
|
-
__decorate([
|
|
12166
|
+
__decorate$1([
|
|
11767
12167
|
AsnProp({ type: exports.AsnPropTypes.Integer })
|
|
11768
12168
|
], SignedData.prototype, "version", void 0);
|
|
11769
|
-
__decorate([
|
|
12169
|
+
__decorate$1([
|
|
11770
12170
|
AsnProp({ type: DigestAlgorithmIdentifiers })
|
|
11771
12171
|
], SignedData.prototype, "digestAlgorithms", void 0);
|
|
11772
|
-
__decorate([
|
|
12172
|
+
__decorate$1([
|
|
11773
12173
|
AsnProp({ type: EncapsulatedContentInfo })
|
|
11774
12174
|
], SignedData.prototype, "encapContentInfo", void 0);
|
|
11775
|
-
__decorate([
|
|
12175
|
+
__decorate$1([
|
|
11776
12176
|
AsnProp({ type: CertificateSet, context: 0, implicit: true, optional: true })
|
|
11777
12177
|
], SignedData.prototype, "certificates", void 0);
|
|
11778
|
-
__decorate([
|
|
12178
|
+
__decorate$1([
|
|
11779
12179
|
AsnProp({ type: RevocationInfoChoice, context: 1, implicit: true, optional: true })
|
|
11780
12180
|
], SignedData.prototype, "crls", void 0);
|
|
11781
|
-
__decorate([
|
|
12181
|
+
__decorate$1([
|
|
11782
12182
|
AsnProp({ type: SignerInfos })
|
|
11783
12183
|
], SignedData.prototype, "signerInfos", void 0);
|
|
11784
12184
|
|
|
@@ -11790,10 +12190,10 @@ class PKCS12Attribute {
|
|
|
11790
12190
|
Object.assign(params);
|
|
11791
12191
|
}
|
|
11792
12192
|
}
|
|
11793
|
-
__decorate([
|
|
12193
|
+
__decorate$1([
|
|
11794
12194
|
AsnProp({ type: exports.AsnPropTypes.ObjectIdentifier })
|
|
11795
12195
|
], PKCS12Attribute.prototype, "attrId", void 0);
|
|
11796
|
-
__decorate([
|
|
12196
|
+
__decorate$1([
|
|
11797
12197
|
AsnProp({ type: exports.AsnPropTypes.Any, repeated: "set" })
|
|
11798
12198
|
], PKCS12Attribute.prototype, "attrValues", void 0);
|
|
11799
12199
|
let PKCS12AttrSet = PKCS12AttrSet_1 = class PKCS12AttrSet extends AsnArray {
|
|
@@ -11802,7 +12202,7 @@ let PKCS12AttrSet = PKCS12AttrSet_1 = class PKCS12AttrSet extends AsnArray {
|
|
|
11802
12202
|
Object.setPrototypeOf(this, PKCS12AttrSet_1.prototype);
|
|
11803
12203
|
}
|
|
11804
12204
|
};
|
|
11805
|
-
PKCS12AttrSet = PKCS12AttrSet_1 = __decorate([
|
|
12205
|
+
PKCS12AttrSet = PKCS12AttrSet_1 = __decorate$1([
|
|
11806
12206
|
AsnType({ type: exports.AsnTypeTypes.Sequence, itemType: PKCS12Attribute })
|
|
11807
12207
|
], PKCS12AttrSet);
|
|
11808
12208
|
|
|
@@ -11813,7 +12213,7 @@ let AuthenticatedSafe = AuthenticatedSafe_1 = class AuthenticatedSafe extends As
|
|
|
11813
12213
|
Object.setPrototypeOf(this, AuthenticatedSafe_1.prototype);
|
|
11814
12214
|
}
|
|
11815
12215
|
};
|
|
11816
|
-
AuthenticatedSafe = AuthenticatedSafe_1 = __decorate([
|
|
12216
|
+
AuthenticatedSafe = AuthenticatedSafe_1 = __decorate$1([
|
|
11817
12217
|
AsnType({ type: exports.AsnTypeTypes.Sequence, itemType: ContentInfo })
|
|
11818
12218
|
], AuthenticatedSafe);
|
|
11819
12219
|
|
|
@@ -11824,10 +12224,10 @@ class CertBag {
|
|
|
11824
12224
|
Object.assign(this, params);
|
|
11825
12225
|
}
|
|
11826
12226
|
}
|
|
11827
|
-
__decorate([
|
|
12227
|
+
__decorate$1([
|
|
11828
12228
|
AsnProp({ type: exports.AsnPropTypes.ObjectIdentifier })
|
|
11829
12229
|
], CertBag.prototype, "certId", void 0);
|
|
11830
|
-
__decorate([
|
|
12230
|
+
__decorate$1([
|
|
11831
12231
|
AsnProp({ type: exports.AsnPropTypes.Any, context: 0 })
|
|
11832
12232
|
], CertBag.prototype, "certValue", void 0);
|
|
11833
12233
|
|
|
@@ -11838,22 +12238,22 @@ class CRLBag {
|
|
|
11838
12238
|
Object.assign(this, params);
|
|
11839
12239
|
}
|
|
11840
12240
|
}
|
|
11841
|
-
__decorate([
|
|
12241
|
+
__decorate$1([
|
|
11842
12242
|
AsnProp({ type: exports.AsnPropTypes.ObjectIdentifier })
|
|
11843
12243
|
], CRLBag.prototype, "crlId", void 0);
|
|
11844
|
-
__decorate([
|
|
12244
|
+
__decorate$1([
|
|
11845
12245
|
AsnProp({ type: exports.AsnPropTypes.Any, context: 0 })
|
|
11846
12246
|
], CRLBag.prototype, "crltValue", void 0);
|
|
11847
12247
|
|
|
11848
12248
|
let KeyBag = class KeyBag extends PrivateKeyInfo$1 {
|
|
11849
12249
|
};
|
|
11850
|
-
KeyBag = __decorate([
|
|
12250
|
+
KeyBag = __decorate$1([
|
|
11851
12251
|
AsnType({ type: exports.AsnTypeTypes.Sequence })
|
|
11852
12252
|
], KeyBag);
|
|
11853
12253
|
|
|
11854
12254
|
let PKCS8ShroudedKeyBag = class PKCS8ShroudedKeyBag extends EncryptedPrivateKeyInfo$1 {
|
|
11855
12255
|
};
|
|
11856
|
-
PKCS8ShroudedKeyBag = __decorate([
|
|
12256
|
+
PKCS8ShroudedKeyBag = __decorate$1([
|
|
11857
12257
|
AsnType({ type: exports.AsnTypeTypes.Sequence })
|
|
11858
12258
|
], PKCS8ShroudedKeyBag);
|
|
11859
12259
|
|
|
@@ -11864,10 +12264,10 @@ class SecretBag {
|
|
|
11864
12264
|
Object.assign(this, params);
|
|
11865
12265
|
}
|
|
11866
12266
|
}
|
|
11867
|
-
__decorate([
|
|
12267
|
+
__decorate$1([
|
|
11868
12268
|
AsnProp({ type: exports.AsnPropTypes.ObjectIdentifier })
|
|
11869
12269
|
], SecretBag.prototype, "secretTypeId", void 0);
|
|
11870
|
-
__decorate([
|
|
12270
|
+
__decorate$1([
|
|
11871
12271
|
AsnProp({ type: exports.AsnPropTypes.Any, context: 0 })
|
|
11872
12272
|
], SecretBag.prototype, "secretValue", void 0);
|
|
11873
12273
|
|
|
@@ -11879,13 +12279,13 @@ class MacData {
|
|
|
11879
12279
|
Object.assign(this, params);
|
|
11880
12280
|
}
|
|
11881
12281
|
}
|
|
11882
|
-
__decorate([
|
|
12282
|
+
__decorate$1([
|
|
11883
12283
|
AsnProp({ type: DigestInfo })
|
|
11884
12284
|
], MacData.prototype, "mac", void 0);
|
|
11885
|
-
__decorate([
|
|
12285
|
+
__decorate$1([
|
|
11886
12286
|
AsnProp({ type: OctetString })
|
|
11887
12287
|
], MacData.prototype, "macSalt", void 0);
|
|
11888
|
-
__decorate([
|
|
12288
|
+
__decorate$1([
|
|
11889
12289
|
AsnProp({ type: exports.AsnPropTypes.Integer, defaultValue: 1 })
|
|
11890
12290
|
], MacData.prototype, "iterations", void 0);
|
|
11891
12291
|
|
|
@@ -11897,13 +12297,13 @@ class PFX {
|
|
|
11897
12297
|
Object.assign(this, params);
|
|
11898
12298
|
}
|
|
11899
12299
|
}
|
|
11900
|
-
__decorate([
|
|
12300
|
+
__decorate$1([
|
|
11901
12301
|
AsnProp({ type: exports.AsnPropTypes.Integer })
|
|
11902
12302
|
], PFX.prototype, "version", void 0);
|
|
11903
|
-
__decorate([
|
|
12303
|
+
__decorate$1([
|
|
11904
12304
|
AsnProp({ type: ContentInfo })
|
|
11905
12305
|
], PFX.prototype, "authSafe", void 0);
|
|
11906
|
-
__decorate([
|
|
12306
|
+
__decorate$1([
|
|
11907
12307
|
AsnProp({ type: MacData, optional: true })
|
|
11908
12308
|
], PFX.prototype, "macData", void 0);
|
|
11909
12309
|
|
|
@@ -11915,13 +12315,13 @@ class SafeBag {
|
|
|
11915
12315
|
Object.assign(this, params);
|
|
11916
12316
|
}
|
|
11917
12317
|
}
|
|
11918
|
-
__decorate([
|
|
12318
|
+
__decorate$1([
|
|
11919
12319
|
AsnProp({ type: exports.AsnPropTypes.ObjectIdentifier })
|
|
11920
12320
|
], SafeBag.prototype, "bagId", void 0);
|
|
11921
|
-
__decorate([
|
|
12321
|
+
__decorate$1([
|
|
11922
12322
|
AsnProp({ type: exports.AsnPropTypes.Any, context: 0 })
|
|
11923
12323
|
], SafeBag.prototype, "bagValue", void 0);
|
|
11924
|
-
__decorate([
|
|
12324
|
+
__decorate$1([
|
|
11925
12325
|
AsnProp({ type: PKCS12Attribute, repeated: "set", optional: true })
|
|
11926
12326
|
], SafeBag.prototype, "bagAttributes", void 0);
|
|
11927
12327
|
let SafeContents = SafeContents_1 = class SafeContents extends AsnArray {
|
|
@@ -11930,7 +12330,7 @@ let SafeContents = SafeContents_1 = class SafeContents extends AsnArray {
|
|
|
11930
12330
|
Object.setPrototypeOf(this, SafeContents_1.prototype);
|
|
11931
12331
|
}
|
|
11932
12332
|
};
|
|
11933
|
-
SafeContents = SafeContents_1 = __decorate([
|
|
12333
|
+
SafeContents = SafeContents_1 = __decorate$1([
|
|
11934
12334
|
AsnType({ type: exports.AsnTypeTypes.Sequence, itemType: SafeBag })
|
|
11935
12335
|
], SafeContents);
|
|
11936
12336
|
|
|
@@ -11949,25 +12349,25 @@ let PKCS9String = class PKCS9String extends DirectoryString {
|
|
|
11949
12349
|
return this.ia5String || super.toString();
|
|
11950
12350
|
}
|
|
11951
12351
|
};
|
|
11952
|
-
__decorate([
|
|
12352
|
+
__decorate$1([
|
|
11953
12353
|
AsnProp({ type: exports.AsnPropTypes.IA5String })
|
|
11954
12354
|
], PKCS9String.prototype, "ia5String", void 0);
|
|
11955
|
-
PKCS9String = __decorate([
|
|
12355
|
+
PKCS9String = __decorate$1([
|
|
11956
12356
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
11957
12357
|
], PKCS9String);
|
|
11958
12358
|
let Pkcs7PDU = class Pkcs7PDU extends ContentInfo {
|
|
11959
12359
|
};
|
|
11960
|
-
Pkcs7PDU = __decorate([
|
|
12360
|
+
Pkcs7PDU = __decorate$1([
|
|
11961
12361
|
AsnType({ type: exports.AsnTypeTypes.Sequence })
|
|
11962
12362
|
], Pkcs7PDU);
|
|
11963
12363
|
let UserPKCS12 = class UserPKCS12 extends PFX {
|
|
11964
12364
|
};
|
|
11965
|
-
UserPKCS12 = __decorate([
|
|
12365
|
+
UserPKCS12 = __decorate$1([
|
|
11966
12366
|
AsnType({ type: exports.AsnTypeTypes.Sequence })
|
|
11967
12367
|
], UserPKCS12);
|
|
11968
12368
|
let EncryptedPrivateKeyInfo = class EncryptedPrivateKeyInfo extends EncryptedPrivateKeyInfo$1 {
|
|
11969
12369
|
};
|
|
11970
|
-
EncryptedPrivateKeyInfo = __decorate([
|
|
12370
|
+
EncryptedPrivateKeyInfo = __decorate$1([
|
|
11971
12371
|
AsnType({ type: exports.AsnTypeTypes.Sequence })
|
|
11972
12372
|
], EncryptedPrivateKeyInfo);
|
|
11973
12373
|
let EmailAddress = class EmailAddress {
|
|
@@ -11978,20 +12378,20 @@ let EmailAddress = class EmailAddress {
|
|
|
11978
12378
|
return this.value;
|
|
11979
12379
|
}
|
|
11980
12380
|
};
|
|
11981
|
-
__decorate([
|
|
12381
|
+
__decorate$1([
|
|
11982
12382
|
AsnProp({ type: exports.AsnPropTypes.IA5String })
|
|
11983
12383
|
], EmailAddress.prototype, "value", void 0);
|
|
11984
|
-
EmailAddress = __decorate([
|
|
12384
|
+
EmailAddress = __decorate$1([
|
|
11985
12385
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
11986
12386
|
], EmailAddress);
|
|
11987
12387
|
exports.UnstructuredName = class UnstructuredName extends PKCS9String {
|
|
11988
12388
|
};
|
|
11989
|
-
exports.UnstructuredName = __decorate([
|
|
12389
|
+
exports.UnstructuredName = __decorate$1([
|
|
11990
12390
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
11991
12391
|
], exports.UnstructuredName);
|
|
11992
12392
|
let UnstructuredAddress = class UnstructuredAddress extends DirectoryString {
|
|
11993
12393
|
};
|
|
11994
|
-
UnstructuredAddress = __decorate([
|
|
12394
|
+
UnstructuredAddress = __decorate$1([
|
|
11995
12395
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
11996
12396
|
], UnstructuredAddress);
|
|
11997
12397
|
let DateOfBirth = class DateOfBirth {
|
|
@@ -11999,15 +12399,15 @@ let DateOfBirth = class DateOfBirth {
|
|
|
11999
12399
|
this.value = value;
|
|
12000
12400
|
}
|
|
12001
12401
|
};
|
|
12002
|
-
__decorate([
|
|
12402
|
+
__decorate$1([
|
|
12003
12403
|
AsnProp({ type: exports.AsnPropTypes.GeneralizedTime })
|
|
12004
12404
|
], DateOfBirth.prototype, "value", void 0);
|
|
12005
|
-
DateOfBirth = __decorate([
|
|
12405
|
+
DateOfBirth = __decorate$1([
|
|
12006
12406
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
12007
12407
|
], DateOfBirth);
|
|
12008
12408
|
let PlaceOfBirth = class PlaceOfBirth extends DirectoryString {
|
|
12009
12409
|
};
|
|
12010
|
-
PlaceOfBirth = __decorate([
|
|
12410
|
+
PlaceOfBirth = __decorate$1([
|
|
12011
12411
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
12012
12412
|
], PlaceOfBirth);
|
|
12013
12413
|
let Gender = class Gender {
|
|
@@ -12018,10 +12418,10 @@ let Gender = class Gender {
|
|
|
12018
12418
|
return this.value;
|
|
12019
12419
|
}
|
|
12020
12420
|
};
|
|
12021
|
-
__decorate([
|
|
12421
|
+
__decorate$1([
|
|
12022
12422
|
AsnProp({ type: exports.AsnPropTypes.PrintableString })
|
|
12023
12423
|
], Gender.prototype, "value", void 0);
|
|
12024
|
-
Gender = __decorate([
|
|
12424
|
+
Gender = __decorate$1([
|
|
12025
12425
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
12026
12426
|
], Gender);
|
|
12027
12427
|
let CountryOfCitizenship = class CountryOfCitizenship {
|
|
@@ -12032,20 +12432,20 @@ let CountryOfCitizenship = class CountryOfCitizenship {
|
|
|
12032
12432
|
return this.value;
|
|
12033
12433
|
}
|
|
12034
12434
|
};
|
|
12035
|
-
__decorate([
|
|
12435
|
+
__decorate$1([
|
|
12036
12436
|
AsnProp({ type: exports.AsnPropTypes.PrintableString })
|
|
12037
12437
|
], CountryOfCitizenship.prototype, "value", void 0);
|
|
12038
|
-
CountryOfCitizenship = __decorate([
|
|
12438
|
+
CountryOfCitizenship = __decorate$1([
|
|
12039
12439
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
12040
12440
|
], CountryOfCitizenship);
|
|
12041
12441
|
let CountryOfResidence = class CountryOfResidence extends CountryOfCitizenship {
|
|
12042
12442
|
};
|
|
12043
|
-
CountryOfResidence = __decorate([
|
|
12443
|
+
CountryOfResidence = __decorate$1([
|
|
12044
12444
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
12045
12445
|
], CountryOfResidence);
|
|
12046
12446
|
let Pseudonym = class Pseudonym extends DirectoryString {
|
|
12047
12447
|
};
|
|
12048
|
-
Pseudonym = __decorate([
|
|
12448
|
+
Pseudonym = __decorate$1([
|
|
12049
12449
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
12050
12450
|
], Pseudonym);
|
|
12051
12451
|
let ContentType = class ContentType {
|
|
@@ -12056,15 +12456,15 @@ let ContentType = class ContentType {
|
|
|
12056
12456
|
return this.value;
|
|
12057
12457
|
}
|
|
12058
12458
|
};
|
|
12059
|
-
__decorate([
|
|
12459
|
+
__decorate$1([
|
|
12060
12460
|
AsnProp({ type: exports.AsnPropTypes.ObjectIdentifier })
|
|
12061
12461
|
], ContentType.prototype, "value", void 0);
|
|
12062
|
-
ContentType = __decorate([
|
|
12462
|
+
ContentType = __decorate$1([
|
|
12063
12463
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
12064
12464
|
], ContentType);
|
|
12065
12465
|
let SigningTime = class SigningTime extends Time {
|
|
12066
12466
|
};
|
|
12067
|
-
SigningTime = __decorate([
|
|
12467
|
+
SigningTime = __decorate$1([
|
|
12068
12468
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
12069
12469
|
], SigningTime);
|
|
12070
12470
|
let SequenceNumber = class SequenceNumber {
|
|
@@ -12075,20 +12475,20 @@ let SequenceNumber = class SequenceNumber {
|
|
|
12075
12475
|
return this.value.toString();
|
|
12076
12476
|
}
|
|
12077
12477
|
};
|
|
12078
|
-
__decorate([
|
|
12478
|
+
__decorate$1([
|
|
12079
12479
|
AsnProp({ type: exports.AsnPropTypes.Integer })
|
|
12080
12480
|
], SequenceNumber.prototype, "value", void 0);
|
|
12081
|
-
SequenceNumber = __decorate([
|
|
12481
|
+
SequenceNumber = __decorate$1([
|
|
12082
12482
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
12083
12483
|
], SequenceNumber);
|
|
12084
12484
|
let CounterSignature = class CounterSignature extends SignerInfo {
|
|
12085
12485
|
};
|
|
12086
|
-
CounterSignature = __decorate([
|
|
12486
|
+
CounterSignature = __decorate$1([
|
|
12087
12487
|
AsnType({ type: exports.AsnTypeTypes.Sequence })
|
|
12088
12488
|
], CounterSignature);
|
|
12089
12489
|
exports.ChallengePassword = class ChallengePassword extends DirectoryString {
|
|
12090
12490
|
};
|
|
12091
|
-
exports.ChallengePassword = __decorate([
|
|
12491
|
+
exports.ChallengePassword = __decorate$1([
|
|
12092
12492
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
12093
12493
|
], exports.ChallengePassword);
|
|
12094
12494
|
exports.ExtensionRequest = ExtensionRequest_1 = class ExtensionRequest extends Extensions {
|
|
@@ -12097,7 +12497,7 @@ exports.ExtensionRequest = ExtensionRequest_1 = class ExtensionRequest extends E
|
|
|
12097
12497
|
Object.setPrototypeOf(this, ExtensionRequest_1.prototype);
|
|
12098
12498
|
}
|
|
12099
12499
|
};
|
|
12100
|
-
exports.ExtensionRequest = ExtensionRequest_1 = __decorate([
|
|
12500
|
+
exports.ExtensionRequest = ExtensionRequest_1 = __decorate$1([
|
|
12101
12501
|
AsnType({ type: exports.AsnTypeTypes.Sequence })
|
|
12102
12502
|
], exports.ExtensionRequest);
|
|
12103
12503
|
let ExtendedCertificateAttributes = ExtendedCertificateAttributes_1 = class ExtendedCertificateAttributes extends AsnArray {
|
|
@@ -12106,7 +12506,7 @@ let ExtendedCertificateAttributes = ExtendedCertificateAttributes_1 = class Exte
|
|
|
12106
12506
|
Object.setPrototypeOf(this, ExtendedCertificateAttributes_1.prototype);
|
|
12107
12507
|
}
|
|
12108
12508
|
};
|
|
12109
|
-
ExtendedCertificateAttributes = ExtendedCertificateAttributes_1 = __decorate([
|
|
12509
|
+
ExtendedCertificateAttributes = ExtendedCertificateAttributes_1 = __decorate$1([
|
|
12110
12510
|
AsnType({ type: exports.AsnTypeTypes.Set, itemType: Attribute })
|
|
12111
12511
|
], ExtendedCertificateAttributes);
|
|
12112
12512
|
let FriendlyName = class FriendlyName {
|
|
@@ -12117,15 +12517,15 @@ let FriendlyName = class FriendlyName {
|
|
|
12117
12517
|
return this.value;
|
|
12118
12518
|
}
|
|
12119
12519
|
};
|
|
12120
|
-
__decorate([
|
|
12520
|
+
__decorate$1([
|
|
12121
12521
|
AsnProp({ type: exports.AsnPropTypes.BmpString })
|
|
12122
12522
|
], FriendlyName.prototype, "value", void 0);
|
|
12123
|
-
FriendlyName = __decorate([
|
|
12523
|
+
FriendlyName = __decorate$1([
|
|
12124
12524
|
AsnType({ type: exports.AsnTypeTypes.Choice })
|
|
12125
12525
|
], FriendlyName);
|
|
12126
12526
|
let SMIMECapability = class SMIMECapability extends AlgorithmIdentifier {
|
|
12127
12527
|
};
|
|
12128
|
-
SMIMECapability = __decorate([
|
|
12528
|
+
SMIMECapability = __decorate$1([
|
|
12129
12529
|
AsnType({ type: exports.AsnTypeTypes.Sequence })
|
|
12130
12530
|
], SMIMECapability);
|
|
12131
12531
|
let SMIMECapabilities = SMIMECapabilities_1 = class SMIMECapabilities extends AsnArray {
|
|
@@ -12134,7 +12534,7 @@ let SMIMECapabilities = SMIMECapabilities_1 = class SMIMECapabilities extends As
|
|
|
12134
12534
|
Object.setPrototypeOf(this, SMIMECapabilities_1.prototype);
|
|
12135
12535
|
}
|
|
12136
12536
|
};
|
|
12137
|
-
SMIMECapabilities = SMIMECapabilities_1 = __decorate([
|
|
12537
|
+
SMIMECapabilities = SMIMECapabilities_1 = __decorate$1([
|
|
12138
12538
|
AsnType({ type: exports.AsnTypeTypes.Sequence, itemType: SMIMECapability })
|
|
12139
12539
|
], SMIMECapabilities);
|
|
12140
12540
|
|
|
@@ -12145,7 +12545,7 @@ let Attributes = Attributes_1 = class Attributes extends AsnArray {
|
|
|
12145
12545
|
Object.setPrototypeOf(this, Attributes_1.prototype);
|
|
12146
12546
|
}
|
|
12147
12547
|
};
|
|
12148
|
-
Attributes = Attributes_1 = __decorate([
|
|
12548
|
+
Attributes = Attributes_1 = __decorate$1([
|
|
12149
12549
|
AsnType({ type: exports.AsnTypeTypes.Sequence, itemType: Attribute$1 })
|
|
12150
12550
|
], Attributes);
|
|
12151
12551
|
|
|
@@ -12158,16 +12558,16 @@ class CertificationRequestInfo {
|
|
|
12158
12558
|
Object.assign(this, params);
|
|
12159
12559
|
}
|
|
12160
12560
|
}
|
|
12161
|
-
__decorate([
|
|
12561
|
+
__decorate$1([
|
|
12162
12562
|
AsnProp({ type: exports.AsnPropTypes.Integer })
|
|
12163
12563
|
], CertificationRequestInfo.prototype, "version", void 0);
|
|
12164
|
-
__decorate([
|
|
12564
|
+
__decorate$1([
|
|
12165
12565
|
AsnProp({ type: exports.Name$1 })
|
|
12166
12566
|
], CertificationRequestInfo.prototype, "subject", void 0);
|
|
12167
|
-
__decorate([
|
|
12567
|
+
__decorate$1([
|
|
12168
12568
|
AsnProp({ type: SubjectPublicKeyInfo })
|
|
12169
12569
|
], CertificationRequestInfo.prototype, "subjectPKInfo", void 0);
|
|
12170
|
-
__decorate([
|
|
12570
|
+
__decorate$1([
|
|
12171
12571
|
AsnProp({ type: Attributes, implicit: true, context: 0 })
|
|
12172
12572
|
], CertificationRequestInfo.prototype, "attributes", void 0);
|
|
12173
12573
|
|
|
@@ -12179,13 +12579,13 @@ class CertificationRequest {
|
|
|
12179
12579
|
Object.assign(this, params);
|
|
12180
12580
|
}
|
|
12181
12581
|
}
|
|
12182
|
-
__decorate([
|
|
12582
|
+
__decorate$1([
|
|
12183
12583
|
AsnProp({ type: CertificationRequestInfo })
|
|
12184
12584
|
], CertificationRequest.prototype, "certificationRequestInfo", void 0);
|
|
12185
|
-
__decorate([
|
|
12585
|
+
__decorate$1([
|
|
12186
12586
|
AsnProp({ type: AlgorithmIdentifier })
|
|
12187
12587
|
], CertificationRequest.prototype, "signatureAlgorithm", void 0);
|
|
12188
|
-
__decorate([
|
|
12588
|
+
__decorate$1([
|
|
12189
12589
|
AsnProp({ type: exports.AsnPropTypes.BitString })
|
|
12190
12590
|
], CertificationRequest.prototype, "signature", void 0);
|
|
12191
12591
|
|
|
@@ -12197,10 +12597,12 @@ exports.AsnIntegerArrayBufferConverter = AsnIntegerArrayBufferConverter;
|
|
|
12197
12597
|
exports.AsnParser = AsnParser;
|
|
12198
12598
|
exports.AsnProp = AsnProp;
|
|
12199
12599
|
exports.AsnType = AsnType;
|
|
12600
|
+
exports.AttestationApplicationId = AttestationApplicationId;
|
|
12200
12601
|
exports.Attribute = Attribute$1;
|
|
12201
12602
|
exports.AttributeCertificate = AttributeCertificate;
|
|
12202
12603
|
exports.AuthorityKeyIdentifier = AuthorityKeyIdentifier;
|
|
12203
12604
|
exports.BasicConstraints = BasicConstraints;
|
|
12605
|
+
exports.CabforganizationIdentifier = CabforganizationIdentifier;
|
|
12204
12606
|
exports.Certificate = Certificate;
|
|
12205
12607
|
exports.CertificateList = CertificateList;
|
|
12206
12608
|
exports.CertificateTemplate = CertificateTemplate;
|
|
@@ -12215,16 +12617,18 @@ exports.LogotypeExtn = LogotypeExtn;
|
|
|
12215
12617
|
exports.Name = Name;
|
|
12216
12618
|
exports.NameConstraints = NameConstraints;
|
|
12217
12619
|
exports.NetscapeCertType = NetscapeCertType;
|
|
12620
|
+
exports.NonStandardKeyDescription = NonStandardKeyDescription;
|
|
12218
12621
|
exports.OIDs = OIDs;
|
|
12219
12622
|
exports.OtherName = OtherName;
|
|
12220
12623
|
exports.PolicyConstraints = PolicyConstraints;
|
|
12221
12624
|
exports.PrivateKeyUsagePeriod = PrivateKeyUsagePeriod;
|
|
12222
12625
|
exports.RSAPublicKey = RSAPublicKey;
|
|
12626
|
+
exports.RootOfTrust = RootOfTrust;
|
|
12223
12627
|
exports.SemanticsInformation = SemanticsInformation;
|
|
12224
12628
|
exports.SubjectKeyIdentifier = SubjectKeyIdentifier;
|
|
12225
12629
|
exports.Timestamp = Timestamp;
|
|
12226
12630
|
exports.UserNotice = UserNotice;
|
|
12227
|
-
exports.__decorate = __decorate;
|
|
12631
|
+
exports.__decorate = __decorate$1;
|
|
12228
12632
|
exports.base64Format = base64Format;
|
|
12229
12633
|
exports.certificateRawToBuffer = certificateRawToBuffer;
|
|
12230
12634
|
exports.dateDiff = dateDiff;
|
|
@@ -12255,4 +12659,4 @@ exports.isX509CRLPem = isX509CRLPem;
|
|
|
12255
12659
|
exports.isX509Pem = isX509Pem;
|
|
12256
12660
|
exports.l10n = l10n;
|
|
12257
12661
|
|
|
12258
|
-
//# sourceMappingURL=certification_request-
|
|
12662
|
+
//# sourceMappingURL=certification_request-5672c667.js.map
|