@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
|
@@ -1,348 +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-c0a298fd.system.js","./p-ae9189f6.system.js","./p-6cb88fd6.system.js","./p-2fcad8cb.system.js","./p-e6a3b4d4.system.js"],(function(e){"use strict";var a,n,t,r,i,o,u,c,f,l,s,d,v,b,m,g,p,y,x,h,S,C,I,N,A,D,T,O,j,P,G,L,R,k,B,H,V,_,E,U,q,M,K,w,Q,J,X,Y,F,z,W,$,Z,ee,ae,ne,te;return{setters:[function(e){a=e.h},function(e){n=e.a1;t=e.$;r=e.a0;i=e.a2;o=e.a6;u=e.v;c=e.a7;f=e.a8;l=e.a9;s=e.aa;d=e.ab;v=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;N=e.an;A=e.ao;D=e.ap;T=e.aq;O=e.ar;j=e.as;P=e.at;G=e.au;L=e.av;R=e.aw;k=e.ax;B=e.ay;H=e.az;V=e.aA;_=e.aB;E=e.aC;U=e.aD;q=e.aE;M=e.a3;K=e.aF;w=e.aG;Q=e.aH;J=e.aI;X=e.aJ;Y=e.aK;F=e.aL;z=e.aM;W=e.aN;$=e.aO},function(e){Z=e.b},function(e){ee=e.L},function(e){ae=e.T;ne=e.B},function(e){te=e.D}],execute:function(){e("g",re);
|
|
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 re(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
|
-
*/var ie=e("c",(function(e){return"https://search.gleif.org/#/record/".concat(e)}));var oe=e("d",(function(e){return"https://search.censys.io/search?resource=hosts&q=dns.names%3A".concat(e)}));var ue=e("e",(function(e){return"https://search.censys.io/search?resource=hosts&q=ip%3A".concat(e)}));
|
|
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
|
-
*/function ce(e){return e.indexOf("http")===0}
|
|
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
|
-
*/var fe=e("T",(function(e,n){return a("tr",null,a("td",{colSpan:2},a("table",null,n)))}));var le=e("a",(function(e){var n=e.value;if(!n){return null}return[a("tr",{class:"title"},a("td",{colSpan:2},a(ae,{variant:"s1",color:"black"},n))),a("tr",null,a("td",{colSpan:2,class:"divider"},a("span",null)))]}));var se=e("R",(function(e){var n=e.name,t=e.value,r=e.monospace,i=e.collapse,o=e.href,u=e.extraValue;if(!n){return null}if(t===undefined||t===null){return null}var c;if(i){c=a("peculiar-text-hider",null,t)}else{c=t}var f=!!t.toString();return a("tr",null,a("td",{colSpan:f?1:2},a(ae,{variant:"b2",color:"gray-9"},n)),f&&a("td",{class:{monospace:r}},ce(t.toString())||o?a(ee,{variant:"b2",href:o||t.toString()},t):a(ae,{variant:"b2",color:"black"},c,u)))}));
|
|
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 de=e("B",(function(e){var n=e.serialNumber,i=e.version,o=e.validity,u=e.notBefore,c=e.notAfter,f=e.lastUpdate,l=e.nextUpdate,s=e.type;return[a(le,{value:t.getString("basicInformation")}),a(se,{name:t.getString("type"),value:s}),a(se,{name:t.getString("serialNumber"),value:n,monospace:true}),a(se,{name:t.getString("version"),value:i}),a(se,{name:t.getString("validity"),value:o}),a(se,{name:t.getString("issued"),value:u?r(u):undefined}),a(se,{name:t.getString("expired"),value:c?r(c):undefined}),a(se,{name:t.getString("lastUpdate"),value:f?r(f):undefined}),a(se,{name:t.getString("nextUpdate"),value:l?r(l):undefined})]}));
|
|
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
|
-
*/function ve(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 be(e){if(e.params&&"publicExponent"in e.params){return e.params.publicExponent.byteLength===3?65537:3}return null}var me=e("P",(function(e){var n=e.publicKey;if(!n){return null}function r(e){return[a(se,{name:t.getString("algorithm"),value:re(e.algorithm)}),a(se,{name:t.getString("namedCurve"),value:re(e.params&&"namedCurve"in e.params?e.params.namedCurve:undefined)}),a(se,{name:t.getString("exponent"),value:be(e)}),a(se,{name:t.getString("modulus"),value:ve(e)}),a(se,{name:t.getString("value"),value:Z.Convert.ToHex(e.value),monospace:true,collapse:true})]}return[a(le,{value:t.getString("publicKeyInfo")}),r(n),Array.isArray(n.params)&&n.params.length&&n.params.map((function(e){return a(fe,null,r(e))}))]}));
|
|
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
|
-
*/var ge=e("f",(function(e){var n=e.name;return[a(le,{value:t.getString("subjectName")}),n.map((function(e){return a(se,{name:e.name||e.type,value:e.value})}))]}));
|
|
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 pe=e("I",(function(e){var n=e.name,r=e.issuerDnLink;var i=t.getString("issuerName");return[a(le,{value:r?a(ee,{href:r},i):i}),n.map((function(e){return a(se,{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 ye=e("S",(function(e){var n=e.signature;if(!n){return null}function r(e){return[a(se,{name:t.getString("algorithm"),value:re(e.algorithm)}),a(se,{name:t.getString("value"),value:Z.Convert.ToHex(e.value),monospace:true,collapse:true})]}return[a(le,{value:t.getString("signature")}),r(n),n.params&&n.params.length&&n.params.map((function(e){return a(fe,null,r(e))}))]}));
|
|
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 xe=e("b",(function(e){var n=e.thumbprints;if(!n){return null}var r=Object.keys(n);if(!r.length){return null}return[a(le,{value:t.getString("fingerprints")}),r.map((function(e){return a(se,{name:e,value:n[e],monospace:true})}))]}));
|
|
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 he=function(e,n){var r=e.extension;return[a(se,{name:"Name",value:re(r.asn.extnID)}),a(se,{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)))]};
|
|
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 Se=function(e){var n=e.extension;return a(he,{extension:n},a(se,{name:"Usage",value:n.value.toJSON().join(", ")}))};
|
|
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 Ce=function(e){var n=e.extension;return a(he,{extension:n},a(se,{name:"Certificate Authority",value:n.value.cA?t.getString("yes"):t.getString("no")}),a(se,{name:"Path Length Constraint",value:n.value.pathLenConstraint}))};
|
|
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 Ie=function(e){var n=e.extension;return a(he,{extension:n},Boolean(n.value.length)&&[a(se,{name:"Purposes",value:""}),n.value.map((function(e){return a(fe,null,a(se,{name:"Purpose",value:re(e)}))}))])};
|
|
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 Ne=function(e){var n=e.extension,t=e.getSubjectKeyIdChildrenLink,r=e.getSubjectKeyIdSiblingsLink;var i=Z.Convert.ToHex(n.value.buffer);var o=t(i);var u=r(i);return a(he,{extension:n},a(se,{name:"Key ID",value:i,monospace:true,extraValue:[o&&a("span",null," [",a(ee,{href:o},"children"),"]"),u&&a("span",null," [",a(ee,{href:u},"siblings"),"]")]}))};
|
|
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 Ae=function(e){var n=e.extension,t=e.getAuthKeyIdParentLink,r=e.getAuthKeyIdSiblingsLink;var i=Z.Convert.ToHex(n.value.keyIdentifier.buffer);var o=t(i);var u=r(i);return a(he,{extension:n},a(se,{name:"Key ID",value:i,monospace:true,extraValue:[o&&a("span",null," [",a(ee,{href:o},"parents"),"]"),u&&a("span",null," [",a(ee,{href:u},"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 De={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 Te=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 d=t[e];if(d instanceof i){return[a(se,{name:De[e]||e,value:""}),a(fe,null,d.map((function(e){return e.map((function(e){return a(se,{name:n[e.type]||e.type,value:e.value.toString()})}))})))]}if(d instanceof o){try{var v=u.parse(d.value,c);return a(se,{name:n[d.typeId]||d.typeId,value:v.toString()})}catch(e){}try{var v=u.parse(d.value,f);if(v.explicitText){return a(se,{name:n[d.typeId]||d.typeId,value:v.explicitText.toString()})}}catch(e){}return a(se,{name:n[d.typeId]||d.typeId,value:Z.Convert.ToHex(d.value),monospace:true})}if(Z.BufferSourceConverter.isBufferSource(d)){return a(se,{name:De[e]||e,value:Z.Convert.ToString(d)})}if(d instanceof l){return a(se,{name:De[e]||e,value:d.partyName.toString()})}if(e==="dNSName"){return a(se,{name:De[e]||e,value:d,href:r(d)})}if(e==="iPAddress"){return a(se,{name:De[e]||e,value:d,href:s(d)})}return a(se,{name:De[e]||e,value:d})}))}));
|
|
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 Oe=function(e){var n=e.extension;return a(he,{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(Te,Object.assign({generalName:n},e))})),(r=n.cRLIssuer)===null||r===void 0?void 0:r.map((function(n){return a(Te,Object.assign({generalName:n},e))}))]})))};
|
|
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 je=function(e){var n=e.extension;return a(he,{extension:n},Boolean(n.value.length)&&[a(se,{name:"Descriptions",value:""}),n.value.map((function(n){return a(fe,null,a(se,{name:"Method",value:re(n.accessMethod)}),a(Te,Object.assign({generalName:n.accessLocation},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 Pe=function(e){var n=e.extension;return a(he,{extension:n},n.value.map((function(n){return a(Te,Object.assign({generalName:n},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 Ge=function(e){var n=e.extension;return a(he,{extension:n},Boolean(n.value.length)&&[a(se,{name:"Policies",value:""}),n.value.map((function(e){return a(fe,null,a(se,{name:"Policy ID",value:re(e.policyIdentifier)}),e.policyQualifiers&&Boolean(e.policyQualifiers.length)&&[a(se,{name:"Qualifiers",value:""}),e.policyQualifiers.map((function(e){var n=[a(se,{name:"Qualifier ID",value:re(e.policyQualifierId)})];if(e.policyQualifierId==="1.3.6.1.5.5.7.2.1"){var t=u.parse(e.qualifier,c);n.push(a(se,{name:"Value",value:t.toString()}))}if(e.policyQualifierId==="1.3.6.1.5.5.7.2.2"){var t=u.parse(e.qualifier,f);if(t.explicitText){n.push(a(se,{name:"Value",value:t.explicitText.toString()}))}}return a(fe,null,n)}))])}))])};
|
|
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 Le={"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"};
|
|
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 Re=function(e){var n=e.extension;return a(he,{extension:n},Boolean(n.value.items.length)&&[a(se,{name:"Signed Certificate Timestamps",value:""}),n.value.toJSON().map((function(e){return a(fe,null,a(se,{name:"Version",value:e.version+1}),a(se,{name:"Log Operator",value:Le[e.logId]||e.logId}),a(se,{name:"Log Key ID",value:e.logId,monospace:true}),a(se,{name:"Timestamp",value:r(e.timestamp)}),a(se,{name:"Signature Algorithm",value:"".concat(e.hashAlgorithm," ").concat(e.signatureAlgorithm).toUpperCase()}),a(se,{name:"Signature",value:e.signature,monospace:true}))}))])};
|
|
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 ke=function(e){var n,t;var r=e.extension;return a(he,{extension:r},(n=r.value.excludedSubtrees)===null||n===void 0?void 0:n.map((function(n){return a(Te,Object.assign({generalName:n.base},e))})),(t=r.value.permittedSubtrees)===null||t===void 0?void 0:t.map((function(n){return a(Te,Object.assign({generalName:n.base},e))})))};
|
|
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 Be=function(e){var n=e.extension;return a(he,{extension:n},a(se,{name:"Template ID",value:n.value.templateID}),a(se,{name:"Template Major Version",value:n.value.templateMajorVersion}),a(se,{name:"Template Minor Version",value:n.value.templateMinorVersion}))};
|
|
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 He=function(e){var n=e.extension;return a(he,{extension:n},a(se,{name:"Name",value:n.value.toString()}))};
|
|
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 Ve=function(e){var n=e.extension;var t=n.value.getVersion();return a(he,{extension:n},a(se,{name:"Certificate Index",value:t.certificateIndex}),a(se,{name:"Key Index",value:t.keyIndex}))};var _e,Ee,Ue,qe;var Me=function(){function e(e){if(typeof e==="string"){this.alphabetic=e}else if(typeof e==="number"){this.numeric=e}}return e}();s([d({type:v.PrintableString})],Me.prototype,"alphabetic",void 0);s([d({type:v.PrintableString})],Me.prototype,"numeric",void 0);Me=s([b({type:m.Choice})],Me);var Ke=function(){function e(e){if(e===void 0){e={}}this.currency=new Me;this.amount=0;this.exponent=0;Object.assign(this,e)}return e}();s([d({type:Me})],Ke.prototype,"currency",void 0);s([d({type:v.Integer})],Ke.prototype,"amount",void 0);s([d({type:v.Integer})],Ke.prototype,"exponent",void 0);var we=function(e){__extends(a,e);function a(){return e!==null&&e.apply(this,arguments)||this}return a}(Ke);we=s([b({type:m.Sequence})],we);var Qe=function(){function e(e){if(e===void 0){e=0}this.value=e}return e}();s([d({type:v.Integer})],Qe.prototype,"value",void 0);Qe=s([b({type:m.Choice})],Qe);var Je=function(){function e(e){if(e===void 0){e={}}this.url="";this.language="";Object.assign(this,e)}return e}();s([d({type:v.IA5String})],Je.prototype,"url",void 0);s([d({type:v.PrintableString})],Je.prototype,"language",void 0);Je=s([b({type:m.Sequence})],Je);var Xe=_e=function(e){__extends(a,e);function a(a){var n=e.call(this,a)||this;Object.setPrototypeOf(n,_e.prototype);return n}return a}(g);Xe=_e=s([b({type:m.Sequence,itemType:Je})],Xe);var Ye=Ee=function(e){__extends(a,e);function a(a){var n=e.call(this,a)||this;Object.setPrototypeOf(n,Ee.prototype);return n}return a}(Xe);Ye=Ee=s([b({type:m.Sequence,itemType:Je})],Ye);var Fe=Ue=function(e){__extends(a,e);function a(a){var n=e.call(this,a)||this;Object.setPrototypeOf(n,Ue.prototype);return n}return a}(g);Fe=Ue=s([b({type:m.Sequence,itemType:v.ObjectIdentifier})],Fe);var ze=qe=function(e){__extends(a,e);function a(a){var n=e.call(this,a)||this;Object.setPrototypeOf(n,qe.prototype);return n}return a}(g);ze=qe=s([b({type:m.Sequence,itemType:v.PrintableString})],ze);var We="0.4.0.1862.1";var $e="".concat(We,".3");var Ze="".concat(We,".5");var ea="".concat(We,".6");
|
|
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 aa=function(e){var n=e.extension;function t(e,n){if(!n.byteLength){return null}if(e===p){var t=u.parse(n,y);return a(se,{name:"Semantics Identifier",value:re(t.semanticsIdentifier)})}if(e===ea){var r=u.parse(n,Fe);return a(se,{name:"QC Types",value:r.map((function(e){return re(e)})).join(", ")})}if(e===$e){var i=u.parse(n,Qe);return a(se,{name:"Retention Period",value:"".concat(i.value," years")})}if(e===Ze){var o=u.parse(n,Xe);return[a(se,{name:"PDS Locations",value:""}),o.map((function(e){return a(fe,null,a(se,{name:"URL",value:e.url}),a(se,{name:"Language",value:e.language}))}))]}return a(se,{name:"Info",value:Z.Convert.ToHex(n),monospace:true})}return a(he,{extension:n},Boolean(n.value.length)&&[a(se,{name:"Statements",value:""}),n.value.map((function(e){return a(fe,null,a(se,{name:"Statement ID",value:re(e.statementId)}),t(e.statementId,e.statementInfo))}))])};
|
|
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 na=function(e){var n=e.extension;return a(he,{extension:n},a(se,{name:"Comment",value:n.value.value}))};
|
|
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 ta=function(e){var n=e.extension;return a(he,{extension:n},a(se,{name:"Type",value:n.value.toJSON().join(", ")}))};
|
|
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 ra=function(e){var n=e.extension;return a(he,{extension:n},a(se,{name:"Role",value:n.value.text}))};
|
|
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 ia=function(e){var n=e.extension,t=e.getLEILink;return a(he,{extension:n},a(se,{name:"Identifier",value:n.value.text,href:t(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 oa=function(e){var n=e.extension;return a(he,{extension:n},a(se,{name:"Version",value:n.value.version}),a(Te,Object.assign({generalName:n.value.location},e)),a(se,{name:"Requires Auth",value:n.value.requiresAuth?t.getString("yes"):t.getString("no")}))};
|
|
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 ua=function(e){var n=e.extension;return a(he,{extension:n},a(se,{name:"Version",value:n.value.version}))};
|
|
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 ca=function(e){var n=e.extension;return a(he,{extension:n},a(se,{name:"Reason",value:n.value.toJSON()}))};
|
|
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
|
-
*/function fa(e){return Z.Convert.ToString(e.values[0])}
|
|
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
|
-
*/var la=function(e){var n=e.extension;return a(he,{extension:n},Boolean(n.value.length)&&[a(se,{name:"Attributes",value:""}),n.value.map((function(e){return a(fe,null,a(se,{name:"Type",value:re(e.type)}),a(se,{name:"Value",value:fa(e)}))}))])};
|
|
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 sa=function(e){var n=e.extension;return a(he,{extension:n},a(se,{name:"Value",value:n.value,monospace:true}))};
|
|
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 da=function(e){var n=e.extension;return a(he,{extension:n},a(se,{name:"Not Before",value:r(n.value.notBefore)}),a(se,{name:"Not After",value:r(n.value.notAfter)}))};
|
|
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 va=function(e){var n=e.extension;return a(he,{extension:n},a(se,{name:"Version",value:n.value.entrustVers}),a(se,{name:"Info Flags",value:n.value.entrustInfoFlags.toJSON().join(", ")}))};
|
|
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 ba=function(e){var n=e.extension;return a(he,{extension:n},Boolean(n.value.length)&&[a(se,{name:"Biometrics",value:""}),n.value.map((function(e){return a(fe,null,a(se,{name:"OID",value:re(e.typeOfBiometricData.biometricDataOid)}),a(se,{name:"Type",value:e.typeOfBiometricData.predefinedBiometricType}),a(se,{name:"Algorithm",value:re(e.hashAlgorithm.algorithm)}),a(se,{name:"Hash",value:Z.Convert.ToHex(e.biometricDataHash.buffer),monospace:true}),a(se,{name:"Source Uri",value:e.sourceDataUri}))}))])};
|
|
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 ma=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(se,{name:"Image Type",value:n.mediaType}),a(se,{name:"Image Hash",value:Z.Convert.ToHex(n.logotypeHash[0].hashValue),monospace:true}),a(se,{name:"Image URL",value:n.logotypeURI[0],monospace:true,collapse:true}),a(se,{name:"Image Hash Algorithm",value:re(n.logotypeHash[0].hashAlg.algorithm)})]}))};var r=function(e){if(!e){return null}return e.map((function(e){var n=e.audioDetails;return[a(se,{name:"Audio Type",value:n.mediaType}),a(se,{name:"Audio Hash",value:Z.Convert.ToHex(n.logotypeHash[0].hashValue),monospace:true}),a(se,{name:"Audio URL",value:n.logotypeURI[0],monospace:true,collapse:true}),a(se,{name:"Audio Hash Algorithm",value:re(n.logotypeHash[0].hashAlg.algorithm)})]}))};var i=function(e,n){if(!n||!n.direct){return null}var i=n.direct,o=i.image,u=i.audio;return[a(se,{name:"Type",value:e}),t(o),r(u),a("tr",null,a("td",null),a("td",null))]};return a(he,{extension:n},i("Subject",n.value.subjectLogo),i("Issuer",n.value.issuerLogo))};
|
|
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 ga=function(e){var n=e.extension;return a(he,{extension:n},n.value.map((function(e,n){return[a(se,{name:"Entry #".concat(n+1),value:""}),a(se,{name:"SPC",value:e.spc}),a(se,{name:"Range",value:e.range?"start=".concat(e.range.start," count==").concat(e.range.count):null}),a(se,{name:"One",value:e.one})]})))};
|
|
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 pa=function(e){var n=e.extension;return a(he,{extension:n},n.value.requireExplicitPolicy&&a(se,{name:"Require Explicit Policy",value:x.toASN(n.value.requireExplicitPolicy).valueBlock.toString()}),n.value.inhibitPolicyMapping&&a(se,{name:"Inhibit Policy Mapping",value:x.toASN(n.value.inhibitPolicyMapping).valueBlock.toString()}))};
|
|
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 ya=function(e){var n=e.extension;return a(he,{extension:n},n.value.map((function(e,n){return[a(se,{name:"Policy #".concat(n+1),value:""}),a(se,{name:"Issuer Domain",value:re(e.issuerDomainPolicy)}),a(se,{name:"Subject Domain",value:re(e.subjectDomainPolicy)})]})))};
|
|
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 xa=function(e){var n=e.extension;return a(he,{extension:n},a(se,{name:t.getString("value"),value:n.value.value}))};
|
|
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 ha=function(e){var n;var r=e.extension;return a(he,{extension:r},(n=r.value.distributionPoint)===null||n===void 0?void 0:n.fullName.map((function(n){return a(Te,Object.assign({generalName:n},e))})),r.value.onlySomeReasons&&a(se,{name:t.getString("onlyReasons"),value:r.value.onlySomeReasons.toJSON().join(", ")}),r.value.indirectCRL&&a(se,{name:t.getString("indirectCRL"),value:t.getString("yes")}),r.value.onlyContainsUserCerts&&a(se,{name:t.getString("onlyUserCertificates"),value:t.getString("yes")}),r.value.onlyContainsAttributeCerts&&a(se,{name:t.getString("onlyAttributeCertificates"),value:t.getString("yes")}),r.value.onlyContainsCACerts&&a(se,{name:t.getString("onlyCACertificates"),value:t.getString("yes")}))};
|
|
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 Sa=e("E",(function(e){var n=e.extensions,t=e.title;if(!n||!n.length){return null}return[a(le,{value:t||"Extensions"}),n.map((function(n){try{if(n.value instanceof h){return a(Se,{extension:n})}if(n.value instanceof S){return a(Ce,{extension:n})}if(n.value instanceof C){return a(Ie,{extension:n})}if(n.value instanceof I){return a(Ne,Object.assign({extension:n},e))}if(n.value instanceof N){return a(Ae,Object.assign({extension:n},e))}if(n.value instanceof A){return a(Oe,Object.assign({extension:n},e))}if(n.value instanceof D||n.value instanceof T){return a(je,Object.assign({extension:n},e))}if(n.value instanceof O){return a(Pe,Object.assign({extension:n},e))}if(n.value instanceof j){return a(Ge,{extension:n})}if(n.value instanceof P){return a(Re,{extension:n})}if(n.value instanceof G){return a(ke,Object.assign({extension:n},e))}if(n.value instanceof L){return a(Be,{extension:n})}if(n.value instanceof R){return a(He,{extension:n})}if(n.value instanceof k){return a(Ve,{extension:n})}if(n.value instanceof B){return a(aa,{extension:n})}if(n.value instanceof H){return a(na,{extension:n})}if(n.value instanceof V){return a(ta,{extension:n})}if(n.value instanceof _){return a(ra,{extension:n})}if(n.value instanceof E){return a(ia,Object.assign({extension:n},e))}if(n.value instanceof U){return a(oa,Object.assign({extension:n},e))}if(n.value instanceof q){return a(ua,{extension:n})}if(n.value instanceof M){return a(ca,{extension:n})}if(n.value instanceof K){return a(la,{extension:n})}if(n.value instanceof w){return a(da,{extension:n})}if(n.value instanceof Q){return a(va,{extension:n})}if(n.value instanceof J){return a(ba,{extension:n})}if(n.value instanceof X){return a(ma,{extension:n})}if(n.value instanceof Y){return a(ga,{extension:n})}if(n.value instanceof F){return a(pa,{extension:n})}if(n.value instanceof z){return a(ya,{extension:n})}if(n.value instanceof W){return a(xa,{extension:n})}if(n.value instanceof $){return a(ha,Object.assign({extension:n},e))}if(typeof n.value==="string"){return a(sa,{extension:n})}return a(he,{extension:n})}catch(e){console.error("Error render extension:",n.asn.extnID);return null}}))]}));
|
|
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 Ca=e("M",(function(e){var n=e.certificate;return[a(le,{value:t.getString("miscellaneous")}),a("tr",null,a("td",null,a(ne,{onClick:function(){return n.downloadAsPEM()},startIcon:a(te,null)},t.getString("download.pem")))),a("tr",null,a("td",null,a(ne,{onClick:function(){return n.downloadAsDER()},startIcon:a(te,null)},t.getString("download.der"))))]}))}}}));
|
|
348
|
-
//# sourceMappingURL=p-c362dc5e.system.js.map
|