@peculiar/certificates-viewer 4.0.1 → 4.0.2
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/actions.js +21 -0
- package/components/actions.js.map +1 -0
- package/components/arrow_top.js +1 -1
- package/components/button-menu.js +2 -14
- package/components/button-menu.js.map +1 -1
- package/components/cross.js +47 -0
- package/components/cross.js.map +1 -0
- package/components/download.js +31 -1
- package/components/download.js.map +1 -1
- package/components/index.js +5 -1
- package/components/index.js.map +1 -1
- package/components/issuer_name.js +2 -2
- package/components/miscellaneous.js +2 -29
- package/components/miscellaneous.js.map +1 -1
- package/components/peculiar-certificates-viewer.js +4 -42
- package/components/peculiar-certificates-viewer.js.map +1 -1
- package/components/peculiar-text-hider.js +1 -1
- package/dist/cjs/actions-19013d4a.js +23 -0
- package/dist/cjs/actions-19013d4a.js.map +1 -0
- package/dist/cjs/cross-9872c473.js +51 -0
- package/dist/cjs/cross-9872c473.js.map +1 -0
- package/dist/cjs/index.cjs.js +17 -0
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/link-6aea0be4.js +25 -0
- package/dist/cjs/link-6aea0be4.js.map +1 -0
- package/dist/cjs/{miscellaneous-806a04a5.js → miscellaneous-e43aaae5.js} +8 -21
- package/dist/cjs/miscellaneous-e43aaae5.js.map +1 -0
- package/dist/cjs/peculiar-attribute-certificate-viewer_3.cjs.entry.js +2 -1
- package/dist/cjs/peculiar-attribute-certificate-viewer_3.cjs.entry.js.map +1 -1
- package/dist/cjs/peculiar-button-menu_3.cjs.entry.js +2 -14
- package/dist/cjs/peculiar-button-menu_3.cjs.entry.js.map +1 -1
- package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js +2 -1
- package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js.map +1 -1
- package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js +6 -44
- package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js.map +1 -1
- package/dist/collection/index.js +4 -0
- package/dist/collection/index.js.map +1 -1
- package/dist/esm/actions-8d745b2a.js +21 -0
- package/dist/esm/actions-8d745b2a.js.map +1 -0
- package/dist/esm/{arrow_top-efd3a56d.js → arrow_top-fc298828.js} +2 -2
- package/dist/esm/{arrow_top-efd3a56d.js.map → arrow_top-fc298828.js.map} +1 -1
- package/dist/esm/cross-9ec9a759.js +47 -0
- package/dist/esm/cross-9ec9a759.js.map +1 -0
- package/dist/esm/index.js +7 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/link-ad24c3be.js +23 -0
- package/dist/esm/link-ad24c3be.js.map +1 -0
- package/dist/esm/{miscellaneous-1d4e8b41.js → miscellaneous-7793a310.js} +2 -15
- package/dist/esm/miscellaneous-7793a310.js.map +1 -0
- package/dist/esm/peculiar-attribute-certificate-viewer_3.entry.js +2 -1
- package/dist/esm/peculiar-attribute-certificate-viewer_3.entry.js.map +1 -1
- package/dist/esm/peculiar-button-menu_3.entry.js +2 -14
- package/dist/esm/peculiar-button-menu_3.entry.js.map +1 -1
- package/dist/esm/peculiar-certificate-viewer.entry.js +2 -1
- package/dist/esm/peculiar-certificate-viewer.entry.js.map +1 -1
- package/dist/esm/peculiar-certificates-viewer.entry.js +2 -40
- package/dist/esm/peculiar-certificates-viewer.entry.js.map +1 -1
- package/dist/esm/peculiar-text-hider.entry.js +1 -1
- package/dist/esm-es5/actions-8d745b2a.js +12 -0
- package/dist/esm-es5/actions-8d745b2a.js.map +1 -0
- package/dist/esm-es5/{arrow_top-efd3a56d.js → arrow_top-fc298828.js} +2 -2
- package/dist/esm-es5/cross-9ec9a759.js +26 -0
- package/dist/esm-es5/cross-9ec9a759.js.map +1 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/link-ad24c3be.js +12 -0
- package/dist/esm-es5/link-ad24c3be.js.map +1 -0
- package/dist/esm-es5/{miscellaneous-1d4e8b41.js → miscellaneous-7793a310.js} +2 -9
- package/dist/esm-es5/miscellaneous-7793a310.js.map +1 -0
- package/dist/esm-es5/peculiar-attribute-certificate-viewer_3.entry.js +1 -1
- package/dist/esm-es5/peculiar-button-menu_3.entry.js +1 -8
- package/dist/esm-es5/peculiar-button-menu_3.entry.js.map +1 -1
- package/dist/esm-es5/peculiar-certificate-viewer.entry.js +1 -1
- package/dist/esm-es5/peculiar-certificate-viewer.entry.js.map +1 -1
- package/dist/esm-es5/peculiar-certificates-viewer.entry.js +2 -23
- package/dist/esm-es5/peculiar-certificates-viewer.entry.js.map +1 -1
- package/dist/esm-es5/peculiar-text-hider.entry.js +1 -1
- package/dist/peculiar/index.esm.js +1 -1
- package/dist/peculiar/{p-7ed7cd97.system.entry.js → p-0b475f2a.system.entry.js} +2 -2
- package/dist/peculiar/{p-709994c1.js → p-0fc2e2b4.js} +2 -2
- package/dist/peculiar/p-1844b807.system.entry.js +5 -0
- package/dist/peculiar/{p-26981468.system.entry.js.map → p-1844b807.system.entry.js.map} +1 -1
- package/dist/peculiar/p-1ceb0fe3.js +12 -0
- package/dist/peculiar/p-1ceb0fe3.js.map +1 -0
- package/dist/peculiar/p-1de0381c.system.js +5 -0
- package/dist/peculiar/p-33196289.entry.js +5 -0
- package/dist/peculiar/{p-90459cec.entry.js.map → p-33196289.entry.js.map} +1 -1
- package/dist/peculiar/p-370cee20.js +26 -0
- package/dist/peculiar/p-370cee20.js.map +1 -0
- package/dist/peculiar/p-441109db.system.entry.js +13 -0
- package/dist/peculiar/p-441109db.system.entry.js.map +1 -0
- package/dist/peculiar/{p-8748391f.system.entry.js → p-5151cb6f.system.entry.js} +2 -2
- package/dist/peculiar/p-53784f15.system.entry.js +5 -0
- package/dist/peculiar/p-53784f15.system.entry.js.map +1 -0
- package/dist/peculiar/p-5ab007e9.entry.js +5 -0
- package/dist/peculiar/p-5ab007e9.entry.js.map +1 -0
- package/dist/peculiar/{p-f3d85a5f.entry.js → p-673336cf.entry.js} +3 -3
- package/dist/peculiar/p-6cb88fd6.system.js +13 -0
- package/dist/peculiar/p-6cb88fd6.system.js.map +1 -0
- package/dist/peculiar/p-7f9fef87.entry.js +5 -0
- package/dist/peculiar/{p-fd4b9a50.entry.js.map → p-7f9fef87.entry.js.map} +1 -1
- package/dist/peculiar/p-80832207.system.js +1 -1
- package/dist/peculiar/p-94a453d7.js +12 -0
- package/dist/peculiar/p-94a453d7.js.map +1 -0
- package/dist/peculiar/{p-97688065.js → p-a6e2e335.js} +27 -34
- package/dist/peculiar/p-a6e2e335.js.map +1 -0
- package/dist/peculiar/p-b313be9e.system.js +13 -0
- package/dist/peculiar/p-b313be9e.system.js.map +1 -0
- package/dist/peculiar/p-bcc86979.entry.js +12 -0
- package/dist/peculiar/p-bcc86979.entry.js.map +1 -0
- package/dist/peculiar/{p-0bdcdbf7.system.js → p-c362dc5e.system.js} +26 -33
- package/dist/peculiar/p-c362dc5e.system.js.map +1 -0
- package/dist/peculiar/{p-daf23673.system.js → p-c99507d4.system.js} +3 -3
- package/dist/peculiar/p-ddae2f8e.system.js +27 -0
- package/dist/peculiar/p-ddae2f8e.system.js.map +1 -0
- package/dist/peculiar/peculiar.esm.js +1 -1
- package/dist/types/index.d.ts +4 -0
- package/package.json +2 -2
- package/dist/cjs/miscellaneous-806a04a5.js.map +0 -1
- package/dist/esm/miscellaneous-1d4e8b41.js.map +0 -1
- package/dist/esm-es5/miscellaneous-1d4e8b41.js.map +0 -1
- package/dist/peculiar/p-0bdcdbf7.system.js.map +0 -1
- package/dist/peculiar/p-23555789.system.entry.js +0 -34
- package/dist/peculiar/p-23555789.system.entry.js.map +0 -1
- package/dist/peculiar/p-26981468.system.entry.js +0 -5
- package/dist/peculiar/p-5823e6e8.entry.js +0 -12
- package/dist/peculiar/p-5823e6e8.entry.js.map +0 -1
- package/dist/peculiar/p-596836a7.entry.js +0 -33
- package/dist/peculiar/p-596836a7.entry.js.map +0 -1
- package/dist/peculiar/p-90459cec.entry.js +0 -5
- package/dist/peculiar/p-97688065.js.map +0 -1
- package/dist/peculiar/p-bd485115.system.entry.js +0 -13
- package/dist/peculiar/p-bd485115.system.entry.js.map +0 -1
- package/dist/peculiar/p-e1960173.system.js +0 -5
- package/dist/peculiar/p-fd4b9a50.entry.js +0 -5
- /package/dist/esm-es5/{arrow_top-efd3a56d.js.map → arrow_top-fc298828.js.map} +0 -0
- /package/dist/peculiar/{p-7ed7cd97.system.entry.js.map → p-0b475f2a.system.entry.js.map} +0 -0
- /package/dist/peculiar/{p-709994c1.js.map → p-0fc2e2b4.js.map} +0 -0
- /package/dist/peculiar/{p-e1960173.system.js.map → p-1de0381c.system.js.map} +0 -0
- /package/dist/peculiar/{p-8748391f.system.entry.js.map → p-5151cb6f.system.entry.js.map} +0 -0
- /package/dist/peculiar/{p-f3d85a5f.entry.js.map → p-673336cf.entry.js.map} +0 -0
- /package/dist/peculiar/{p-daf23673.system.js.map → p-c99507d4.system.js.map} +0 -0
|
@@ -1,42 +1,35 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import{h as e}from"./p-0b356bb5.js";import{a1 as a,$ as n,a0 as t,a2 as c,a6 as o,v as s,a7 as r,a8 as i,a9 as f,aa as u,ab as l,ac as d,ad as b,ae as m,af as v,ag as x,ah as p,ai as g,aj as y,ak as h,al as C,am as N,an as S,ao as A,ap as D,aq as I,ar as j,as as T,at as G,au as O,av as
|
|
4
|
+
import{h as e}from"./p-0b356bb5.js";import{a1 as a,$ as n,a0 as t,a2 as c,a6 as o,v as s,a7 as r,a8 as i,a9 as f,aa as u,ab as l,ac as d,ad as b,ae as m,af as v,ag as x,ah as p,ai as g,aj as y,ak as h,al as C,am as N,an as S,ao as A,ap as D,aq as I,ar as j,as as T,at as G,au as O,av as L,aw as P,ax as k,ay as R,az as V,aA as $,aB as B,aC as E,aD as U,aE as K,a3 as H,aF as M,aG as X,aH as Y,aI as q,aJ as w,aK as z,aL as F,aM as Q,aN as W,aO as J}from"./p-74c241e7.js";import{b as Z}from"./p-a053c132.js";import{L as _}from"./p-94a453d7.js";import{T as ee,B as ae}from"./p-7f9beaa8.js";import{D as ne}from"./p-17e3c47b.js";
|
|
5
5
|
/**
|
|
6
6
|
* @license
|
|
7
7
|
* Copyright (c) Peculiar Ventures, LLC.
|
|
8
8
|
*
|
|
9
9
|
* This source code is licensed under the MIT license found in the
|
|
10
10
|
* LICENSE file in the root directory of this source tree.
|
|
11
|
-
*/function
|
|
11
|
+
*/function te(e){const n=a[e];if(n){return`${n} (${e})`}return e}
|
|
12
12
|
/**
|
|
13
13
|
* @license
|
|
14
14
|
* Copyright (c) Peculiar Ventures, LLC.
|
|
15
15
|
*
|
|
16
16
|
* This source code is licensed under the MIT license found in the
|
|
17
17
|
* LICENSE file in the root directory of this source tree.
|
|
18
|
-
*/const
|
|
18
|
+
*/const ce=e=>`https://search.gleif.org/#/record/${e}`;const oe=e=>`https://search.censys.io/search?resource=hosts&q=dns.names%3A${e}`;const se=e=>`https://search.censys.io/search?resource=hosts&q=ip%3A${e}`
|
|
19
19
|
/**
|
|
20
20
|
* @license
|
|
21
21
|
* Copyright (c) Peculiar Ventures, LLC.
|
|
22
22
|
*
|
|
23
23
|
* This source code is licensed under the MIT license found in the
|
|
24
24
|
* LICENSE file in the root directory of this source tree.
|
|
25
|
-
*/;function
|
|
25
|
+
*/;function re(e){return e.indexOf("http")===0}
|
|
26
26
|
/**
|
|
27
27
|
* @license
|
|
28
28
|
* Copyright (c) Peculiar Ventures, LLC.
|
|
29
29
|
*
|
|
30
30
|
* This source code is licensed under the MIT license found in the
|
|
31
31
|
* LICENSE file in the root directory of this source tree.
|
|
32
|
-
*/const
|
|
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
|
-
*/const ie=(a,n)=>e("tr",null,e("td",{colSpan:2},e("table",null,n)));const fe=a=>{const{value:n}=a;if(!n){return null}return[e("tr",{class:"title"},e("td",{colSpan:2},e(Z,{variant:"s1",color:"black"},n))),e("tr",null,e("td",{colSpan:2,class:"divider"},e("span",null)))]};const ue=a=>{const{name:n,value:t,monospace:c,collapse:o,href:s,extraValue:r}=a;if(!n){return null}if(t===undefined||t===null){return null}let i;if(o){i=e("peculiar-text-hider",null,t)}else{i=t}const f=!!t.toString();return e("tr",null,e("td",{colSpan:f?1:2},e(Z,{variant:"b2",color:"gray-9"},n)),f&&e("td",{class:{monospace:c}},se(t.toString())||s?e(re,{variant:"b2",href:s||t.toString()},t):e(Z,{variant:"b2",color:"black"},i,r)))};
|
|
32
|
+
*/const ie=(a,n)=>e("tr",null,e("td",{colSpan:2},e("table",null,n)));const fe=a=>{const{value:n}=a;if(!n){return null}return[e("tr",{class:"title"},e("td",{colSpan:2},e(ee,{variant:"s1",color:"black"},n))),e("tr",null,e("td",{colSpan:2,class:"divider"},e("span",null)))]};const ue=a=>{const{name:n,value:t,monospace:c,collapse:o,href:s,extraValue:r}=a;if(!n){return null}if(t===undefined||t===null){return null}let i;if(o){i=e("peculiar-text-hider",null,t)}else{i=t}const f=!!t.toString();return e("tr",null,e("td",{colSpan:f?1:2},e(ee,{variant:"b2",color:"gray-9"},n)),f&&e("td",{class:{monospace:c}},re(t.toString())||s?e(_,{variant:"b2",href:s||t.toString()},t):e(ee,{variant:"b2",color:"black"},i,r)))};
|
|
40
33
|
/**
|
|
41
34
|
* @license
|
|
42
35
|
* Copyright (c) Peculiar Ventures, LLC.
|
|
@@ -50,7 +43,7 @@ import{h as e}from"./p-0b356bb5.js";import{a1 as a,$ as n,a0 as t,a2 as c,a6 as
|
|
|
50
43
|
*
|
|
51
44
|
* This source code is licensed under the MIT license found in the
|
|
52
45
|
* LICENSE file in the root directory of this source tree.
|
|
53
|
-
*/function de(e){if(e.params&&"modulus"in e.params){let 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}const me=a=>{const{publicKey:t}=a;if(!t){return null}function c(a){return[e(ue,{name:n.getString("algorithm"),value:
|
|
46
|
+
*/function de(e){if(e.params&&"modulus"in e.params){let 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}const me=a=>{const{publicKey:t}=a;if(!t){return null}function c(a){return[e(ue,{name:n.getString("algorithm"),value:te(a.algorithm)}),e(ue,{name:n.getString("namedCurve"),value:te(a.params&&"namedCurve"in a.params?a.params.namedCurve:undefined)}),e(ue,{name:n.getString("exponent"),value:be(a)}),e(ue,{name:n.getString("modulus"),value:de(a)}),e(ue,{name:n.getString("value"),value:Z.Convert.ToHex(a.value),monospace:true,collapse:true})]}return[e(fe,{value:n.getString("publicKeyInfo")}),c(t),Array.isArray(t.params)&&t.params.length&&t.params.map((a=>e(ie,null,c(a))))]};
|
|
54
47
|
/**
|
|
55
48
|
* @license
|
|
56
49
|
* Copyright (c) Peculiar Ventures, LLC.
|
|
@@ -64,14 +57,14 @@ import{h as e}from"./p-0b356bb5.js";import{a1 as a,$ as n,a0 as t,a2 as c,a6 as
|
|
|
64
57
|
*
|
|
65
58
|
* This source code is licensed under the MIT license found in the
|
|
66
59
|
* LICENSE file in the root directory of this source tree.
|
|
67
|
-
*/const xe=a=>{const{name:t,issuerDnLink:c}=a;const o=n.getString("issuerName");return[e(fe,{value:c?e(
|
|
60
|
+
*/const xe=a=>{const{name:t,issuerDnLink:c}=a;const o=n.getString("issuerName");return[e(fe,{value:c?e(_,{href:c},o):o}),t.map((a=>e(ue,{name:a.name||a.type,value:a.value})))]};
|
|
68
61
|
/**
|
|
69
62
|
* @license
|
|
70
63
|
* Copyright (c) Peculiar Ventures, LLC.
|
|
71
64
|
*
|
|
72
65
|
* This source code is licensed under the MIT license found in the
|
|
73
66
|
* LICENSE file in the root directory of this source tree.
|
|
74
|
-
*/const pe=a=>{const{signature:t}=a;if(!t){return null}function c(a){return[e(ue,{name:n.getString("algorithm"),value:
|
|
67
|
+
*/const pe=a=>{const{signature:t}=a;if(!t){return null}function c(a){return[e(ue,{name:n.getString("algorithm"),value:te(a.algorithm)}),e(ue,{name:n.getString("value"),value:Z.Convert.ToHex(a.value),monospace:true,collapse:true})]}return[e(fe,{value:n.getString("signature")}),c(t),t.params&&t.params.length&&t.params.map((a=>e(ie,null,c(a))))]};
|
|
75
68
|
/**
|
|
76
69
|
* @license
|
|
77
70
|
* Copyright (c) Peculiar Ventures, LLC.
|
|
@@ -85,7 +78,7 @@ import{h as e}from"./p-0b356bb5.js";import{a1 as a,$ as n,a0 as t,a2 as c,a6 as
|
|
|
85
78
|
*
|
|
86
79
|
* This source code is licensed under the MIT license found in the
|
|
87
80
|
* LICENSE file in the root directory of this source tree.
|
|
88
|
-
*/const ye=(a,t)=>{const{extension:c}=a;return[e(ue,{name:"Name",value:
|
|
81
|
+
*/const ye=(a,t)=>{const{extension:c}=a;return[e(ue,{name:"Name",value:te(c.asn.extnID)}),e(ue,{name:"Critical",value:c.asn.critical?n.getString("yes"):n.getString("no")}),t,e("tr",null,e("td",{colSpan:2,class:"divider"},e("span",null)))]};
|
|
89
82
|
/**
|
|
90
83
|
* @license
|
|
91
84
|
* Copyright (c) Peculiar Ventures, LLC.
|
|
@@ -106,28 +99,28 @@ import{h as e}from"./p-0b356bb5.js";import{a1 as a,$ as n,a0 as t,a2 as c,a6 as
|
|
|
106
99
|
*
|
|
107
100
|
* This source code is licensed under the MIT license found in the
|
|
108
101
|
* LICENSE file in the root directory of this source tree.
|
|
109
|
-
*/const Ne=a=>{const{extension:n}=a;return e(ye,{extension:n},Boolean(n.value.length)&&[e(ue,{name:"Purposes",value:""}),n.value.map((a=>e(ie,null,e(ue,{name:"Purpose",value:
|
|
102
|
+
*/const Ne=a=>{const{extension:n}=a;return e(ye,{extension:n},Boolean(n.value.length)&&[e(ue,{name:"Purposes",value:""}),n.value.map((a=>e(ie,null,e(ue,{name:"Purpose",value:te(a)}))))])};
|
|
110
103
|
/**
|
|
111
104
|
* @license
|
|
112
105
|
* Copyright (c) Peculiar Ventures, LLC.
|
|
113
106
|
*
|
|
114
107
|
* This source code is licensed under the MIT license found in the
|
|
115
108
|
* LICENSE file in the root directory of this source tree.
|
|
116
|
-
*/const Se=a=>{const{extension:n,getSubjectKeyIdChildrenLink:t,getSubjectKeyIdSiblingsLink:c}=a;const o=
|
|
109
|
+
*/const Se=a=>{const{extension:n,getSubjectKeyIdChildrenLink:t,getSubjectKeyIdSiblingsLink:c}=a;const o=Z.Convert.ToHex(n.value.buffer);const s=t(o);const r=c(o);return e(ye,{extension:n},e(ue,{name:"Key ID",value:o,monospace:true,extraValue:[s&&e("span",null," [",e(_,{href:s},"children"),"]"),r&&e("span",null," [",e(_,{href:r},"siblings"),"]")]}))};
|
|
117
110
|
/**
|
|
118
111
|
* @license
|
|
119
112
|
* Copyright (c) Peculiar Ventures, LLC.
|
|
120
113
|
*
|
|
121
114
|
* This source code is licensed under the MIT license found in the
|
|
122
115
|
* LICENSE file in the root directory of this source tree.
|
|
123
|
-
*/const Ae=a=>{const{extension:n,getAuthKeyIdParentLink:t,getAuthKeyIdSiblingsLink:c}=a;const o=
|
|
116
|
+
*/const Ae=a=>{const{extension:n,getAuthKeyIdParentLink:t,getAuthKeyIdSiblingsLink:c}=a;const o=Z.Convert.ToHex(n.value.keyIdentifier.buffer);const s=t(o);const r=c(o);return e(ye,{extension:n},e(ue,{name:"Key ID",value:o,monospace:true,extraValue:[s&&e("span",null," [",e(_,{href:s},"parents"),"]"),r&&e("span",null," [",e(_,{href:r},"siblings"),"]")]}))};
|
|
124
117
|
/**
|
|
125
118
|
* @license
|
|
126
119
|
* Copyright (c) Peculiar Ventures, LLC.
|
|
127
120
|
*
|
|
128
121
|
* This source code is licensed under the MIT license found in the
|
|
129
122
|
* LICENSE file in the root directory of this source tree.
|
|
130
|
-
*/const 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"};const Ie=n=>{const{generalName:t,getDNSNameLink:u,getIPAddressLink:l}=n;if(!t){return null}return Object.keys(t).map((n=>{const d=t[n];if(d instanceof c){return[e(ue,{name:De[n]||n,value:""}),e(ie,null,d.map((n=>n.map((n=>e(ue,{name:a[n.type]||n.type,value:n.value.toString()}))))))]}if(d instanceof o){try{const n=s.parse(d.value,r);return e(ue,{name:a[d.typeId]||d.typeId,value:n.toString()})}catch(e){}try{const n=s.parse(d.value,i);if(n.explicitText){return e(ue,{name:a[d.typeId]||d.typeId,value:n.explicitText.toString()})}}catch(e){}return e(ue,{name:a[d.typeId]||d.typeId,value:
|
|
123
|
+
*/const 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"};const Ie=n=>{const{generalName:t,getDNSNameLink:u,getIPAddressLink:l}=n;if(!t){return null}return Object.keys(t).map((n=>{const d=t[n];if(d instanceof c){return[e(ue,{name:De[n]||n,value:""}),e(ie,null,d.map((n=>n.map((n=>e(ue,{name:a[n.type]||n.type,value:n.value.toString()}))))))]}if(d instanceof o){try{const n=s.parse(d.value,r);return e(ue,{name:a[d.typeId]||d.typeId,value:n.toString()})}catch(e){}try{const n=s.parse(d.value,i);if(n.explicitText){return e(ue,{name:a[d.typeId]||d.typeId,value:n.explicitText.toString()})}}catch(e){}return e(ue,{name:a[d.typeId]||d.typeId,value:Z.Convert.ToHex(d.value),monospace:true})}if(Z.BufferSourceConverter.isBufferSource(d)){return e(ue,{name:De[n]||n,value:Z.Convert.ToString(d)})}if(d instanceof f){return e(ue,{name:De[n]||n,value:d.partyName.toString()})}if(n==="dNSName"){return e(ue,{name:De[n]||n,value:d,href:u(d)})}if(n==="iPAddress"){return e(ue,{name:De[n]||n,value:d,href:l(d)})}return e(ue,{name:De[n]||n,value:d})}))};
|
|
131
124
|
/**
|
|
132
125
|
* @license
|
|
133
126
|
* Copyright (c) Peculiar Ventures, LLC.
|
|
@@ -141,7 +134,7 @@ import{h as e}from"./p-0b356bb5.js";import{a1 as a,$ as n,a0 as t,a2 as c,a6 as
|
|
|
141
134
|
*
|
|
142
135
|
* This source code is licensed under the MIT license found in the
|
|
143
136
|
* LICENSE file in the root directory of this source tree.
|
|
144
|
-
*/const Te=a=>{const{extension:n}=a;return e(ye,{extension:n},Boolean(n.value.length)&&[e(ue,{name:"Descriptions",value:""}),n.value.map((n=>e(ie,null,e(ue,{name:"Method",value:
|
|
137
|
+
*/const Te=a=>{const{extension:n}=a;return e(ye,{extension:n},Boolean(n.value.length)&&[e(ue,{name:"Descriptions",value:""}),n.value.map((n=>e(ie,null,e(ue,{name:"Method",value:te(n.accessMethod)}),e(Ie,Object.assign({generalName:n.accessLocation},a)))))])};
|
|
145
138
|
/**
|
|
146
139
|
* @license
|
|
147
140
|
* Copyright (c) Peculiar Ventures, LLC.
|
|
@@ -155,21 +148,21 @@ import{h as e}from"./p-0b356bb5.js";import{a1 as a,$ as n,a0 as t,a2 as c,a6 as
|
|
|
155
148
|
*
|
|
156
149
|
* This source code is licensed under the MIT license found in the
|
|
157
150
|
* LICENSE file in the root directory of this source tree.
|
|
158
|
-
*/const Oe=a=>{const{extension:n}=a;return e(ye,{extension:n},Boolean(n.value.length)&&[e(ue,{name:"Policies",value:""}),n.value.map((a=>e(ie,null,e(ue,{name:"Policy ID",value:
|
|
151
|
+
*/const Oe=a=>{const{extension:n}=a;return e(ye,{extension:n},Boolean(n.value.length)&&[e(ue,{name:"Policies",value:""}),n.value.map((a=>e(ie,null,e(ue,{name:"Policy ID",value:te(a.policyIdentifier)}),a.policyQualifiers&&Boolean(a.policyQualifiers.length)&&[e(ue,{name:"Qualifiers",value:""}),a.policyQualifiers.map((a=>{const n=[e(ue,{name:"Qualifier ID",value:te(a.policyQualifierId)})];if(a.policyQualifierId==="1.3.6.1.5.5.7.2.1"){const t=s.parse(a.qualifier,r);n.push(e(ue,{name:"Value",value:t.toString()}))}if(a.policyQualifierId==="1.3.6.1.5.5.7.2.2"){const t=s.parse(a.qualifier,i);if(t.explicitText){n.push(e(ue,{name:"Value",value:t.explicitText.toString()}))}}return e(ie,null,n)}))])))])};
|
|
159
152
|
/**
|
|
160
153
|
* @license
|
|
161
154
|
* Copyright (c) Peculiar Ventures, LLC.
|
|
162
155
|
*
|
|
163
156
|
* This source code is licensed under the MIT license found in the
|
|
164
157
|
* LICENSE file in the root directory of this source tree.
|
|
165
|
-
*/const
|
|
158
|
+
*/const 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"};
|
|
166
159
|
/**
|
|
167
160
|
* @license
|
|
168
161
|
* Copyright (c) Peculiar Ventures, LLC.
|
|
169
162
|
*
|
|
170
163
|
* This source code is licensed under the MIT license found in the
|
|
171
164
|
* LICENSE file in the root directory of this source tree.
|
|
172
|
-
*/const
|
|
165
|
+
*/const Pe=a=>{const{extension:n}=a;return e(ye,{extension:n},Boolean(n.value.items.length)&&[e(ue,{name:"Signed Certificate Timestamps",value:""}),n.value.toJSON().map((a=>e(ie,null,e(ue,{name:"Version",value:a.version+1}),e(ue,{name:"Log Operator",value:Le[a.logId]||a.logId}),e(ue,{name:"Log Key ID",value:a.logId,monospace:true}),e(ue,{name:"Timestamp",value:t(a.timestamp)}),e(ue,{name:"Signature Algorithm",value:`${a.hashAlgorithm} ${a.signatureAlgorithm}`.toUpperCase()}),e(ue,{name:"Signature",value:a.signature,monospace:true}))))])};
|
|
173
166
|
/**
|
|
174
167
|
* @license
|
|
175
168
|
* Copyright (c) Peculiar Ventures, LLC.
|
|
@@ -197,14 +190,14 @@ import{h as e}from"./p-0b356bb5.js";import{a1 as a,$ as n,a0 as t,a2 as c,a6 as
|
|
|
197
190
|
*
|
|
198
191
|
* This source code is licensed under the MIT license found in the
|
|
199
192
|
* LICENSE file in the root directory of this source tree.
|
|
200
|
-
*/const $e=a=>{const{extension:n}=a;const t=n.value.getVersion();return e(ye,{extension:n},e(ue,{name:"Certificate Index",value:t.certificateIndex}),e(ue,{name:"Key Index",value:t.keyIndex}))};var Be,Ee,Ue,Ke;let He=class e{constructor(e){if(typeof e==="string"){this.alphabetic=e}else if(typeof e==="number"){this.numeric=e}}};u([l({type:d.PrintableString})],He.prototype,"alphabetic",void 0);u([l({type:d.PrintableString})],He.prototype,"numeric",void 0);He=u([b({type:m.Choice})],He);class Me{constructor(e={}){this.currency=new He;this.amount=0;this.exponent=0;Object.assign(this,e)}}u([l({type:He})],Me.prototype,"currency",void 0);u([l({type:d.Integer})],Me.prototype,"amount",void 0);u([l({type:d.Integer})],Me.prototype,"exponent",void 0);let Xe=class e extends Me{};Xe=u([b({type:m.Sequence})],Xe);let Ye=class e{constructor(e=0){this.value=e}};u([l({type:d.Integer})],Ye.prototype,"value",void 0);Ye=u([b({type:m.Choice})],Ye);let qe=class e{constructor(e={}){this.url="";this.language="";Object.assign(this,e)}};u([l({type:d.IA5String})],qe.prototype,"url",void 0);u([l({type:d.PrintableString})],qe.prototype,"language",void 0);qe=u([b({type:m.Sequence})],qe);let we=Be=class e extends v{constructor(e){super(e);Object.setPrototypeOf(this,Be.prototype)}};we=Be=u([b({type:m.Sequence,itemType:qe})],we);let ze=Ee=class e extends we{constructor(e){super(e);Object.setPrototypeOf(this,Ee.prototype)}};ze=Ee=u([b({type:m.Sequence,itemType:qe})],ze);let Fe=Ue=class e extends v{constructor(e){super(e);Object.setPrototypeOf(this,Ue.prototype)}};Fe=Ue=u([b({type:m.Sequence,itemType:d.ObjectIdentifier})],Fe);let Qe=Ke=class e extends v{constructor(e){super(e);Object.setPrototypeOf(this,Ke.prototype)}};Qe=Ke=u([b({type:m.Sequence,itemType:d.PrintableString})],Qe);const We="0.4.0.1862.1";const Je=`${We}.3`;const
|
|
193
|
+
*/const $e=a=>{const{extension:n}=a;const t=n.value.getVersion();return e(ye,{extension:n},e(ue,{name:"Certificate Index",value:t.certificateIndex}),e(ue,{name:"Key Index",value:t.keyIndex}))};var Be,Ee,Ue,Ke;let He=class e{constructor(e){if(typeof e==="string"){this.alphabetic=e}else if(typeof e==="number"){this.numeric=e}}};u([l({type:d.PrintableString})],He.prototype,"alphabetic",void 0);u([l({type:d.PrintableString})],He.prototype,"numeric",void 0);He=u([b({type:m.Choice})],He);class Me{constructor(e={}){this.currency=new He;this.amount=0;this.exponent=0;Object.assign(this,e)}}u([l({type:He})],Me.prototype,"currency",void 0);u([l({type:d.Integer})],Me.prototype,"amount",void 0);u([l({type:d.Integer})],Me.prototype,"exponent",void 0);let Xe=class e extends Me{};Xe=u([b({type:m.Sequence})],Xe);let Ye=class e{constructor(e=0){this.value=e}};u([l({type:d.Integer})],Ye.prototype,"value",void 0);Ye=u([b({type:m.Choice})],Ye);let qe=class e{constructor(e={}){this.url="";this.language="";Object.assign(this,e)}};u([l({type:d.IA5String})],qe.prototype,"url",void 0);u([l({type:d.PrintableString})],qe.prototype,"language",void 0);qe=u([b({type:m.Sequence})],qe);let we=Be=class e extends v{constructor(e){super(e);Object.setPrototypeOf(this,Be.prototype)}};we=Be=u([b({type:m.Sequence,itemType:qe})],we);let ze=Ee=class e extends we{constructor(e){super(e);Object.setPrototypeOf(this,Ee.prototype)}};ze=Ee=u([b({type:m.Sequence,itemType:qe})],ze);let Fe=Ue=class e extends v{constructor(e){super(e);Object.setPrototypeOf(this,Ue.prototype)}};Fe=Ue=u([b({type:m.Sequence,itemType:d.ObjectIdentifier})],Fe);let Qe=Ke=class e extends v{constructor(e){super(e);Object.setPrototypeOf(this,Ke.prototype)}};Qe=Ke=u([b({type:m.Sequence,itemType:d.PrintableString})],Qe);const We="0.4.0.1862.1";const Je=`${We}.3`;const Ze=`${We}.5`;const _e=`${We}.6`
|
|
201
194
|
/**
|
|
202
195
|
* @license
|
|
203
196
|
* Copyright (c) Peculiar Ventures, LLC.
|
|
204
197
|
*
|
|
205
198
|
* This source code is licensed under the MIT license found in the
|
|
206
199
|
* LICENSE file in the root directory of this source tree.
|
|
207
|
-
*/;const ea=a=>{const{extension:n}=a;function t(a,n){if(!n.byteLength){return null}if(a===x){const a=s.parse(n,p);return e(ue,{name:"Semantics Identifier",value:
|
|
200
|
+
*/;const ea=a=>{const{extension:n}=a;function t(a,n){if(!n.byteLength){return null}if(a===x){const a=s.parse(n,p);return e(ue,{name:"Semantics Identifier",value:te(a.semanticsIdentifier)})}if(a===_e){const a=s.parse(n,Fe);return e(ue,{name:"QC Types",value:a.map((e=>te(e))).join(", ")})}if(a===Je){const a=s.parse(n,Ye);return e(ue,{name:"Retention Period",value:`${a.value} years`})}if(a===Ze){const a=s.parse(n,we);return[e(ue,{name:"PDS Locations",value:""}),a.map((a=>e(ie,null,e(ue,{name:"URL",value:a.url}),e(ue,{name:"Language",value:a.language}))))]}return e(ue,{name:"Info",value:Z.Convert.ToHex(n),monospace:true})}return e(ye,{extension:n},Boolean(n.value.length)&&[e(ue,{name:"Statements",value:""}),n.value.map((a=>e(ie,null,e(ue,{name:"Statement ID",value:te(a.statementId)}),t(a.statementId,a.statementInfo))))])};
|
|
208
201
|
/**
|
|
209
202
|
* @license
|
|
210
203
|
* Copyright (c) Peculiar Ventures, LLC.
|
|
@@ -260,14 +253,14 @@ import{h as e}from"./p-0b356bb5.js";import{a1 as a,$ as n,a0 as t,a2 as c,a6 as
|
|
|
260
253
|
*
|
|
261
254
|
* This source code is licensed under the MIT license found in the
|
|
262
255
|
* LICENSE file in the root directory of this source tree.
|
|
263
|
-
*/function ia(e){return
|
|
256
|
+
*/function ia(e){return Z.Convert.ToString(e.values[0])}
|
|
264
257
|
/**
|
|
265
258
|
* @license
|
|
266
259
|
* Copyright (c) Peculiar Ventures, LLC.
|
|
267
260
|
*
|
|
268
261
|
* This source code is licensed under the MIT license found in the
|
|
269
262
|
* LICENSE file in the root directory of this source tree.
|
|
270
|
-
*/const fa=a=>{const{extension:n}=a;return e(ye,{extension:n},Boolean(n.value.length)&&[e(ue,{name:"Attributes",value:""}),n.value.map((a=>e(ie,null,e(ue,{name:"Type",value:
|
|
263
|
+
*/const fa=a=>{const{extension:n}=a;return e(ye,{extension:n},Boolean(n.value.length)&&[e(ue,{name:"Attributes",value:""}),n.value.map((a=>e(ie,null,e(ue,{name:"Type",value:te(a.type)}),e(ue,{name:"Value",value:ia(a)}))))])};
|
|
271
264
|
/**
|
|
272
265
|
* @license
|
|
273
266
|
* Copyright (c) Peculiar Ventures, LLC.
|
|
@@ -295,14 +288,14 @@ import{h as e}from"./p-0b356bb5.js";import{a1 as a,$ as n,a0 as t,a2 as c,a6 as
|
|
|
295
288
|
*
|
|
296
289
|
* This source code is licensed under the MIT license found in the
|
|
297
290
|
* LICENSE file in the root directory of this source tree.
|
|
298
|
-
*/const ba=a=>{const{extension:n}=a;return e(ye,{extension:n},Boolean(n.value.length)&&[e(ue,{name:"Biometrics",value:""}),n.value.map((a=>e(ie,null,e(ue,{name:"OID",value:
|
|
291
|
+
*/const ba=a=>{const{extension:n}=a;return e(ye,{extension:n},Boolean(n.value.length)&&[e(ue,{name:"Biometrics",value:""}),n.value.map((a=>e(ie,null,e(ue,{name:"OID",value:te(a.typeOfBiometricData.biometricDataOid)}),e(ue,{name:"Type",value:a.typeOfBiometricData.predefinedBiometricType}),e(ue,{name:"Algorithm",value:te(a.hashAlgorithm.algorithm)}),e(ue,{name:"Hash",value:Z.Convert.ToHex(a.biometricDataHash.buffer),monospace:true}),e(ue,{name:"Source Uri",value:a.sourceDataUri}))))])};
|
|
299
292
|
/**
|
|
300
293
|
* @license
|
|
301
294
|
* Copyright (c) Peculiar Ventures, LLC.
|
|
302
295
|
*
|
|
303
296
|
* This source code is licensed under the MIT license found in the
|
|
304
297
|
* LICENSE file in the root directory of this source tree.
|
|
305
|
-
*/const ma=a=>{const{extension:n}=a;const t=a=>{if(!a){return null}return a.map((a=>{const{imageDetails:n}=a;return[e(ue,{name:"Image Type",value:n.mediaType}),e(ue,{name:"Image Hash",value:
|
|
298
|
+
*/const ma=a=>{const{extension:n}=a;const t=a=>{if(!a){return null}return a.map((a=>{const{imageDetails:n}=a;return[e(ue,{name:"Image Type",value:n.mediaType}),e(ue,{name:"Image Hash",value:Z.Convert.ToHex(n.logotypeHash[0].hashValue),monospace:true}),e(ue,{name:"Image URL",value:n.logotypeURI[0],monospace:true,collapse:true}),e(ue,{name:"Image Hash Algorithm",value:te(n.logotypeHash[0].hashAlg.algorithm)})]}))};const c=a=>{if(!a){return null}return a.map((a=>{const{audioDetails:n}=a;return[e(ue,{name:"Audio Type",value:n.mediaType}),e(ue,{name:"Audio Hash",value:Z.Convert.ToHex(n.logotypeHash[0].hashValue),monospace:true}),e(ue,{name:"Audio URL",value:n.logotypeURI[0],monospace:true,collapse:true}),e(ue,{name:"Audio Hash Algorithm",value:te(n.logotypeHash[0].hashAlg.algorithm)})]}))};const o=(a,n)=>{if(!n||!n.direct){return null}const{image:o,audio:s}=n.direct;return[e(ue,{name:"Type",value:a}),t(o),c(s),e("tr",null,e("td",null),e("td",null))]};return e(ye,{extension:n},o("Subject",n.value.subjectLogo),o("Issuer",n.value.issuerLogo))};
|
|
306
299
|
/**
|
|
307
300
|
* @license
|
|
308
301
|
* Copyright (c) Peculiar Ventures, LLC.
|
|
@@ -323,7 +316,7 @@ import{h as e}from"./p-0b356bb5.js";import{a1 as a,$ as n,a0 as t,a2 as c,a6 as
|
|
|
323
316
|
*
|
|
324
317
|
* This source code is licensed under the MIT license found in the
|
|
325
318
|
* LICENSE file in the root directory of this source tree.
|
|
326
|
-
*/const pa=a=>{const{extension:n}=a;return e(ye,{extension:n},n.value.map(((a,n)=>[e(ue,{name:`Policy #${n+1}`,value:""}),e(ue,{name:"Issuer Domain",value:
|
|
319
|
+
*/const pa=a=>{const{extension:n}=a;return e(ye,{extension:n},n.value.map(((a,n)=>[e(ue,{name:`Policy #${n+1}`,value:""}),e(ue,{name:"Issuer Domain",value:te(a.issuerDomainPolicy)}),e(ue,{name:"Subject Domain",value:te(a.subjectDomainPolicy)})])))};
|
|
327
320
|
/**
|
|
328
321
|
* @license
|
|
329
322
|
* Copyright (c) Peculiar Ventures, LLC.
|
|
@@ -344,12 +337,12 @@ import{h as e}from"./p-0b356bb5.js";import{a1 as a,$ as n,a0 as t,a2 as c,a6 as
|
|
|
344
337
|
*
|
|
345
338
|
* This source code is licensed under the MIT license found in the
|
|
346
339
|
* LICENSE file in the root directory of this source tree.
|
|
347
|
-
*/const ha=a=>{const{extensions:n,title:t}=a;if(!n||!n.length){return null}return[e(fe,{value:t||"Extensions"}),n.map((n=>{try{if(n.value instanceof y){return e(he,{extension:n})}if(n.value instanceof h){return e(Ce,{extension:n})}if(n.value instanceof C){return e(Ne,{extension:n})}if(n.value instanceof N){return e(Se,Object.assign({extension:n},a))}if(n.value instanceof S){return e(Ae,Object.assign({extension:n},a))}if(n.value instanceof A){return e(je,Object.assign({extension:n},a))}if(n.value instanceof D||n.value instanceof I){return e(Te,Object.assign({extension:n},a))}if(n.value instanceof j){return e(Ge,Object.assign({extension:n},a))}if(n.value instanceof T){return e(Oe,{extension:n})}if(n.value instanceof G){return e(
|
|
340
|
+
*/const ha=a=>{const{extensions:n,title:t}=a;if(!n||!n.length){return null}return[e(fe,{value:t||"Extensions"}),n.map((n=>{try{if(n.value instanceof y){return e(he,{extension:n})}if(n.value instanceof h){return e(Ce,{extension:n})}if(n.value instanceof C){return e(Ne,{extension:n})}if(n.value instanceof N){return e(Se,Object.assign({extension:n},a))}if(n.value instanceof S){return e(Ae,Object.assign({extension:n},a))}if(n.value instanceof A){return e(je,Object.assign({extension:n},a))}if(n.value instanceof D||n.value instanceof I){return e(Te,Object.assign({extension:n},a))}if(n.value instanceof j){return e(Ge,Object.assign({extension:n},a))}if(n.value instanceof T){return e(Oe,{extension:n})}if(n.value instanceof G){return e(Pe,{extension:n})}if(n.value instanceof O){return e(ke,Object.assign({extension:n},a))}if(n.value instanceof L){return e(Re,{extension:n})}if(n.value instanceof P){return e(Ve,{extension:n})}if(n.value instanceof k){return e($e,{extension:n})}if(n.value instanceof R){return e(ea,{extension:n})}if(n.value instanceof V){return e(aa,{extension:n})}if(n.value instanceof $){return e(na,{extension:n})}if(n.value instanceof B){return e(ta,{extension:n})}if(n.value instanceof E){return e(ca,Object.assign({extension:n},a))}if(n.value instanceof U){return e(oa,Object.assign({extension:n},a))}if(n.value instanceof K){return e(sa,{extension:n})}if(n.value instanceof H){return e(ra,{extension:n})}if(n.value instanceof M){return e(fa,{extension:n})}if(n.value instanceof X){return e(la,{extension:n})}if(n.value instanceof Y){return e(da,{extension:n})}if(n.value instanceof q){return e(ba,{extension:n})}if(n.value instanceof w){return e(ma,{extension:n})}if(n.value instanceof z){return e(va,{extension:n})}if(n.value instanceof F){return e(xa,{extension:n})}if(n.value instanceof Q){return e(pa,{extension:n})}if(n.value instanceof W){return e(ga,{extension:n})}if(n.value instanceof J){return e(ya,Object.assign({extension:n},a))}if(typeof n.value==="string"){return e(ua,{extension:n})}return e(ye,{extension:n})}catch(e){console.error("Error render extension:",n.asn.extnID);return null}}))]};
|
|
348
341
|
/**
|
|
349
342
|
* @license
|
|
350
343
|
* Copyright (c) Peculiar Ventures, LLC.
|
|
351
344
|
*
|
|
352
345
|
* This source code is licensed under the MIT license found in the
|
|
353
346
|
* LICENSE file in the root directory of this source tree.
|
|
354
|
-
*/const Ca=a=>{const{certificate:t}=a;return[e(fe,{value:n.getString("miscellaneous")}),e("tr",null,e("td",null,e(
|
|
355
|
-
//# sourceMappingURL=p-
|
|
347
|
+
*/const Ca=a=>{const{certificate:t}=a;return[e(fe,{value:n.getString("miscellaneous")}),e("tr",null,e("td",null,e(ae,{onClick:()=>t.downloadAsPEM(),startIcon:e(ne,null)},n.getString("download.pem")))),e("tr",null,e("td",null,e(ae,{onClick:()=>t.downloadAsDER(),startIcon:e(ne,null)},n.getString("download.der"))))]};export{le as B,ha as E,Ie as G,xe as I,Ca as M,me as P,ue as R,pe as S,ie as T,fe as a,ge as b,ce as c,oe as d,se as e,ve as f,te as g};
|
|
348
|
+
//# sourceMappingURL=p-a6e2e335.js.map
|