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