@peculiar/certificates-viewer 4.3.0 → 4.3.1
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/download.js +72 -1
- package/components/download.js.map +1 -1
- package/dist/cjs/{certification_request-314859bb.js → certification_request-ad267278.js} +73 -2
- package/dist/cjs/certification_request-ad267278.js.map +1 -0
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{miscellaneous-f1bc3a4b.js → miscellaneous-67439e59.js} +2 -2
- package/dist/cjs/{miscellaneous-f1bc3a4b.js.map → miscellaneous-67439e59.js.map} +1 -1
- package/dist/cjs/peculiar-attribute-certificate-viewer_3.cjs.entry.js +4 -4
- package/dist/cjs/peculiar-certificate-decoder.cjs.entry.js +4 -4
- package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js +3 -3
- package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js +2 -2
- package/dist/cjs/{pkcs10_certificate_request-93c66ce7.js → pkcs10_certificate_request-64898c88.js} +2 -2
- package/dist/cjs/{pkcs10_certificate_request-93c66ce7.js.map → pkcs10_certificate_request-64898c88.js.map} +1 -1
- package/dist/cjs/{x509_certificate-0776e3ec.js → x509_certificate-4b0894c2.js} +2 -2
- package/dist/cjs/{x509_certificate-0776e3ec.js.map → x509_certificate-4b0894c2.js.map} +1 -1
- package/dist/cjs/{x509_crl-5326d209.js → x509_crl-fc8d41a1.js} +3 -3
- package/dist/cjs/{x509_crl-5326d209.js.map → x509_crl-fc8d41a1.js.map} +1 -1
- package/dist/esm/{certification_request-b531916a.js → certification_request-a4699dcf.js} +73 -2
- package/dist/esm/certification_request-a4699dcf.js.map +1 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/{miscellaneous-7fe71e3f.js → miscellaneous-ba1fd2bd.js} +2 -2
- package/dist/esm/{miscellaneous-7fe71e3f.js.map → miscellaneous-ba1fd2bd.js.map} +1 -1
- package/dist/esm/peculiar-attribute-certificate-viewer_3.entry.js +4 -4
- package/dist/esm/peculiar-certificate-decoder.entry.js +4 -4
- package/dist/esm/peculiar-certificate-viewer.entry.js +3 -3
- package/dist/esm/peculiar-certificates-viewer.entry.js +2 -2
- package/dist/esm/{pkcs10_certificate_request-cca2ca68.js → pkcs10_certificate_request-785a4794.js} +2 -2
- package/dist/esm/{pkcs10_certificate_request-cca2ca68.js.map → pkcs10_certificate_request-785a4794.js.map} +1 -1
- package/dist/esm/{x509_certificate-050175dd.js → x509_certificate-05a23c0e.js} +2 -2
- package/dist/esm/{x509_certificate-050175dd.js.map → x509_certificate-05a23c0e.js.map} +1 -1
- package/dist/esm/{x509_crl-c497f907.js → x509_crl-26081461.js} +3 -3
- package/dist/esm/{x509_crl-c497f907.js.map → x509_crl-26081461.js.map} +1 -1
- package/dist/esm-es5/{certification_request-b531916a.js → certification_request-a4699dcf.js} +3 -3
- package/dist/esm-es5/certification_request-a4699dcf.js.map +1 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{miscellaneous-7fe71e3f.js → miscellaneous-ba1fd2bd.js} +2 -2
- package/dist/esm-es5/peculiar-attribute-certificate-viewer_3.entry.js +1 -1
- package/dist/esm-es5/peculiar-certificate-decoder.entry.js +1 -1
- package/dist/esm-es5/peculiar-certificate-viewer.entry.js +1 -1
- package/dist/esm-es5/peculiar-certificates-viewer.entry.js +1 -1
- package/dist/esm-es5/{pkcs10_certificate_request-cca2ca68.js → pkcs10_certificate_request-785a4794.js} +2 -2
- package/dist/esm-es5/{x509_certificate-050175dd.js → x509_certificate-05a23c0e.js} +2 -2
- package/dist/esm-es5/{x509_crl-c497f907.js → x509_crl-26081461.js} +2 -2
- package/dist/peculiar/index.esm.js +1 -1
- package/dist/peculiar/{p-bd7fb688.system.entry.js → p-1566ad92.system.entry.js} +2 -2
- package/dist/peculiar/{p-52f13c4a.system.js → p-2bc2abea.system.js} +2 -2
- package/dist/peculiar/{p-666438a8.js → p-32807e5e.js} +11 -11
- package/dist/peculiar/p-32807e5e.js.map +1 -0
- package/dist/peculiar/{p-7a5173be.entry.js → p-5d1d4a96.entry.js} +2 -2
- package/dist/peculiar/{p-ddadcb44.entry.js → p-67e82386.entry.js} +2 -2
- package/dist/peculiar/{p-adf16adb.js → p-6e2ad7eb.js} +2 -2
- package/dist/peculiar/{p-a06f51a2.system.js → p-7ddd9a82.system.js} +2 -2
- package/dist/peculiar/p-8393399a.system.js +1 -1
- package/dist/peculiar/{p-cc256004.system.entry.js → p-9263e7ee.system.entry.js} +2 -2
- package/dist/peculiar/{p-05af3b74.system.js → p-98e3a016.system.js} +4 -4
- package/dist/peculiar/{p-6221d0a4.system.entry.js → p-9ad547d2.system.entry.js} +2 -2
- package/dist/peculiar/{p-d6229f42.system.js → p-a1a48332.system.js} +2 -2
- package/dist/peculiar/{p-80477c05.js → p-ab5a4988.js} +2 -2
- package/dist/peculiar/{p-163a3052.system.js → p-ae44c2b0.system.js} +5 -5
- package/dist/peculiar/{p-8ff95ad8.entry.js → p-bafd67f3.entry.js} +2 -2
- package/dist/peculiar/{p-494d26fb.entry.js → p-cd1b1876.entry.js} +2 -2
- package/dist/peculiar/{p-5a699274.js → p-d5ba4fc2.js} +4 -4
- package/dist/peculiar/{p-d1066b51.system.js → p-e37e4df2.system.js} +10 -10
- package/dist/peculiar/p-e37e4df2.system.js.map +1 -0
- package/dist/peculiar/{p-b6d5e413.js → p-f8c91ee4.js} +4 -4
- package/dist/peculiar/{p-2d9c40d6.system.entry.js → p-f9c07207.system.entry.js} +3 -3
- package/dist/peculiar/peculiar.esm.js +1 -1
- package/hydrate/index.js +72 -1
- package/package.json +21 -21
- package/dist/cjs/certification_request-314859bb.js.map +0 -1
- package/dist/esm/certification_request-b531916a.js.map +0 -1
- package/dist/esm-es5/certification_request-b531916a.js.map +0 -1
- package/dist/peculiar/p-666438a8.js.map +0 -1
- package/dist/peculiar/p-d1066b51.system.js.map +0 -1
- /package/dist/esm-es5/{miscellaneous-7fe71e3f.js.map → miscellaneous-ba1fd2bd.js.map} +0 -0
- /package/dist/esm-es5/{pkcs10_certificate_request-cca2ca68.js.map → pkcs10_certificate_request-785a4794.js.map} +0 -0
- /package/dist/esm-es5/{x509_certificate-050175dd.js.map → x509_certificate-05a23c0e.js.map} +0 -0
- /package/dist/esm-es5/{x509_crl-c497f907.js.map → x509_crl-26081461.js.map} +0 -0
- /package/dist/peculiar/{p-bd7fb688.system.entry.js.map → p-1566ad92.system.entry.js.map} +0 -0
- /package/dist/peculiar/{p-52f13c4a.system.js.map → p-2bc2abea.system.js.map} +0 -0
- /package/dist/peculiar/{p-7a5173be.entry.js.map → p-5d1d4a96.entry.js.map} +0 -0
- /package/dist/peculiar/{p-ddadcb44.entry.js.map → p-67e82386.entry.js.map} +0 -0
- /package/dist/peculiar/{p-adf16adb.js.map → p-6e2ad7eb.js.map} +0 -0
- /package/dist/peculiar/{p-a06f51a2.system.js.map → p-7ddd9a82.system.js.map} +0 -0
- /package/dist/peculiar/{p-cc256004.system.entry.js.map → p-9263e7ee.system.entry.js.map} +0 -0
- /package/dist/peculiar/{p-05af3b74.system.js.map → p-98e3a016.system.js.map} +0 -0
- /package/dist/peculiar/{p-6221d0a4.system.entry.js.map → p-9ad547d2.system.entry.js.map} +0 -0
- /package/dist/peculiar/{p-d6229f42.system.js.map → p-a1a48332.system.js.map} +0 -0
- /package/dist/peculiar/{p-80477c05.js.map → p-ab5a4988.js.map} +0 -0
- /package/dist/peculiar/{p-163a3052.system.js.map → p-ae44c2b0.system.js.map} +0 -0
- /package/dist/peculiar/{p-8ff95ad8.entry.js.map → p-bafd67f3.entry.js.map} +0 -0
- /package/dist/peculiar/{p-494d26fb.entry.js.map → p-cd1b1876.entry.js.map} +0 -0
- /package/dist/peculiar/{p-5a699274.js.map → p-d5ba4fc2.js.map} +0 -0
- /package/dist/peculiar/{p-b6d5e413.js.map → p-f8c91ee4.js.map} +0 -0
- /package/dist/peculiar/{p-2d9c40d6.system.entry.js.map → p-f9c07207.system.entry.js.map} +0 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import{A as s,a as t,b as a,C as
|
|
4
|
+
import{A as s,a as t,b as a,C as e,i,c as r,e as n,f as h,g as o,h as c,j as u,k as l,l as f,T as m,m as p,n as g,o as E,W as b,p as d,I as A,q as w,V as R,r as x,s as y,t as C,U as I,u as N,E as T,v as $,w as q,N as D,x as P,y as S,z as j,B as v,R as K,F as B,G as F,H as G,J as H,D as U}from"./p-32807e5e.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
|
-
*/const V={[
|
|
11
|
+
*/const V={[i]:r,[n]:h,[o]:c,[u]:l,[f]:m,[p]:g,[E]:b,[d]:A,[w]:R,[x]:y,[C]:I,[N]:T};class k extends s{getAsnExtnValue(){return this.asn.values[0]}constructor(s){super(s,t);const i=this.getAsnExtnValue();try{const s=V[this.asn.type];if(s){this.value=a.parse(i,s)}else{console.warn(`Didn't detect parser for "${this.asn.type}" attribute.`);this.value=e.ToHex(i)}}catch(s){console.error(`Error parse "${this.asn.type}" attribute:`,s.message);this.value=e.ToHex(i)}}}
|
|
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
|
-
*/class z extends s{constructor(s){super($(s),q);this.thumbprints={};this.type="PKCS#10 Certificate Request";this.tag="CERTIFICATE REQUEST";const{certificationRequestInfo:t}=this.asn;this.subject=new D(t.subject).toJSON();this.version=t.version}get publicKey(){const{subjectPublicKey:s,algorithm:t}=this.asn.certificationRequestInfo.subjectPKInfo;let a;if(t.algorithm===P&&t.parameters){a=S.parse(t.parameters,j)}if(t.algorithm===v){a=S.parse(s,K)}const
|
|
19
|
-
//# sourceMappingURL=p-
|
|
18
|
+
*/class z extends s{constructor(s){super($(s),q);this.thumbprints={};this.type="PKCS#10 Certificate Request";this.tag="CERTIFICATE REQUEST";const{certificationRequestInfo:t}=this.asn;this.subject=new D(t.subject).toJSON();this.version=t.version}get publicKey(){const{subjectPublicKey:s,algorithm:t}=this.asn.certificationRequestInfo.subjectPKInfo;let a;if(t.algorithm===P&&t.parameters){a=S.parse(t.parameters,j)}if(t.algorithm===v){a=S.parse(s,K)}const e=S.serialize(this.asn.certificationRequestInfo.subjectPKInfo);return{params:a,value:e,algorithm:t.algorithm}}get signature(){const{signature:s,signatureAlgorithm:t}=this.asn;return{value:s,algorithm:t.algorithm}}get commonName(){if(!this.subject){return""}for(let s=0;s<this.subject.length;s+=1){const t=this.subject[s];if(t.shortName==="CN"||t.shortName==="E"||t.shortName==="O"){return t.value}}return""}async getThumbprint(s="SHA-1"){try{const t=await B(s,this.raw);if(t){this.thumbprints[s]=e.ToHex(t)}}catch(s){console.error("Error thumbprint get:",s)}}parseAttributes(){const{certificationRequestInfo:s}=this.asn;if(s.attributes){this.attributes=s.attributes.map((s=>new k(S.serialize(s))));const t=this.attributes.find((s=>s.asn.type===N));if(t){this.extensions=t.value.map((s=>new F(S.serialize(s))))}}}toString(s="pem"){switch(s){case"hex":return H(e.ToHex(this.raw));case"pem":return`-----BEGIN ${this.tag}-----\n${G(this.toString("base64"))}\n-----END ${this.tag}-----`;default:return e.ToBase64(this.raw)}}downloadAsPEM(s){U.csr.asPEM(this.toString("pem"),s||this.commonName)}downloadAsDER(s){U.csr.asDER(this.raw,s||this.commonName)}}export{k as A,z as P};
|
|
19
|
+
//# sourceMappingURL=p-f8c91ee4.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var __awaiter=this&&this.__awaiter||function(t,e,r,a){function o(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,i){function n(t){try{c(a.next(t))}catch(t){i(t)}}function s(t){try{c(a["throw"](t))}catch(t){i(t)}}function c(t){t.done?r(t.value):o(t.value).then(n,s)}c((a=a.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,o,i,n;return n={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function s(t){return function(e){return c([t,e])}}function c(s){if(a)throw new TypeError("Generator is already executing.");while(n&&(n=0,s[0]&&(r=0)),r)try{if(a=1,o&&(i=s[0]&2?o["return"]:s[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,s[1])).done)return i;if(o=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;o=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){r.label=s[1];break}if(s[0]===6&&r.label<i[1]){r.label=i[1];i=s;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(s);break}if(i[2])r.ops.pop();r.trys.pop();continue}s=e.call(t,r)}catch(t){s=[6,t];o=0}finally{a=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};
|
|
2
2
|
/*!
|
|
3
3
|
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
|
|
4
|
-
*/System.register(["./p-821bdcdc.system.js","./p-
|
|
4
|
+
*/System.register(["./p-821bdcdc.system.js","./p-e37e4df2.system.js","./p-ae44c2b0.system.js","./p-2bc2abea.system.js","./p-9712b827.system.js","./p-7ddd9a82.system.js","./p-243244af.system.js","./p-8bbee8f4.system.js"],(function(t){"use strict";var e,r,a,o,i,n,s,c,v,p,l,h,d,g,b,u,f,y,w,m,x,z,k,L,I,j,S,N,_,A,K,D,P,E,C,O,T,H,V;return{setters:[function(t){e=t.h;r=t.r;a=t.H},function(t){o=t.$;i=t.Z;n=t.a0;s=t.n;c=t.W;v=t.I;p=t.T;l=t.V;h=t.U;d=t.s;g=t.C;b=t._;u=t.a1;f=t.a2;y=t.a3},function(t){w=t.X;m=t.a},function(t){x=t.g;z=t.R;k=t.c;L=t.T;I=t.G;j=t.a;S=t.B;N=t.S;_=t.b;A=t.d;K=t.e;D=t.f;P=t.E;E=t.M;C=t.I;O=t.h;T=t.P},function(t){H=t.T},function(t){V=t.P},function(){},function(){}],execute:function(){
|
|
5
5
|
/**
|
|
6
6
|
* @license
|
|
7
7
|
* Copyright (c) Peculiar Ventures, LLC.
|
|
@@ -93,7 +93,7 @@ var q=function(t,r){var a=t.attribute;return[e(z,{name:"Name",value:x(a.asn.type
|
|
|
93
93
|
*
|
|
94
94
|
* This source code is licensed under the MIT license found in the
|
|
95
95
|
* LICENSE file in the root directory of this source tree.
|
|
96
|
-
*/var $=function(t){var r=t.revokedCertificates,a=t.getDNSNameLink,o=t.getIPAddressLink;if(!r||!r.length){return null}return[e(j,{value:i.getString("revokedCertificates")}),r.map((function(t){return[e(z,{name:i.getString("serialNumber"),value:g.ToHex(t.userCertificate),monospace:true}),e(z,{name:i.getString("revocationDate"),value:
|
|
96
|
+
*/var $=function(t){var r=t.revokedCertificates,a=t.getDNSNameLink,o=t.getIPAddressLink;if(!r||!r.length){return null}return[e(j,{value:i.getString("revokedCertificates")}),r.map((function(t){return[e(z,{name:i.getString("serialNumber"),value:g.ToHex(t.userCertificate),monospace:true}),e(z,{name:i.getString("revocationDate"),value:b(t.revocationDate.getTime())}),t.crlEntryExtensions&&t.crlEntryExtensions.length&&[e(z,{name:"".concat(i.getString("crlEntryExtensions"),":"),value:""}),e(L,null,t.crlEntryExtensions.map((function(t){if(t.value instanceof u){return e(z,{name:x(t.asn.extnID),value:t.value.toJSON()||t.value.reason})}if(t.value instanceof f){return e(z,{name:x(t.asn.extnID),value:t.value.value.getTime()})}if(t.value instanceof y&&t.value.length){return[e(z,{name:"".concat(x(t.asn.extnID),":"),value:""}),t.value.map((function(t){return e(L,null,e(I,{generalName:t,getDNSNameLink:a,getIPAddressLink:o}))}))]}return e(z,{name:x(t.asn.extnID),value:g.ToHex(t.asn.extnValue),monospace:true})})))],e("tr",null,e("td",{colSpan:2,class:"divider"},e("span",null)))]}))]};
|
|
97
97
|
/**
|
|
98
98
|
* @license
|
|
99
99
|
* Copyright (c) Peculiar Ventures, LLC.
|
|
@@ -108,4 +108,4 @@ var q=function(t,r){var a=t.attribute;return[e(z,{name:"Name",value:x(a.asn.type
|
|
|
108
108
|
* This source code is licensed under the MIT license found in the
|
|
109
109
|
* LICENSE file in the root directory of this source tree.
|
|
110
110
|
*/var et=function(t){var r=t.issuer;if(!r){return null}return[e(j,{value:i.getString("issuer")}),r.map((function(t){return e(I,{generalName:t,getDNSNameLink:function(){return""},getIPAddressLink:function(){return""}})}))]};var rt="*{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-text-size-adjust:none;-ms-text-size-adjust:none;text-size-adjust:none;-webkit-text-size-adjust:none;-webkit-tap-highlight-color:transparent;font-family:var(--pv-font-family, inherit)}.t-h1{font-weight:var(--pv-text-h1-weight);font-size:var(--pv-text-h1-size);line-height:var(--pv-text-h1-height);letter-spacing:var(--pv-text-h1-spacing)}.t-h2{font-weight:var(--pv-text-h2-weight);font-size:var(--pv-text-h2-size);line-height:var(--pv-text-h2-height);letter-spacing:var(--pv-text-h2-spacing)}.t-h3{font-weight:var(--pv-text-h3-weight);font-size:var(--pv-text-h3-size);line-height:var(--pv-text-h3-height);letter-spacing:var(--pv-text-h3-spacing)}.t-h4{font-weight:var(--pv-text-h4-weight);font-size:var(--pv-text-h4-size);line-height:var(--pv-text-h4-height);letter-spacing:var(--pv-text-h4-spacing)}.t-h5{font-weight:var(--pv-text-h5-weight);font-size:var(--pv-text-h5-size);line-height:var(--pv-text-h5-height);letter-spacing:var(--pv-text-h5-spacing)}.t-s1{font-weight:var(--pv-text-s1-weight);font-size:var(--pv-text-s1-size);line-height:var(--pv-text-s1-height);letter-spacing:var(--pv-text-s1-spacing)}.t-s2{font-weight:var(--pv-text-s2-weight);font-size:var(--pv-text-s2-size);line-height:var(--pv-text-s2-height);letter-spacing:var(--pv-text-s2-spacing)}.t-b1{font-weight:var(--pv-text-b1-weight);font-size:var(--pv-text-b1-size);line-height:var(--pv-text-b1-height);letter-spacing:var(--pv-text-b1-spacing)}.t-b2{font-weight:var(--pv-text-b2-weight);font-size:var(--pv-text-b2-size);line-height:var(--pv-text-b2-height);letter-spacing:var(--pv-text-b2-spacing)}.t-b3{font-weight:var(--pv-text-b3-weight);font-size:var(--pv-text-b3-size);line-height:var(--pv-text-b3-height);letter-spacing:var(--pv-text-b3-spacing)}.t-btn1{font-weight:var(--pv-text-btn1-weight);font-size:var(--pv-text-btn1-size);line-height:var(--pv-text-btn1-height);letter-spacing:var(--pv-text-btn1-spacing)}.t-btn2{font-weight:var(--pv-text-btn2-weight);font-size:var(--pv-text-btn2-size);line-height:var(--pv-text-btn2-height);letter-spacing:var(--pv-text-btn2-spacing)}.t-c1{font-weight:var(--pv-text-c1-weight);font-size:var(--pv-text-c1-size);line-height:var(--pv-text-c1-height);letter-spacing:var(--pv-text-c1-spacing)}.t-c2{font-weight:var(--pv-text-c2-weight);font-size:var(--pv-text-c2-size);line-height:var(--pv-text-c2-height);letter-spacing:var(--pv-text-c2-spacing)}.c-primary-tint-5{--pv-color-base:var(--pv-color-primary-tint-5)}.c-primary-tint-4{--pv-color-base:var(--pv-color-primary-tint-4)}.c-primary-tint-3{--pv-color-base:var(--pv-color-primary-tint-3)}.c-primary-tint-2{--pv-color-base:var(--pv-color-primary-tint-2)}.c-primary-tint-1{--pv-color-base:var(--pv-color-primary-tint-1)}.c-primary{--pv-color-base:var(--pv-color-primary)}.c-primary-shade-1{--pv-color-base:var(--pv-color-primary-shade-1)}.c-primary-shade-2{--pv-color-base:var(--pv-color-primary-shade-2)}.c-primary-shade-3{--pv-color-base:var(--pv-color-primary-shade-3)}.c-primary-shade-4{--pv-color-base:var(--pv-color-primary-shade-4)}.c-primary-shade-5{--pv-color-base:var(--pv-color-primary-shade-5)}.c-primary-contrast{--pv-color-base:var(--pv-color-primary-contrast)}.c-secondary-tint-5{--pv-color-base:var(--pv-color-secondary-tint-5)}.c-secondary-tint-4{--pv-color-base:var(--pv-color-secondary-tint-4)}.c-secondary-tint-3{--pv-color-base:var(--pv-color-secondary-tint-3)}.c-secondary-tint-2{--pv-color-base:var(--pv-color-secondary-tint-2)}.c-secondary-tint-1{--pv-color-base:var(--pv-color-secondary-tint-1)}.c-secondary{--pv-color-base:var(--pv-color-secondary)}.c-secondary-shade-1{--pv-color-base:var(--pv-color-secondary-shade-1)}.c-secondary-shade-2{--pv-color-base:var(--pv-color-secondary-shade-2)}.c-secondary-shade-3{--pv-color-base:var(--pv-color-secondary-shade-3)}.c-secondary-shade-4{--pv-color-base:var(--pv-color-secondary-shade-4)}.c-secondary-shade-5{--pv-color-base:var(--pv-color-secondary-shade-5)}.c-secondary-contrast{--pv-color-base:var(--pv-color-secondary-contrast)}.c-wrong-tint-5{--pv-color-base:var(--pv-color-wrong-tint-5)}.c-wrong-tint-4{--pv-color-base:var(--pv-color-wrong-tint-4)}.c-wrong-tint-3{--pv-color-base:var(--pv-color-wrong-tint-3)}.c-wrong-tint-2{--pv-color-base:var(--pv-color-wrong-tint-2)}.c-wrong-tint-1{--pv-color-base:var(--pv-color-wrong-tint-1)}.c-wrong{--pv-color-base:var(--pv-color-wrong)}.c-wrong-shade-1{--pv-color-base:var(--pv-color-wrong-shade-1)}.c-wrong-shade-2{--pv-color-base:var(--pv-color-wrong-shade-2)}.c-wrong-shade-3{--pv-color-base:var(--pv-color-wrong-shade-3)}.c-wrong-shade-4{--pv-color-base:var(--pv-color-wrong-shade-4)}.c-wrong-shade-5{--pv-color-base:var(--pv-color-wrong-shade-5)}.c-wrong-contrast{--pv-color-base:var(--pv-color-wrong-contrast)}.c-attention-tint-5{--pv-color-base:var(--pv-color-attention-tint-5)}.c-attention-tint-4{--pv-color-base:var(--pv-color-attention-tint-4)}.c-attention-tint-3{--pv-color-base:var(--pv-color-attention-tint-3)}.c-attention-tint-2{--pv-color-base:var(--pv-color-attention-tint-2)}.c-attention-tint-1{--pv-color-base:var(--pv-color-attention-tint-1)}.c-attention{--pv-color-base:var(--pv-color-attention)}.c-attention-shade-1{--pv-color-base:var(--pv-color-attention-shade-1)}.c-attention-shade-2{--pv-color-base:var(--pv-color-attention-shade-2)}.c-attention-shade-3{--pv-color-base:var(--pv-color-attention-shade-3)}.c-attention-shade-4{--pv-color-base:var(--pv-color-attention-shade-4)}.c-attention-shade-5{--pv-color-base:var(--pv-color-attention-shade-5)}.c-success-tint-5{--pv-color-base:var(--pv-color-success-tint-5)}.c-success-tint-4{--pv-color-base:var(--pv-color-success-tint-4)}.c-success-tint-3{--pv-color-base:var(--pv-color-success-tint-3)}.c-success-tint-2{--pv-color-base:var(--pv-color-success-tint-2)}.c-success-tint-1{--pv-color-base:var(--pv-color-success-tint-1)}.c-success{--pv-color-base:var(--pv-color-success)}.c-success-shade-1{--pv-color-base:var(--pv-color-success-shade-1)}.c-success-shade-2{--pv-color-base:var(--pv-color-success-shade-2)}.c-success-shade-3{--pv-color-base:var(--pv-color-success-shade-3)}.c-success-shade-4{--pv-color-base:var(--pv-color-success-shade-4)}.c-success-shade-5{--pv-color-base:var(--pv-color-success-shade-5)}.c-black{--pv-color-base:var(--pv-color-black)}.c-gray-10{--pv-color-base:var(--pv-color-gray-10)}.c-gray-9{--pv-color-base:var(--pv-color-gray-9)}.c-gray-8{--pv-color-base:var(--pv-color-gray-8)}.c-gray-7{--pv-color-base:var(--pv-color-gray-7)}.c-gray-6{--pv-color-base:var(--pv-color-gray-6)}.c-gray-5{--pv-color-base:var(--pv-color-gray-5)}.c-gray-4{--pv-color-base:var(--pv-color-gray-4)}.c-gray-3{--pv-color-base:var(--pv-color-gray-3)}.c-gray-2{--pv-color-base:var(--pv-color-gray-2)}.c-gray-1{--pv-color-base:var(--pv-color-gray-1)}.c-white{--pv-color-base:var(--pv-color-white)}.c-extra-1{--pv-color-base:var(--pv-color-extra-1)}.c-extra-2{--pv-color-base:var(--pv-color-extra-2)}.typography{color:var(--pv-color-base)}.button{display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;background:transparent;border:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;text-decoration:none;outline:none;font-family:inherit;border-radius:4px;height:var(--pv-size-base-6);min-width:var(--pv-size-base-6);padding:0 var(--pv-size-base-2);-webkit-transition:background-color 200ms ease 0s;transition:background-color 200ms ease 0s;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;gap:var(--pv-size-base-2);font-size:0}.button.m_no_padding{padding:0}.button:hover{background-color:var(--pv-color-gray-3)}.button:focus{background-color:var(--pv-color-gray-4)}.button:active{background-color:var(--pv-color-gray-5)}:host{display:block;width:100%;position:relative;min-width:280px;min-height:300px;word-wrap:break-word;word-break:break-word}th,td{border:none}table{width:100%;border-spacing:0;border-collapse:collapse}table td{padding:var(--pv-size-base-2) var(--pv-size-base-4);vertical-align:top}table td:first-child{width:220px}table td:last-child{width:calc(100% - 220px)}table td.monospace{max-width:0}table td.divider{padding:var(--pv-size-base-2) 0}table td.divider span{height:1px;display:block;background-color:var(--pv-color-gray-4)}table .title td{padding-top:var(--pv-size-base-6);padding-bottom:var(--pv-size-base-2)}table table{border-left:1px solid var(--pv-color-gray-5)}.status_wrapper{min-height:inherit;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}:host([data-mobile-screen-view=true]) table,:host([data-mobile-screen-view=true]) tr,:host([data-mobile-screen-view=true]) td{display:block}:host([data-mobile-screen-view=true]) table tr{padding:var(--pv-size-base-2) 0}:host([data-mobile-screen-view=true]) table tr.title{padding-top:var(--pv-size-base-6)}:host([data-mobile-screen-view=true]) table tr.title td{padding:0 var(--pv-size-base-4)}:host([data-mobile-screen-view=true]) table td{padding:0 var(--pv-size-base-4);width:100% !important;max-width:100% !important}:host([data-mobile-screen-view=true]) table td.divider{padding:0}";var at=rt;var ot=t("peculiar_attribute_certificate_viewer",function(){function t(t){var e=this;r(this,t);this.getAuthKeyIdParentLink=function(t){var r;return(r=e.authKeyIdParentLink)===null||r===void 0?void 0:r.replace("{{authKeyId}}",t)};this.getAuthKeyIdSiblingsLink=function(t){var r;return(r=e.authKeyIdSiblingsLink)===null||r===void 0?void 0:r.replace("{{authKeyId}}",t)};this.getSubjectKeyIdChildrenLink=function(t){var r;return(r=e.subjectKeyIdChildrenLink)===null||r===void 0?void 0:r.replace("{{subjectKeyId}}",t)};this.getSubjectKeyIdSiblingsLink=function(t){var r;return(r=e.subjectKeyIdSiblingsLink)===null||r===void 0?void 0:r.replace("{{subjectKeyId}}",t)};this.certificate=undefined;this.download=undefined;this.authKeyIdParentLink=undefined;this.authKeyIdSiblingsLink=undefined;this.subjectKeyIdChildrenLink=undefined;this.subjectKeyIdSiblingsLink=undefined;this.mobileMediaQueryString="(max-width: 900px)";this.mobileScreenView=false;this.isDecodeInProcess=true}t.prototype.handleMediaQueryChange=function(t){this.mobileScreenView=t.matches};t.prototype.componentWillLoad=function(){this.decodeCertificate(this.certificate);{this.mobileMediaQuery=window.matchMedia(this.mobileMediaQueryString);this.mobileMediaQuery.addEventListener("change",this.handleMediaQueryChange.bind(this));this.mobileScreenView=this.mobileMediaQuery.matches}};t.prototype.disconnectedCallback=function(){this.mobileMediaQuery.removeEventListener("change",this.handleMediaQueryChange.bind(this))};t.prototype.decodeCertificate=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(r){switch(r.label){case 0:this.isDecodeInProcess=true;r.label=1;case 1:r.trys.push([1,4,,5]);if(t instanceof w){this.certificateDecoded=t}else if(typeof t==="string"){this.certificateDecoded=new w(t)}else{return[2]}this.certificateDecoded.parseExtensions();this.certificateDecoded.parseAttributes();return[4,this.certificateDecoded.getThumbprint("SHA-1")];case 2:r.sent();return[4,this.certificateDecoded.getThumbprint("SHA-256")];case 3:r.sent();return[3,5];case 4:e=r.sent();this.certificateDecodeError=e;console.error("Error certificate parse:",e);return[3,5];case 5:this.isDecodeInProcess=false;return[2]}}))}))};t.prototype.watchCertificateAndDecode=function(t,e){if(typeof t==="string"&&typeof e==="string"){if(t!==e){this.decodeCertificate(t)}return}if(t instanceof w&&e instanceof w){if(t.serialNumber!==e.serialNumber){this.decodeCertificate(t)}}};t.prototype.renderErrorState=function(){return e("div",{class:"status_wrapper"},e(H,null,"There was an error decoding this attribute certificate."))};t.prototype.renderEmptyState=function(){return e("div",{class:"status_wrapper"},e(H,null,"There is no attribute certificate available."))};t.prototype.render=function(){if(this.certificateDecodeError){return this.renderErrorState()}if(!this.certificateDecoded){return this.renderEmptyState()}return e(a,{"data-mobile-screen-view":String(this.mobileScreenView)},e("table",null,e(S,Object.assign({},this.certificateDecoded)),e(et,{issuer:this.certificateDecoded.issuer}),e(tt,{holder:this.certificateDecoded.holder}),e(N,{signature:this.certificateDecoded.signature}),e(_,{thumbprints:this.certificateDecoded.thumbprints}),e(Z,{attributes:this.certificateDecoded.attributes,getLEILink:A,getDNSNameLink:K,getIPAddressLink:D,getAuthKeyIdParentLink:this.getAuthKeyIdParentLink,getAuthKeyIdSiblingsLink:this.getAuthKeyIdSiblingsLink,getSubjectKeyIdChildrenLink:this.getSubjectKeyIdChildrenLink,getSubjectKeyIdSiblingsLink:this.getSubjectKeyIdSiblingsLink}),e(P,{extensions:this.certificateDecoded.extensions,getLEILink:A,getDNSNameLink:K,getIPAddressLink:D,getAuthKeyIdParentLink:this.getAuthKeyIdParentLink,getAuthKeyIdSiblingsLink:this.getAuthKeyIdSiblingsLink,getSubjectKeyIdChildrenLink:this.getSubjectKeyIdChildrenLink,getSubjectKeyIdSiblingsLink:this.getSubjectKeyIdSiblingsLink}),this.download&&e(E,{certificate:this.certificateDecoded})))};Object.defineProperty(t,"watchers",{get:function(){return{certificate:["watchCertificateAndDecode"]}},enumerable:false,configurable:true});return t}());ot.style=at;var it="*{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-text-size-adjust:none;-ms-text-size-adjust:none;text-size-adjust:none;-webkit-text-size-adjust:none;-webkit-tap-highlight-color:transparent;font-family:var(--pv-font-family, inherit)}.t-h1{font-weight:var(--pv-text-h1-weight);font-size:var(--pv-text-h1-size);line-height:var(--pv-text-h1-height);letter-spacing:var(--pv-text-h1-spacing)}.t-h2{font-weight:var(--pv-text-h2-weight);font-size:var(--pv-text-h2-size);line-height:var(--pv-text-h2-height);letter-spacing:var(--pv-text-h2-spacing)}.t-h3{font-weight:var(--pv-text-h3-weight);font-size:var(--pv-text-h3-size);line-height:var(--pv-text-h3-height);letter-spacing:var(--pv-text-h3-spacing)}.t-h4{font-weight:var(--pv-text-h4-weight);font-size:var(--pv-text-h4-size);line-height:var(--pv-text-h4-height);letter-spacing:var(--pv-text-h4-spacing)}.t-h5{font-weight:var(--pv-text-h5-weight);font-size:var(--pv-text-h5-size);line-height:var(--pv-text-h5-height);letter-spacing:var(--pv-text-h5-spacing)}.t-s1{font-weight:var(--pv-text-s1-weight);font-size:var(--pv-text-s1-size);line-height:var(--pv-text-s1-height);letter-spacing:var(--pv-text-s1-spacing)}.t-s2{font-weight:var(--pv-text-s2-weight);font-size:var(--pv-text-s2-size);line-height:var(--pv-text-s2-height);letter-spacing:var(--pv-text-s2-spacing)}.t-b1{font-weight:var(--pv-text-b1-weight);font-size:var(--pv-text-b1-size);line-height:var(--pv-text-b1-height);letter-spacing:var(--pv-text-b1-spacing)}.t-b2{font-weight:var(--pv-text-b2-weight);font-size:var(--pv-text-b2-size);line-height:var(--pv-text-b2-height);letter-spacing:var(--pv-text-b2-spacing)}.t-b3{font-weight:var(--pv-text-b3-weight);font-size:var(--pv-text-b3-size);line-height:var(--pv-text-b3-height);letter-spacing:var(--pv-text-b3-spacing)}.t-btn1{font-weight:var(--pv-text-btn1-weight);font-size:var(--pv-text-btn1-size);line-height:var(--pv-text-btn1-height);letter-spacing:var(--pv-text-btn1-spacing)}.t-btn2{font-weight:var(--pv-text-btn2-weight);font-size:var(--pv-text-btn2-size);line-height:var(--pv-text-btn2-height);letter-spacing:var(--pv-text-btn2-spacing)}.t-c1{font-weight:var(--pv-text-c1-weight);font-size:var(--pv-text-c1-size);line-height:var(--pv-text-c1-height);letter-spacing:var(--pv-text-c1-spacing)}.t-c2{font-weight:var(--pv-text-c2-weight);font-size:var(--pv-text-c2-size);line-height:var(--pv-text-c2-height);letter-spacing:var(--pv-text-c2-spacing)}.c-primary-tint-5{--pv-color-base:var(--pv-color-primary-tint-5)}.c-primary-tint-4{--pv-color-base:var(--pv-color-primary-tint-4)}.c-primary-tint-3{--pv-color-base:var(--pv-color-primary-tint-3)}.c-primary-tint-2{--pv-color-base:var(--pv-color-primary-tint-2)}.c-primary-tint-1{--pv-color-base:var(--pv-color-primary-tint-1)}.c-primary{--pv-color-base:var(--pv-color-primary)}.c-primary-shade-1{--pv-color-base:var(--pv-color-primary-shade-1)}.c-primary-shade-2{--pv-color-base:var(--pv-color-primary-shade-2)}.c-primary-shade-3{--pv-color-base:var(--pv-color-primary-shade-3)}.c-primary-shade-4{--pv-color-base:var(--pv-color-primary-shade-4)}.c-primary-shade-5{--pv-color-base:var(--pv-color-primary-shade-5)}.c-primary-contrast{--pv-color-base:var(--pv-color-primary-contrast)}.c-secondary-tint-5{--pv-color-base:var(--pv-color-secondary-tint-5)}.c-secondary-tint-4{--pv-color-base:var(--pv-color-secondary-tint-4)}.c-secondary-tint-3{--pv-color-base:var(--pv-color-secondary-tint-3)}.c-secondary-tint-2{--pv-color-base:var(--pv-color-secondary-tint-2)}.c-secondary-tint-1{--pv-color-base:var(--pv-color-secondary-tint-1)}.c-secondary{--pv-color-base:var(--pv-color-secondary)}.c-secondary-shade-1{--pv-color-base:var(--pv-color-secondary-shade-1)}.c-secondary-shade-2{--pv-color-base:var(--pv-color-secondary-shade-2)}.c-secondary-shade-3{--pv-color-base:var(--pv-color-secondary-shade-3)}.c-secondary-shade-4{--pv-color-base:var(--pv-color-secondary-shade-4)}.c-secondary-shade-5{--pv-color-base:var(--pv-color-secondary-shade-5)}.c-secondary-contrast{--pv-color-base:var(--pv-color-secondary-contrast)}.c-wrong-tint-5{--pv-color-base:var(--pv-color-wrong-tint-5)}.c-wrong-tint-4{--pv-color-base:var(--pv-color-wrong-tint-4)}.c-wrong-tint-3{--pv-color-base:var(--pv-color-wrong-tint-3)}.c-wrong-tint-2{--pv-color-base:var(--pv-color-wrong-tint-2)}.c-wrong-tint-1{--pv-color-base:var(--pv-color-wrong-tint-1)}.c-wrong{--pv-color-base:var(--pv-color-wrong)}.c-wrong-shade-1{--pv-color-base:var(--pv-color-wrong-shade-1)}.c-wrong-shade-2{--pv-color-base:var(--pv-color-wrong-shade-2)}.c-wrong-shade-3{--pv-color-base:var(--pv-color-wrong-shade-3)}.c-wrong-shade-4{--pv-color-base:var(--pv-color-wrong-shade-4)}.c-wrong-shade-5{--pv-color-base:var(--pv-color-wrong-shade-5)}.c-wrong-contrast{--pv-color-base:var(--pv-color-wrong-contrast)}.c-attention-tint-5{--pv-color-base:var(--pv-color-attention-tint-5)}.c-attention-tint-4{--pv-color-base:var(--pv-color-attention-tint-4)}.c-attention-tint-3{--pv-color-base:var(--pv-color-attention-tint-3)}.c-attention-tint-2{--pv-color-base:var(--pv-color-attention-tint-2)}.c-attention-tint-1{--pv-color-base:var(--pv-color-attention-tint-1)}.c-attention{--pv-color-base:var(--pv-color-attention)}.c-attention-shade-1{--pv-color-base:var(--pv-color-attention-shade-1)}.c-attention-shade-2{--pv-color-base:var(--pv-color-attention-shade-2)}.c-attention-shade-3{--pv-color-base:var(--pv-color-attention-shade-3)}.c-attention-shade-4{--pv-color-base:var(--pv-color-attention-shade-4)}.c-attention-shade-5{--pv-color-base:var(--pv-color-attention-shade-5)}.c-success-tint-5{--pv-color-base:var(--pv-color-success-tint-5)}.c-success-tint-4{--pv-color-base:var(--pv-color-success-tint-4)}.c-success-tint-3{--pv-color-base:var(--pv-color-success-tint-3)}.c-success-tint-2{--pv-color-base:var(--pv-color-success-tint-2)}.c-success-tint-1{--pv-color-base:var(--pv-color-success-tint-1)}.c-success{--pv-color-base:var(--pv-color-success)}.c-success-shade-1{--pv-color-base:var(--pv-color-success-shade-1)}.c-success-shade-2{--pv-color-base:var(--pv-color-success-shade-2)}.c-success-shade-3{--pv-color-base:var(--pv-color-success-shade-3)}.c-success-shade-4{--pv-color-base:var(--pv-color-success-shade-4)}.c-success-shade-5{--pv-color-base:var(--pv-color-success-shade-5)}.c-black{--pv-color-base:var(--pv-color-black)}.c-gray-10{--pv-color-base:var(--pv-color-gray-10)}.c-gray-9{--pv-color-base:var(--pv-color-gray-9)}.c-gray-8{--pv-color-base:var(--pv-color-gray-8)}.c-gray-7{--pv-color-base:var(--pv-color-gray-7)}.c-gray-6{--pv-color-base:var(--pv-color-gray-6)}.c-gray-5{--pv-color-base:var(--pv-color-gray-5)}.c-gray-4{--pv-color-base:var(--pv-color-gray-4)}.c-gray-3{--pv-color-base:var(--pv-color-gray-3)}.c-gray-2{--pv-color-base:var(--pv-color-gray-2)}.c-gray-1{--pv-color-base:var(--pv-color-gray-1)}.c-white{--pv-color-base:var(--pv-color-white)}.c-extra-1{--pv-color-base:var(--pv-color-extra-1)}.c-extra-2{--pv-color-base:var(--pv-color-extra-2)}.typography{color:var(--pv-color-base)}.button{display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;background:transparent;border:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;text-decoration:none;outline:none;font-family:inherit;border-radius:4px;height:var(--pv-size-base-6);min-width:var(--pv-size-base-6);padding:0 var(--pv-size-base-2);-webkit-transition:background-color 200ms ease 0s;transition:background-color 200ms ease 0s;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;gap:var(--pv-size-base-2);font-size:0}.button.m_no_padding{padding:0}.button:hover{background-color:var(--pv-color-gray-3)}.button:focus{background-color:var(--pv-color-gray-4)}.button:active{background-color:var(--pv-color-gray-5)}:host{display:block;width:100%;position:relative;min-width:280px;min-height:300px;word-wrap:break-word;word-break:break-word}th,td{border:none}table{width:100%;border-spacing:0;border-collapse:collapse}table td{padding:var(--pv-size-base-2) var(--pv-size-base-4);vertical-align:top}table td:first-child{width:220px}table td:last-child{width:calc(100% - 220px)}table td.monospace{max-width:0}table td.divider{padding:var(--pv-size-base-2) 0}table td.divider span{height:1px;display:block;background-color:var(--pv-color-gray-4)}table .title td{padding-top:var(--pv-size-base-6);padding-bottom:var(--pv-size-base-2)}table table{border-left:1px solid var(--pv-color-gray-5)}.status_wrapper{min-height:inherit;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}:host([data-mobile-screen-view=true]) table,:host([data-mobile-screen-view=true]) tr,:host([data-mobile-screen-view=true]) td{display:block}:host([data-mobile-screen-view=true]) table tr{padding:var(--pv-size-base-2) 0}:host([data-mobile-screen-view=true]) table tr.title{padding-top:var(--pv-size-base-6)}:host([data-mobile-screen-view=true]) table tr.title td{padding:0 var(--pv-size-base-4)}:host([data-mobile-screen-view=true]) table td{padding:0 var(--pv-size-base-4);width:100% !important;max-width:100% !important}:host([data-mobile-screen-view=true]) table td.divider{padding:0}";var nt=it;var st=t("peculiar_crl_viewer",function(){function t(t){var e=this;r(this,t);this.getAuthKeyIdParentLink=function(t){var r;return(r=e.authKeyIdParentLink)===null||r===void 0?void 0:r.replace("{{authKeyId}}",t)};this.getAuthKeyIdSiblingsLink=function(t){var r;return(r=e.authKeyIdSiblingsLink)===null||r===void 0?void 0:r.replace("{{authKeyId}}",t)};this.certificate=undefined;this.download=undefined;this.authKeyIdParentLink=undefined;this.authKeyIdSiblingsLink=undefined;this.issuerDnLink=undefined;this.mobileMediaQueryString="(max-width: 900px)";this.mobileScreenView=false;this.isDecodeInProcess=true}t.prototype.handleMediaQueryChange=function(t){this.mobileScreenView=t.matches};t.prototype.componentWillLoad=function(){this.decodeCertificate(this.certificate);{this.mobileMediaQuery=window.matchMedia(this.mobileMediaQueryString);this.mobileMediaQuery.addEventListener("change",this.handleMediaQueryChange.bind(this));this.mobileScreenView=this.mobileMediaQuery.matches}};t.prototype.disconnectedCallback=function(){this.mobileMediaQuery.removeEventListener("change",this.handleMediaQueryChange.bind(this))};t.prototype.decodeCertificate=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(r){switch(r.label){case 0:this.isDecodeInProcess=true;r.label=1;case 1:r.trys.push([1,4,,5]);if(t instanceof m){this.certificateDecoded=t}else if(typeof t==="string"){this.certificateDecoded=new m(t)}else{return[2]}this.certificateDecoded.parseExtensions();return[4,this.certificateDecoded.getThumbprint("SHA-1")];case 2:r.sent();return[4,this.certificateDecoded.getThumbprint("SHA-256")];case 3:r.sent();return[3,5];case 4:e=r.sent();this.certificateDecodeError=e;console.error("Error certificate parse:",e);return[3,5];case 5:this.isDecodeInProcess=false;return[2]}}))}))};t.prototype.getIssuerDnLink=function(){return this.issuerDnLink};t.prototype.watchCertificateAndDecode=function(t,e){if(typeof t==="string"&&typeof e==="string"){if(t!==e){this.decodeCertificate(t)}return}if(t instanceof m&&e instanceof m){if(t.commonName!==e.commonName){this.decodeCertificate(t)}}};t.prototype.renderErrorState=function(){return e("div",{class:"status_wrapper"},e(H,null,"There was an error decoding this certificate revocation list."))};t.prototype.renderEmptyState=function(){return e("div",{class:"status_wrapper"},e(H,null,"There is no certificate revocation list available."))};t.prototype.render=function(){if(this.certificateDecodeError){return this.renderErrorState()}if(!this.certificateDecoded){return this.renderEmptyState()}return e(a,{"data-mobile-screen-view":String(this.mobileScreenView)},e("table",null,e(S,Object.assign({},this.certificateDecoded)),e(C,{name:this.certificateDecoded.issuer,issuerDnLink:this.getIssuerDnLink()}),e(N,{signature:this.certificateDecoded.signature}),e(_,{thumbprints:this.certificateDecoded.thumbprints}),e(P,{extensions:this.certificateDecoded.extensions,getLEILink:A,getDNSNameLink:K,getIPAddressLink:D,getAuthKeyIdParentLink:this.getAuthKeyIdParentLink,getAuthKeyIdSiblingsLink:this.getAuthKeyIdSiblingsLink}),e($,{revokedCertificates:this.certificateDecoded.revokedCertificates,getDNSNameLink:K,getIPAddressLink:D}),this.download&&e(E,{certificate:this.certificateDecoded})))};Object.defineProperty(t,"watchers",{get:function(){return{certificate:["watchCertificateAndDecode"]}},enumerable:false,configurable:true});return t}());st.style=nt;var ct="*{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-text-size-adjust:none;-ms-text-size-adjust:none;text-size-adjust:none;-webkit-text-size-adjust:none;-webkit-tap-highlight-color:transparent;font-family:var(--pv-font-family, inherit)}.t-h1{font-weight:var(--pv-text-h1-weight);font-size:var(--pv-text-h1-size);line-height:var(--pv-text-h1-height);letter-spacing:var(--pv-text-h1-spacing)}.t-h2{font-weight:var(--pv-text-h2-weight);font-size:var(--pv-text-h2-size);line-height:var(--pv-text-h2-height);letter-spacing:var(--pv-text-h2-spacing)}.t-h3{font-weight:var(--pv-text-h3-weight);font-size:var(--pv-text-h3-size);line-height:var(--pv-text-h3-height);letter-spacing:var(--pv-text-h3-spacing)}.t-h4{font-weight:var(--pv-text-h4-weight);font-size:var(--pv-text-h4-size);line-height:var(--pv-text-h4-height);letter-spacing:var(--pv-text-h4-spacing)}.t-h5{font-weight:var(--pv-text-h5-weight);font-size:var(--pv-text-h5-size);line-height:var(--pv-text-h5-height);letter-spacing:var(--pv-text-h5-spacing)}.t-s1{font-weight:var(--pv-text-s1-weight);font-size:var(--pv-text-s1-size);line-height:var(--pv-text-s1-height);letter-spacing:var(--pv-text-s1-spacing)}.t-s2{font-weight:var(--pv-text-s2-weight);font-size:var(--pv-text-s2-size);line-height:var(--pv-text-s2-height);letter-spacing:var(--pv-text-s2-spacing)}.t-b1{font-weight:var(--pv-text-b1-weight);font-size:var(--pv-text-b1-size);line-height:var(--pv-text-b1-height);letter-spacing:var(--pv-text-b1-spacing)}.t-b2{font-weight:var(--pv-text-b2-weight);font-size:var(--pv-text-b2-size);line-height:var(--pv-text-b2-height);letter-spacing:var(--pv-text-b2-spacing)}.t-b3{font-weight:var(--pv-text-b3-weight);font-size:var(--pv-text-b3-size);line-height:var(--pv-text-b3-height);letter-spacing:var(--pv-text-b3-spacing)}.t-btn1{font-weight:var(--pv-text-btn1-weight);font-size:var(--pv-text-btn1-size);line-height:var(--pv-text-btn1-height);letter-spacing:var(--pv-text-btn1-spacing)}.t-btn2{font-weight:var(--pv-text-btn2-weight);font-size:var(--pv-text-btn2-size);line-height:var(--pv-text-btn2-height);letter-spacing:var(--pv-text-btn2-spacing)}.t-c1{font-weight:var(--pv-text-c1-weight);font-size:var(--pv-text-c1-size);line-height:var(--pv-text-c1-height);letter-spacing:var(--pv-text-c1-spacing)}.t-c2{font-weight:var(--pv-text-c2-weight);font-size:var(--pv-text-c2-size);line-height:var(--pv-text-c2-height);letter-spacing:var(--pv-text-c2-spacing)}.c-primary-tint-5{--pv-color-base:var(--pv-color-primary-tint-5)}.c-primary-tint-4{--pv-color-base:var(--pv-color-primary-tint-4)}.c-primary-tint-3{--pv-color-base:var(--pv-color-primary-tint-3)}.c-primary-tint-2{--pv-color-base:var(--pv-color-primary-tint-2)}.c-primary-tint-1{--pv-color-base:var(--pv-color-primary-tint-1)}.c-primary{--pv-color-base:var(--pv-color-primary)}.c-primary-shade-1{--pv-color-base:var(--pv-color-primary-shade-1)}.c-primary-shade-2{--pv-color-base:var(--pv-color-primary-shade-2)}.c-primary-shade-3{--pv-color-base:var(--pv-color-primary-shade-3)}.c-primary-shade-4{--pv-color-base:var(--pv-color-primary-shade-4)}.c-primary-shade-5{--pv-color-base:var(--pv-color-primary-shade-5)}.c-primary-contrast{--pv-color-base:var(--pv-color-primary-contrast)}.c-secondary-tint-5{--pv-color-base:var(--pv-color-secondary-tint-5)}.c-secondary-tint-4{--pv-color-base:var(--pv-color-secondary-tint-4)}.c-secondary-tint-3{--pv-color-base:var(--pv-color-secondary-tint-3)}.c-secondary-tint-2{--pv-color-base:var(--pv-color-secondary-tint-2)}.c-secondary-tint-1{--pv-color-base:var(--pv-color-secondary-tint-1)}.c-secondary{--pv-color-base:var(--pv-color-secondary)}.c-secondary-shade-1{--pv-color-base:var(--pv-color-secondary-shade-1)}.c-secondary-shade-2{--pv-color-base:var(--pv-color-secondary-shade-2)}.c-secondary-shade-3{--pv-color-base:var(--pv-color-secondary-shade-3)}.c-secondary-shade-4{--pv-color-base:var(--pv-color-secondary-shade-4)}.c-secondary-shade-5{--pv-color-base:var(--pv-color-secondary-shade-5)}.c-secondary-contrast{--pv-color-base:var(--pv-color-secondary-contrast)}.c-wrong-tint-5{--pv-color-base:var(--pv-color-wrong-tint-5)}.c-wrong-tint-4{--pv-color-base:var(--pv-color-wrong-tint-4)}.c-wrong-tint-3{--pv-color-base:var(--pv-color-wrong-tint-3)}.c-wrong-tint-2{--pv-color-base:var(--pv-color-wrong-tint-2)}.c-wrong-tint-1{--pv-color-base:var(--pv-color-wrong-tint-1)}.c-wrong{--pv-color-base:var(--pv-color-wrong)}.c-wrong-shade-1{--pv-color-base:var(--pv-color-wrong-shade-1)}.c-wrong-shade-2{--pv-color-base:var(--pv-color-wrong-shade-2)}.c-wrong-shade-3{--pv-color-base:var(--pv-color-wrong-shade-3)}.c-wrong-shade-4{--pv-color-base:var(--pv-color-wrong-shade-4)}.c-wrong-shade-5{--pv-color-base:var(--pv-color-wrong-shade-5)}.c-wrong-contrast{--pv-color-base:var(--pv-color-wrong-contrast)}.c-attention-tint-5{--pv-color-base:var(--pv-color-attention-tint-5)}.c-attention-tint-4{--pv-color-base:var(--pv-color-attention-tint-4)}.c-attention-tint-3{--pv-color-base:var(--pv-color-attention-tint-3)}.c-attention-tint-2{--pv-color-base:var(--pv-color-attention-tint-2)}.c-attention-tint-1{--pv-color-base:var(--pv-color-attention-tint-1)}.c-attention{--pv-color-base:var(--pv-color-attention)}.c-attention-shade-1{--pv-color-base:var(--pv-color-attention-shade-1)}.c-attention-shade-2{--pv-color-base:var(--pv-color-attention-shade-2)}.c-attention-shade-3{--pv-color-base:var(--pv-color-attention-shade-3)}.c-attention-shade-4{--pv-color-base:var(--pv-color-attention-shade-4)}.c-attention-shade-5{--pv-color-base:var(--pv-color-attention-shade-5)}.c-success-tint-5{--pv-color-base:var(--pv-color-success-tint-5)}.c-success-tint-4{--pv-color-base:var(--pv-color-success-tint-4)}.c-success-tint-3{--pv-color-base:var(--pv-color-success-tint-3)}.c-success-tint-2{--pv-color-base:var(--pv-color-success-tint-2)}.c-success-tint-1{--pv-color-base:var(--pv-color-success-tint-1)}.c-success{--pv-color-base:var(--pv-color-success)}.c-success-shade-1{--pv-color-base:var(--pv-color-success-shade-1)}.c-success-shade-2{--pv-color-base:var(--pv-color-success-shade-2)}.c-success-shade-3{--pv-color-base:var(--pv-color-success-shade-3)}.c-success-shade-4{--pv-color-base:var(--pv-color-success-shade-4)}.c-success-shade-5{--pv-color-base:var(--pv-color-success-shade-5)}.c-black{--pv-color-base:var(--pv-color-black)}.c-gray-10{--pv-color-base:var(--pv-color-gray-10)}.c-gray-9{--pv-color-base:var(--pv-color-gray-9)}.c-gray-8{--pv-color-base:var(--pv-color-gray-8)}.c-gray-7{--pv-color-base:var(--pv-color-gray-7)}.c-gray-6{--pv-color-base:var(--pv-color-gray-6)}.c-gray-5{--pv-color-base:var(--pv-color-gray-5)}.c-gray-4{--pv-color-base:var(--pv-color-gray-4)}.c-gray-3{--pv-color-base:var(--pv-color-gray-3)}.c-gray-2{--pv-color-base:var(--pv-color-gray-2)}.c-gray-1{--pv-color-base:var(--pv-color-gray-1)}.c-white{--pv-color-base:var(--pv-color-white)}.c-extra-1{--pv-color-base:var(--pv-color-extra-1)}.c-extra-2{--pv-color-base:var(--pv-color-extra-2)}.typography{color:var(--pv-color-base)}.button{display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;background:transparent;border:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;text-decoration:none;outline:none;font-family:inherit;border-radius:4px;height:var(--pv-size-base-6);min-width:var(--pv-size-base-6);padding:0 var(--pv-size-base-2);-webkit-transition:background-color 200ms ease 0s;transition:background-color 200ms ease 0s;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;gap:var(--pv-size-base-2);font-size:0}.button.m_no_padding{padding:0}.button:hover{background-color:var(--pv-color-gray-3)}.button:focus{background-color:var(--pv-color-gray-4)}.button:active{background-color:var(--pv-color-gray-5)}:host{display:block;width:100%;position:relative;min-width:280px;min-height:300px;word-wrap:break-word;word-break:break-word}th,td{border:none}table{width:100%;border-spacing:0;border-collapse:collapse}table td{padding:var(--pv-size-base-2) var(--pv-size-base-4);vertical-align:top}table td:first-child{width:220px}table td:last-child{width:calc(100% - 220px)}table td.monospace{max-width:0}table td.divider{padding:var(--pv-size-base-2) 0}table td.divider span{height:1px;display:block;background-color:var(--pv-color-gray-4)}table .title td{padding-top:var(--pv-size-base-6);padding-bottom:var(--pv-size-base-2)}table table{border-left:1px solid var(--pv-color-gray-5)}.status_wrapper{min-height:inherit;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}:host([data-mobile-screen-view=true]) table,:host([data-mobile-screen-view=true]) tr,:host([data-mobile-screen-view=true]) td{display:block}:host([data-mobile-screen-view=true]) table tr{padding:var(--pv-size-base-2) 0}:host([data-mobile-screen-view=true]) table tr.title{padding-top:var(--pv-size-base-6)}:host([data-mobile-screen-view=true]) table tr.title td{padding:0 var(--pv-size-base-4)}:host([data-mobile-screen-view=true]) table td{padding:0 var(--pv-size-base-4);width:100% !important;max-width:100% !important}:host([data-mobile-screen-view=true]) table td.divider{padding:0}";var vt=ct;var pt=t("peculiar_csr_viewer",function(){function t(t){var e=this;r(this,t);this.getAuthKeyIdParentLink=function(t){return t};this.getAuthKeyIdSiblingsLink=function(t){return t};this.getSubjectKeyIdChildrenLink=function(t){var r;return(r=e.subjectKeyIdChildrenLink)===null||r===void 0?void 0:r.replace("{{subjectKeyId}}",t)};this.getSubjectKeyIdSiblingsLink=function(t){var r;return(r=e.subjectKeyIdSiblingsLink)===null||r===void 0?void 0:r.replace("{{subjectKeyId}}",t)};this.certificate=undefined;this.download=undefined;this.subjectKeyIdChildrenLink=undefined;this.subjectKeyIdSiblingsLink=undefined;this.mobileMediaQueryString="(max-width: 900px)";this.mobileScreenView=false;this.isDecodeInProcess=true}t.prototype.handleMediaQueryChange=function(t){this.mobileScreenView=t.matches};t.prototype.componentWillLoad=function(){this.decodeCertificate(this.certificate);{this.mobileMediaQuery=window.matchMedia(this.mobileMediaQueryString);this.mobileMediaQuery.addEventListener("change",this.handleMediaQueryChange.bind(this));this.mobileScreenView=this.mobileMediaQuery.matches}};t.prototype.disconnectedCallback=function(){this.mobileMediaQuery.removeEventListener("change",this.handleMediaQueryChange.bind(this))};t.prototype.decodeCertificate=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(r){switch(r.label){case 0:this.isDecodeInProcess=true;r.label=1;case 1:r.trys.push([1,4,,5]);if(t instanceof V){this.certificateDecoded=t}else if(typeof t==="string"){this.certificateDecoded=new V(t)}else{return[2]}this.certificateDecoded.parseAttributes();return[4,this.certificateDecoded.getThumbprint("SHA-1")];case 2:r.sent();return[4,this.certificateDecoded.getThumbprint("SHA-256")];case 3:r.sent();return[3,5];case 4:e=r.sent();this.certificateDecodeError=e;console.error("Error certificate parse:",e);return[3,5];case 5:this.isDecodeInProcess=false;return[2]}}))}))};t.prototype.watchCertificateAndDecode=function(t,e){if(typeof t==="string"&&typeof e==="string"){if(t!==e){this.decodeCertificate(t)}return}if(t instanceof V&&e instanceof V){if(t.commonName!==e.commonName){this.decodeCertificate(t)}}};t.prototype.renderErrorState=function(){return e("div",{class:"status_wrapper"},e(H,null,"There was an error decoding this certificate request."))};t.prototype.renderEmptyState=function(){return e("div",{class:"status_wrapper"},e(H,null,"There is no certificate request available."))};t.prototype.render=function(){if(this.certificateDecodeError){return this.renderErrorState()}if(!this.certificateDecoded){return this.renderEmptyState()}return e(a,{"data-mobile-screen-view":String(this.mobileScreenView)},e("table",null,e(S,Object.assign({},this.certificateDecoded)),e(O,{name:this.certificateDecoded.subject}),e(T,{publicKey:this.certificateDecoded.publicKey}),e(N,{signature:this.certificateDecoded.signature}),e(_,{thumbprints:this.certificateDecoded.thumbprints}),e(Z,{attributes:this.certificateDecoded.attributes,getLEILink:A,getDNSNameLink:K,getIPAddressLink:D,getAuthKeyIdParentLink:this.getAuthKeyIdParentLink,getAuthKeyIdSiblingsLink:this.getAuthKeyIdSiblingsLink,getSubjectKeyIdChildrenLink:this.getSubjectKeyIdChildrenLink,getSubjectKeyIdSiblingsLink:this.getSubjectKeyIdSiblingsLink}),e(P,{extensions:this.certificateDecoded.extensions,title:"Extension Request",getLEILink:A,getDNSNameLink:K,getIPAddressLink:D,getAuthKeyIdParentLink:this.getAuthKeyIdParentLink,getAuthKeyIdSiblingsLink:this.getAuthKeyIdSiblingsLink,getSubjectKeyIdChildrenLink:this.getSubjectKeyIdChildrenLink,getSubjectKeyIdSiblingsLink:this.getSubjectKeyIdSiblingsLink}),this.download&&e(E,{certificate:this.certificateDecoded})))};Object.defineProperty(t,"watchers",{get:function(){return{certificate:["watchCertificateAndDecode"]}},enumerable:false,configurable:true});return t}());pt.style=vt}}}));
|
|
111
|
-
//# sourceMappingURL=p-
|
|
111
|
+
//# sourceMappingURL=p-f9c07207.system.entry.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import{p as e,b as i}from"./p-3cb79cd9.js";export{s as setNonce}from"./p-3cb79cd9.js";import{g as t}from"./p-dac867e8.js";const c=()=>{const i=import.meta.url;const t={};if(i!==""){t.resourcesUrl=new URL(".",i).href}return e(t)};c().then((async e=>{await t();return i([["p-
|
|
4
|
+
import{p as e,b as i}from"./p-3cb79cd9.js";export{s as setNonce}from"./p-3cb79cd9.js";import{g as t}from"./p-dac867e8.js";const c=()=>{const i=import.meta.url;const t={};if(i!==""){t.resourcesUrl=new URL(".",i).href}return e(t)};c().then((async e=>{await t();return i([["p-cd1b1876",[[1,"peculiar-certificate-decoder",{certificateExamples:[16],defaultCertificate:[1,"default-certificate"],certificateDecoded:[32]}]]],["p-67e82386",[[1,"peculiar-certificates-viewer",{certificates:[16],filterWithSearch:[4,"filter-with-search"],highlightWithSearch:[4,"highlight-with-search"],mobileMediaQueryString:[1,"mobile-media-query-string"],mobileScreenView:[32],search:[32],certificatesDecoded:[32],expandedRow:[32],certificateSelectedForDetails:[32],isDecodeInProcess:[32]},null,{certificates:["watchCertificates"]}]]],["p-713563fb",[[6,"peculiar-text-hider",{opened:[32]}]]],["p-bafd67f3",[[1,"peculiar-certificate-viewer",{certificate:[513],download:[516],authKeyIdParentLink:[513,"auth-key-id-parent-link"],authKeyIdSiblingsLink:[513,"auth-key-id-siblings-link"],subjectKeyIdChildrenLink:[513,"subject-key-id-children-link"],subjectKeyIdSiblingsLink:[513,"subject-key-id-siblings-link"],issuerDnLink:[513,"issuer-dn-link"],mobileMediaQueryString:[1,"mobile-media-query-string"],mobileScreenView:[32],isDecodeInProcess:[32]},null,{certificate:["watchCertificateAndDecode"]}]]],["p-5d1d4a96",[[1,"peculiar-attribute-certificate-viewer",{certificate:[1],download:[4],authKeyIdParentLink:[513,"auth-key-id-parent-link"],authKeyIdSiblingsLink:[513,"auth-key-id-siblings-link"],subjectKeyIdChildrenLink:[513,"subject-key-id-children-link"],subjectKeyIdSiblingsLink:[513,"subject-key-id-siblings-link"],mobileMediaQueryString:[1,"mobile-media-query-string"],mobileScreenView:[32],isDecodeInProcess:[32]},null,{certificate:["watchCertificateAndDecode"]}],[1,"peculiar-crl-viewer",{certificate:[513],download:[4],authKeyIdParentLink:[513,"auth-key-id-parent-link"],authKeyIdSiblingsLink:[513,"auth-key-id-siblings-link"],issuerDnLink:[513,"issuer-dn-link"],mobileMediaQueryString:[1,"mobile-media-query-string"],mobileScreenView:[32],isDecodeInProcess:[32]},null,{certificate:["watchCertificateAndDecode"]}],[1,"peculiar-csr-viewer",{certificate:[513],download:[4],subjectKeyIdChildrenLink:[513,"subject-key-id-children-link"],subjectKeyIdSiblingsLink:[513,"subject-key-id-siblings-link"],mobileMediaQueryString:[1,"mobile-media-query-string"],mobileScreenView:[32],isDecodeInProcess:[32]},null,{certificate:["watchCertificateAndDecode"]}]]],["p-afbd1c8e",[[2,"peculiar-button-menu",{groups:[16],open:[32]}],[1,"peculiar-circular-progress",{size:[2],width:[2]}],[1,"peculiar-highlight-words",{search:[1]}]]]],e)}));
|
|
5
5
|
//# sourceMappingURL=peculiar.esm.js.map
|
package/hydrate/index.js
CHANGED
|
@@ -14331,6 +14331,71 @@ create$1(id_ecdsaWithSHA256);
|
|
|
14331
14331
|
create$1(id_ecdsaWithSHA384);
|
|
14332
14332
|
create$1(id_ecdsaWithSHA512);
|
|
14333
14333
|
|
|
14334
|
+
let FieldID = class FieldID {
|
|
14335
|
+
constructor(params = {}) {
|
|
14336
|
+
Object.assign(this, params);
|
|
14337
|
+
}
|
|
14338
|
+
};
|
|
14339
|
+
__decorate$1([
|
|
14340
|
+
AsnProp({ type: AsnPropTypes.ObjectIdentifier })
|
|
14341
|
+
], FieldID.prototype, "fieldType", void 0);
|
|
14342
|
+
__decorate$1([
|
|
14343
|
+
AsnProp({ type: AsnPropTypes.Any })
|
|
14344
|
+
], FieldID.prototype, "parameters", void 0);
|
|
14345
|
+
FieldID = __decorate$1([
|
|
14346
|
+
AsnType({ type: AsnTypeTypes.Sequence })
|
|
14347
|
+
], FieldID);
|
|
14348
|
+
class ECPoint extends OctetString {
|
|
14349
|
+
}
|
|
14350
|
+
let Curve = class Curve {
|
|
14351
|
+
constructor(params = {}) {
|
|
14352
|
+
Object.assign(this, params);
|
|
14353
|
+
}
|
|
14354
|
+
};
|
|
14355
|
+
__decorate$1([
|
|
14356
|
+
AsnProp({ type: AsnPropTypes.OctetString })
|
|
14357
|
+
], Curve.prototype, "a", void 0);
|
|
14358
|
+
__decorate$1([
|
|
14359
|
+
AsnProp({ type: AsnPropTypes.OctetString })
|
|
14360
|
+
], Curve.prototype, "b", void 0);
|
|
14361
|
+
__decorate$1([
|
|
14362
|
+
AsnProp({ type: AsnPropTypes.BitString, optional: true })
|
|
14363
|
+
], Curve.prototype, "seed", void 0);
|
|
14364
|
+
Curve = __decorate$1([
|
|
14365
|
+
AsnType({ type: AsnTypeTypes.Sequence })
|
|
14366
|
+
], Curve);
|
|
14367
|
+
var ECPVer;
|
|
14368
|
+
(function (ECPVer) {
|
|
14369
|
+
ECPVer[ECPVer["ecpVer1"] = 1] = "ecpVer1";
|
|
14370
|
+
})(ECPVer || (ECPVer = {}));
|
|
14371
|
+
let SpecifiedECDomain = class SpecifiedECDomain {
|
|
14372
|
+
constructor(params = {}) {
|
|
14373
|
+
this.version = ECPVer.ecpVer1;
|
|
14374
|
+
Object.assign(this, params);
|
|
14375
|
+
}
|
|
14376
|
+
};
|
|
14377
|
+
__decorate$1([
|
|
14378
|
+
AsnProp({ type: AsnPropTypes.Integer })
|
|
14379
|
+
], SpecifiedECDomain.prototype, "version", void 0);
|
|
14380
|
+
__decorate$1([
|
|
14381
|
+
AsnProp({ type: FieldID })
|
|
14382
|
+
], SpecifiedECDomain.prototype, "fieldID", void 0);
|
|
14383
|
+
__decorate$1([
|
|
14384
|
+
AsnProp({ type: Curve })
|
|
14385
|
+
], SpecifiedECDomain.prototype, "curve", void 0);
|
|
14386
|
+
__decorate$1([
|
|
14387
|
+
AsnProp({ type: ECPoint })
|
|
14388
|
+
], SpecifiedECDomain.prototype, "base", void 0);
|
|
14389
|
+
__decorate$1([
|
|
14390
|
+
AsnProp({ type: AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
|
|
14391
|
+
], SpecifiedECDomain.prototype, "order", void 0);
|
|
14392
|
+
__decorate$1([
|
|
14393
|
+
AsnProp({ type: AsnPropTypes.Integer, optional: true })
|
|
14394
|
+
], SpecifiedECDomain.prototype, "cofactor", void 0);
|
|
14395
|
+
SpecifiedECDomain = __decorate$1([
|
|
14396
|
+
AsnType({ type: AsnTypeTypes.Sequence })
|
|
14397
|
+
], SpecifiedECDomain);
|
|
14398
|
+
|
|
14334
14399
|
let ECParameters = class ECParameters {
|
|
14335
14400
|
constructor(params = {}) {
|
|
14336
14401
|
Object.assign(this, params);
|
|
@@ -14339,6 +14404,12 @@ let ECParameters = class ECParameters {
|
|
|
14339
14404
|
__decorate$1([
|
|
14340
14405
|
AsnProp({ type: AsnPropTypes.ObjectIdentifier })
|
|
14341
14406
|
], ECParameters.prototype, "namedCurve", void 0);
|
|
14407
|
+
__decorate$1([
|
|
14408
|
+
AsnProp({ type: AsnPropTypes.Null })
|
|
14409
|
+
], ECParameters.prototype, "implicitCurve", void 0);
|
|
14410
|
+
__decorate$1([
|
|
14411
|
+
AsnProp({ type: SpecifiedECDomain })
|
|
14412
|
+
], ECParameters.prototype, "specifiedCurve", void 0);
|
|
14342
14413
|
ECParameters = __decorate$1([
|
|
14343
14414
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
14344
14415
|
], ECParameters);
|
|
@@ -20431,7 +20502,7 @@ __decorate$1([
|
|
|
20431
20502
|
AsnProp({ type: CertificateSet, context: 0, implicit: true, optional: true })
|
|
20432
20503
|
], SignedData.prototype, "certificates", void 0);
|
|
20433
20504
|
__decorate$1([
|
|
20434
|
-
AsnProp({ type:
|
|
20505
|
+
AsnProp({ type: RevocationInfoChoices, context: 1, implicit: true, optional: true })
|
|
20435
20506
|
], SignedData.prototype, "crls", void 0);
|
|
20436
20507
|
__decorate$1([
|
|
20437
20508
|
AsnProp({ type: SignerInfos })
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@peculiar/certificates-viewer",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Peculiar Certificate Viewer web-components makes it easy for you to display certificate related details in your web application.",
|
|
6
6
|
"keywords": [
|
|
@@ -38,25 +38,25 @@
|
|
|
38
38
|
"test.e2e.update": "stencil test --e2e --updateSnapshot"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@peculiar/asn1-adobe-acrobat": "^2.3.
|
|
42
|
-
"@peculiar/asn1-android": "^2.3.
|
|
43
|
-
"@peculiar/asn1-cert-transparency": "^2.3.
|
|
44
|
-
"@peculiar/asn1-csr": "^2.3.
|
|
45
|
-
"@peculiar/asn1-ecc": "^2.3.
|
|
46
|
-
"@peculiar/asn1-lei": "^2.3.
|
|
47
|
-
"@peculiar/asn1-ntqwac": "^2.3.
|
|
48
|
-
"@peculiar/asn1-pkcs9": "^2.3.
|
|
49
|
-
"@peculiar/asn1-rfc8226": "^2.3.
|
|
50
|
-
"@peculiar/asn1-rsa": "^2.3.
|
|
51
|
-
"@peculiar/asn1-schema": "^2.3.
|
|
52
|
-
"@peculiar/asn1-x509": "^2.3.
|
|
53
|
-
"@peculiar/asn1-x509-attr": "^2.3.
|
|
54
|
-
"@peculiar/asn1-x509-logotype": "^2.3.
|
|
55
|
-
"@peculiar/asn1-x509-microsoft": "^2.3.
|
|
56
|
-
"@peculiar/asn1-x509-netscape": "^2.3.
|
|
57
|
-
"@peculiar/asn1-x509-post-quantum": "^2.3.
|
|
58
|
-
"@peculiar/asn1-x509-qualified": "^2.3.
|
|
59
|
-
"@peculiar/asn1-x509-qualified-etsi": "^2.3.
|
|
41
|
+
"@peculiar/asn1-adobe-acrobat": "^2.3.13",
|
|
42
|
+
"@peculiar/asn1-android": "^2.3.13",
|
|
43
|
+
"@peculiar/asn1-cert-transparency": "^2.3.13",
|
|
44
|
+
"@peculiar/asn1-csr": "^2.3.13",
|
|
45
|
+
"@peculiar/asn1-ecc": "^2.3.14",
|
|
46
|
+
"@peculiar/asn1-lei": "^2.3.13",
|
|
47
|
+
"@peculiar/asn1-ntqwac": "^2.3.13",
|
|
48
|
+
"@peculiar/asn1-pkcs9": "^2.3.13",
|
|
49
|
+
"@peculiar/asn1-rfc8226": "^2.3.13",
|
|
50
|
+
"@peculiar/asn1-rsa": "^2.3.13",
|
|
51
|
+
"@peculiar/asn1-schema": "^2.3.13",
|
|
52
|
+
"@peculiar/asn1-x509": "^2.3.13",
|
|
53
|
+
"@peculiar/asn1-x509-attr": "^2.3.13",
|
|
54
|
+
"@peculiar/asn1-x509-logotype": "^2.3.13",
|
|
55
|
+
"@peculiar/asn1-x509-microsoft": "^2.3.13",
|
|
56
|
+
"@peculiar/asn1-x509-netscape": "^2.3.13",
|
|
57
|
+
"@peculiar/asn1-x509-post-quantum": "^2.3.13",
|
|
58
|
+
"@peculiar/asn1-x509-qualified": "^2.3.13",
|
|
59
|
+
"@peculiar/asn1-x509-qualified-etsi": "^2.3.13",
|
|
60
60
|
"@stencil/core": "^4.13.0",
|
|
61
61
|
"dayjs": "^1.11.11",
|
|
62
62
|
"pvtsutils": "^1.3.5"
|
|
@@ -83,5 +83,5 @@
|
|
|
83
83
|
"publishConfig": {
|
|
84
84
|
"access": "public"
|
|
85
85
|
},
|
|
86
|
-
"gitHead": "
|
|
86
|
+
"gitHead": "c4f24ddedbd73755ab304d59961e7628dde41233"
|
|
87
87
|
}
|