@peculiar/certificates-viewer 1.18.0 → 1.20.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.
Files changed (41) hide show
  1. package/dist/cjs/{download-47be779e.js → download-061c8763.js} +49 -9
  2. package/dist/cjs/{l10n-f5651bb0.js → l10n-e971a5ac.js} +1 -1
  3. package/dist/cjs/peculiar-attribute-certificate-viewer_9.cjs.entry.js +64 -9
  4. package/dist/cjs/peculiar-certificate-summary_3.cjs.entry.js +1 -1
  5. package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js +2 -2
  6. package/dist/collection/components/certificate-viewer/extensions/crl_distribution_points_extension.js +5 -2
  7. package/dist/collection/components/certificate-viewer/extensions/general_name_part.js +18 -3
  8. package/dist/collection/components/certificate-viewer/extensions/index.js +13 -4
  9. package/dist/collection/components/certificate-viewer/extensions/{authority_info_access_syntax_extension.js → info_access_syntax_extension.js} +1 -1
  10. package/dist/collection/components/certificate-viewer/extensions/policy_constraints_extension.js +17 -0
  11. package/dist/collection/components/certificate-viewer/extensions/policy_mappings_extension.js +19 -0
  12. package/dist/collection/constants/oids.js +9 -4
  13. package/dist/collection/crypto/extension.js +4 -1
  14. package/dist/esm/{download-8043769c.js → download-250f9495.js} +47 -9
  15. package/dist/esm/{l10n-6ab04c66.js → l10n-c8cf6930.js} +1 -1
  16. package/dist/esm/peculiar-attribute-certificate-viewer_9.entry.js +64 -9
  17. package/dist/esm/peculiar-certificate-summary_3.entry.js +1 -1
  18. package/dist/esm/peculiar-certificates-viewer.entry.js +2 -2
  19. package/dist/esm-es5/{download-8043769c.js → download-250f9495.js} +54 -11
  20. package/dist/esm-es5/{l10n-6ab04c66.js → l10n-c8cf6930.js} +2 -2
  21. package/dist/esm-es5/peculiar-attribute-certificate-viewer_9.entry.js +60 -9
  22. package/dist/esm-es5/peculiar-certificate-summary_3.entry.js +1 -1
  23. package/dist/esm-es5/peculiar-certificates-viewer.entry.js +2 -2
  24. package/dist/peculiar/{p-13f66367.system.entry.js → p-293edf5c.system.entry.js} +1 -1
  25. package/dist/peculiar/{p-f304a39b.entry.js → p-294c4ef9.entry.js} +1 -1
  26. package/dist/peculiar/{p-768f505c.entry.js → p-31a15658.entry.js} +14 -14
  27. package/dist/peculiar/p-557d912f.system.js +1 -1
  28. package/dist/peculiar/{p-97954b76.system.js → p-636aea18.system.js} +11 -11
  29. package/dist/peculiar/{p-1464d6ca.entry.js → p-75793893.entry.js} +1 -1
  30. package/dist/peculiar/{p-150d1ad1.system.entry.js → p-983b5210.system.entry.js} +1 -1
  31. package/dist/peculiar/{p-02ef5dea.system.entry.js → p-aece90c7.system.entry.js} +78 -64
  32. package/dist/peculiar/{p-ee7045c5.system.js → p-bd1f9066.system.js} +3 -3
  33. package/dist/peculiar/{p-79bbe633.js → p-cf1841f8.js} +1 -1
  34. package/dist/peculiar/{p-53b83a50.js → p-e5769859.js} +10 -10
  35. package/dist/peculiar/peculiar.esm.js +1 -1
  36. package/dist/types/components/certificate-viewer/extensions/info_access_syntax_extension.d.ts +15 -0
  37. package/dist/types/components/certificate-viewer/extensions/{authority_info_access_syntax_extension.d.ts → policy_constraints_extension.d.ts} +4 -4
  38. package/dist/types/components/certificate-viewer/extensions/policy_mappings_extension.d.ts +15 -0
  39. package/dist/types/constants/oids.d.ts +5 -0
  40. package/dist/types/crypto/extension.d.ts +2 -2
  41. package/package.json +14 -14
@@ -1,4 +1,4 @@
1
- import { c as createCommonjsModule, u as unwrapExports, b as commonjsGlobal, d as dateDiff } from './l10n-6ab04c66.js';
1
+ import { c as createCommonjsModule, u as unwrapExports, b as commonjsGlobal, d as dateDiff } from './l10n-c8cf6930.js';
2
2
 
3
3
  //**************************************************************************************
4
4
  //**************************************************************************************
@@ -9569,8 +9569,9 @@ __decorate([
9569
9569
  })
9570
9570
  ], PolicyConstraints.prototype, "inhibitPolicyMapping", void 0);
9571
9571
 
9572
+ var PolicyMappings_1;
9572
9573
  const id_ce_policyMappings = `${id_ce}.33`;
9573
- class PolicyMappings {
9574
+ class PolicyMapping {
9574
9575
  constructor(params = {}) {
9575
9576
  this.issuerDomainPolicy = "";
9576
9577
  this.subjectDomainPolicy = "";
@@ -9579,10 +9580,19 @@ class PolicyMappings {
9579
9580
  }
9580
9581
  __decorate([
9581
9582
  AsnProp({ type: AsnPropTypes.ObjectIdentifier })
9582
- ], PolicyMappings.prototype, "issuerDomainPolicy", void 0);
9583
+ ], PolicyMapping.prototype, "issuerDomainPolicy", void 0);
9583
9584
  __decorate([
9584
9585
  AsnProp({ type: AsnPropTypes.ObjectIdentifier })
9585
- ], PolicyMappings.prototype, "subjectDomainPolicy", void 0);
9586
+ ], PolicyMapping.prototype, "subjectDomainPolicy", void 0);
9587
+ let PolicyMappings = PolicyMappings_1 = class PolicyMappings extends AsnArray {
9588
+ constructor(items) {
9589
+ super(items);
9590
+ Object.setPrototypeOf(this, PolicyMappings_1.prototype);
9591
+ }
9592
+ };
9593
+ PolicyMappings = PolicyMappings_1 = __decorate([
9594
+ AsnType({ type: AsnTypeTypes.Sequence, itemType: PolicyMapping })
9595
+ ], PolicyMappings);
9586
9596
 
9587
9597
  var SubjectAlternativeName_1;
9588
9598
  const id_ce_subjectAltName = `${id_ce}.17`;
@@ -9679,11 +9689,31 @@ __decorate([
9679
9689
  AsnProp({ type: EntrustInfo })
9680
9690
  ], EntrustVersionInfo.prototype, "entrustInfoFlags", void 0);
9681
9691
 
9692
+ var SubjectInfoAccessSyntax_1;
9693
+ const id_pe_subjectInfoAccess = `${id_pe}.11`;
9694
+ let SubjectInfoAccessSyntax = SubjectInfoAccessSyntax_1 = class SubjectInfoAccessSyntax extends AsnArray {
9695
+ constructor(items) {
9696
+ super(items);
9697
+ Object.setPrototypeOf(this, SubjectInfoAccessSyntax_1.prototype);
9698
+ }
9699
+ };
9700
+ SubjectInfoAccessSyntax = SubjectInfoAccessSyntax_1 = __decorate([
9701
+ AsnType({ type: AsnTypeTypes.Sequence, itemType: AccessDescription })
9702
+ ], SubjectInfoAccessSyntax);
9703
+
9682
9704
  class AlgorithmIdentifier {
9683
9705
  constructor(params = {}) {
9684
9706
  this.algorithm = "";
9685
9707
  Object.assign(this, params);
9686
9708
  }
9709
+ isEqual(data) {
9710
+ return data instanceof AlgorithmIdentifier
9711
+ && data.algorithm == this.algorithm
9712
+ && ((data.parameters && this.parameters
9713
+ && index.isEqual(data.parameters, this.parameters))
9714
+ ||
9715
+ (data.parameters === this.parameters));
9716
+ }
9687
9717
  }
9688
9718
  __decorate([
9689
9719
  AsnProp({
@@ -11557,6 +11587,7 @@ const OIDs = {
11557
11587
  '1.3.6.1.5.5.7.8': 'Other Names',
11558
11588
  '1.3.6.1.5.5.7.8.1': 'Personal Data',
11559
11589
  '1.3.6.1.5.5.7.8.2': 'User Group',
11590
+ '1.3.6.1.5.5.7.8.3': 'Permanent Identifier',
11560
11591
  '1.3.6.1.5.5.7.8.5': 'Xmpp Addr',
11561
11592
  '1.3.6.1.5.5.7.9': 'Personal Data',
11562
11593
  '1.3.6.1.5.5.7.9.1': 'Date Of Birth',
@@ -12240,10 +12271,14 @@ const OIDs = {
12240
12271
  '2.16.840.1.101.3.1': 'Slabel',
12241
12272
  '2.16.840.1.101.3.2': 'PKI',
12242
12273
  '2.16.840.1.101.3.2.1': 'NIST policy Identifier',
12243
- '2.16.840.1.101.3.2.1.3.1': 'Fbca Rudimentary Policy',
12244
- '2.16.840.1.101.3.2.1.3.2': 'Fbca Basic Policy',
12245
- '2.16.840.1.101.3.2.1.3.3': 'Fbca Medium Policy',
12246
- '2.16.840.1.101.3.2.1.3.4': 'Fbca High Policy',
12274
+ '2.16.840.1.101.3.2.1.2.7': 'USPTO Basic 2003',
12275
+ '2.16.840.1.101.3.2.1.2.8': 'USPTO Medium 2003',
12276
+ '2.16.840.1.101.3.2.1.2.9': 'USPTO Medium Hardware',
12277
+ '2.16.840.1.101.3.2.1.3.1': 'FBCA Rudimentary Policy',
12278
+ '2.16.840.1.101.3.2.1.3.2': 'FBCA Basic Policy',
12279
+ '2.16.840.1.101.3.2.1.3.3': 'FBCA Medium Policy',
12280
+ '2.16.840.1.101.3.2.1.3.4': 'FBCA High Policy',
12281
+ '2.16.840.1.101.3.2.1.3.12': 'FBCA Medium Hardware Policy',
12247
12282
  '2.16.840.1.101.3.2.1.48.1': 'Nist Test Policy1',
12248
12283
  '2.16.840.1.101.3.2.1.48.2': 'Nist Test Policy2',
12249
12284
  '2.16.840.1.101.3.2.1.48.3': 'Nist Test Policy3',
@@ -13837,6 +13872,9 @@ class Extension$1 extends AsnData {
13837
13872
  case id_pe_TNAuthList:
13838
13873
  this.value = AsnParser.parse(asnExtnValue, TNAuthorizationList);
13839
13874
  break;
13875
+ case id_pe_subjectInfoAccess:
13876
+ this.value = AsnParser.parse(asnExtnValue, SubjectInfoAccessSyntax);
13877
+ break;
13840
13878
  default:
13841
13879
  console.warn(`Didn't detect parser for "${this.asn.extnID}" extension.`);
13842
13880
  this.value = index.Convert.ToHex(asnExtnValue);
@@ -15394,4 +15432,4 @@ Download.certificateRequest = {
15394
15432
  },
15395
15433
  };
15396
15434
 
15397
- export { AuthorityInfoAccessSyntax as $, AsnData as A, CertificationRequest as B, ChallengePassword as C, DomainNameTechnicalOperator as D, ExtensionRequest as E, id_ecPublicKey as F, ECParameters as G, id_rsaEncryption as H, InsuranceValue as I, Name as J, OtherName as K, DisplayText as L, EDIPartyName as M, Name$1 as N, OIDs as O, UserNotice as P, KeyUsage as Q, RSAPublicKey as R, BasicConstraints as S, TypeRelationship as T, UnstructuredName as U, ValuationRanking as V, WebGDPR as W, ExtendedKeyUsage as X, SubjectKeyIdentifier as Y, AuthorityKeyIdentifier as Z, CRLDistributionPoints as _, Attribute as a, SubjectAlternativeName as a0, CertificatePolicies as a1, CertificateTransparency as a2, NameConstraints as a3, CertificateTemplate as a4, EnrollCertTypeChoice as a5, CaVersion as a6, QCStatements as a7, NetscapeComment as a8, NetscapeCertType as a9, LeiRole as aa, LeiChoice as ab, Timestamp as ac, ArchiveRevInfo as ad, CRLReason as ae, SubjectDirectoryAttributes as af, PrivateKeyUsagePeriod as ag, EntrustVersionInfo as ah, BiometricSyntax as ai, LogotypeExtn as aj, TNAuthorizationList as ak, Download as al, isPem as am, isX509Pem as an, isPkcs10Pem as ao, isX509AttributePem as ap, X509Certificate as aq, id_pkcs9_at_extensionRequest as b, AsnParser as c, Extension$1 as d, AsnConvert as e, id_pkcs9_at_unstructuredName as f, id_pkcs9_at_challengePassword as g, id_ValuationRanking as h, index as i, id_InsuranceValue as j, id_WebGDPR as k, id_ActivityDescription as l, ActivityDescription as m, id_TypeRelationship as n, id_DomainNameTechnicalOperator as o, id_DomainNameOwner as p, DomainNameOwner as q, id_DomainNameLegalRepresentative as r, DomainNameLegalRepresentative as s, id_DomainNameBeneficiary as t, DomainNameBeneficiary as u, certificateRawToBuffer as v, AttributeCertificate as w, getCertificateThumbprint as x, hexFormat as y, base64Format as z };
15435
+ export { CRLDistributionPoints as $, AsnData as A, CertificationRequest as B, ChallengePassword as C, DomainNameTechnicalOperator as D, ExtensionRequest as E, id_ecPublicKey as F, ECParameters as G, id_rsaEncryption as H, InsuranceValue as I, Name as J, OtherName as K, DisplayText as L, UserNotice as M, Name$1 as N, OIDs as O, EDIPartyName as P, AsnIntegerArrayBufferConverter as Q, RSAPublicKey as R, KeyUsage as S, TypeRelationship as T, UnstructuredName as U, ValuationRanking as V, WebGDPR as W, BasicConstraints as X, ExtendedKeyUsage as Y, SubjectKeyIdentifier as Z, AuthorityKeyIdentifier as _, Attribute as a, AuthorityInfoAccessSyntax as a0, SubjectInfoAccessSyntax as a1, SubjectAlternativeName as a2, CertificatePolicies as a3, CertificateTransparency as a4, NameConstraints as a5, CertificateTemplate as a6, EnrollCertTypeChoice as a7, CaVersion as a8, QCStatements as a9, NetscapeComment as aa, NetscapeCertType as ab, LeiRole as ac, LeiChoice as ad, Timestamp as ae, ArchiveRevInfo as af, CRLReason as ag, SubjectDirectoryAttributes as ah, PrivateKeyUsagePeriod as ai, EntrustVersionInfo as aj, BiometricSyntax as ak, LogotypeExtn as al, TNAuthorizationList as am, PolicyConstraints as an, PolicyMappings as ao, Download as ap, isPem as aq, isX509Pem as ar, isPkcs10Pem as as, isX509AttributePem as at, X509Certificate as au, id_pkcs9_at_extensionRequest as b, AsnParser as c, Extension$1 as d, AsnConvert as e, id_pkcs9_at_unstructuredName as f, id_pkcs9_at_challengePassword as g, id_ValuationRanking as h, index as i, id_InsuranceValue as j, id_WebGDPR as k, id_ActivityDescription as l, ActivityDescription as m, id_TypeRelationship as n, id_DomainNameTechnicalOperator as o, id_DomainNameOwner as p, DomainNameOwner as q, id_DomainNameLegalRepresentative as r, DomainNameLegalRepresentative as s, id_DomainNameBeneficiary as t, DomainNameBeneficiary as u, certificateRawToBuffer as v, AttributeCertificate as w, getCertificateThumbprint as x, hexFormat as y, base64Format as z };
@@ -640,7 +640,7 @@ const history = Object.assign(browserHistory, {
640
640
  });
641
641
 
642
642
  var dayjs_min = createCommonjsModule(function (module, exports) {
643
- !function(t,e){module.exports=e();}(commonjsGlobal,(function(){var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",o="week",f="month",h="quarter",c="year",d="date",$="Invalid Date",l=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},m=function(t,e,n){var r=String(t);return !r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},g={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return (e<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return -t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,f),s=n-i<0,u=e.clone().add(r+(s?-1:1),f);return +(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return {M:f,y:c,w:o,d:a,D:d,h:u,m:s,s:i,ms:r,Q:h}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},v="en",D={};D[v]=M;var p=function(t){return t instanceof _},S=function t(e,n,r){var i;if(!e)return v;if("string"==typeof e){var s=e.toLowerCase();D[s]&&(i=s),n&&(D[s]=n,i=s);var u=e.split("-");if(!i&&u.length>1)return t(u[0])}else {var a=e.name;D[a]=e,i=a;}return !r&&i&&(v=i),i||!r&&v},w=function(t,e){if(p(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},O=g;O.l=S,O.i=p,O.w=function(t,e){return w(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=S(t.locale,null,!0),this.parse(t);}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(O.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(l);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.$x=t.x||{},this.init();},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds();},m.$utils=function(){return O},m.isValid=function(){return !(this.$d.toString()===$)},m.isSame=function(t,e){var n=w(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return w(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<w(t)},m.$g=function(t,e,n){return O.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,r=!!O.u(e)||e,h=O.p(t),$=function(t,e){var i=O.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},l=function(t,e){return O.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},y=this.$W,M=this.$M,m=this.$D,g="set"+(this.$u?"UTC":"");switch(h){case c:return r?$(1,0):$(31,11);case f:return r?$(1,M):$(0,M+1);case o:var v=this.$locale().weekStart||0,D=(y<v?y+7:y)-v;return $(r?m-D:m+(6-D),M);case a:case d:return l(g+"Hours",0);case u:return l(g+"Minutes",1);case s:return l(g+"Seconds",2);case i:return l(g+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,e){var n,o=O.p(t),h="set"+(this.$u?"UTC":""),$=(n={},n[a]=h+"Date",n[d]=h+"Date",n[f]=h+"Month",n[c]=h+"FullYear",n[u]=h+"Hours",n[s]=h+"Minutes",n[i]=h+"Seconds",n[r]=h+"Milliseconds",n)[o],l=o===a?this.$D+(e-this.$W):e;if(o===f||o===c){var y=this.clone().set(d,1);y.$d[$](l),y.init(),this.$d=y.set(d,Math.min(this.$D,y.daysInMonth())).$d;}else $&&this.$d[$](l);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[O.p(t)]()},m.add=function(r,h){var d,$=this;r=Number(r);var l=O.p(h),y=function(t){var e=w($);return O.w(e.date(e.date()+Math.round(t*r)),$)};if(l===f)return this.set(f,this.$M+r);if(l===c)return this.set(c,this.$y+r);if(l===a)return y(1);if(l===o)return y(7);var M=(d={},d[s]=e,d[u]=n,d[i]=t,d)[l]||1,m=this.$d.getTime()+r*M;return O.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||$;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=O.z(this),s=this.$H,u=this.$m,a=this.$M,o=n.weekdays,f=n.months,h=function(t,n,i,s){return t&&(t[n]||t(e,r))||i[n].substr(0,s)},c=function(t){return O.s(s%12||12,t,"0")},d=n.meridiem||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r},l={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:O.s(a+1,2,"0"),MMM:h(n.monthsShort,a,f,3),MMMM:h(f,a),D:this.$D,DD:O.s(this.$D,2,"0"),d:String(this.$W),dd:h(n.weekdaysMin,this.$W,o,2),ddd:h(n.weekdaysShort,this.$W,o,3),dddd:o[this.$W],H:String(s),HH:O.s(s,2,"0"),h:c(1),hh:c(2),a:d(s,u,!0),A:d(s,u,!1),m:String(u),mm:O.s(u,2,"0"),s:String(this.$s),ss:O.s(this.$s,2,"0"),SSS:O.s(this.$ms,3,"0"),Z:i};return r.replace(y,(function(t,e){return e||l[t]||i.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,d,$){var l,y=O.p(d),M=w(r),m=(M.utcOffset()-this.utcOffset())*e,g=this-M,v=O.m(this,M);return v=(l={},l[c]=v/12,l[f]=v,l[h]=v/3,l[o]=(g-m)/6048e5,l[a]=(g-m)/864e5,l[u]=g/n,l[s]=g/e,l[i]=g/t,l)[y]||g,$?v:O.a(v)},m.daysInMonth=function(){return this.endOf(f).$D},m.$locale=function(){return D[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=S(t,e,!0);return r&&(n.$L=r),n},m.clone=function(){return O.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},M}(),b=_.prototype;return w.prototype=b,[["$ms",r],["$s",i],["$m",s],["$H",u],["$W",a],["$M",f],["$y",c],["$D",d]].forEach((function(t){b[t[1]]=function(e){return this.$g(e,t[0],t[1])};})),w.extend=function(t,e){return t.$i||(t(e,_,w),t.$i=!0),w},w.locale=S,w.isDayjs=p,w.unix=function(t){return w(1e3*t)},w.en=D[v],w.Ls=D,w.p={},w}));
643
+ !function(t,e){module.exports=e();}(commonjsGlobal,(function(){var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",o="week",f="month",h="quarter",c="year",d="date",$="Invalid Date",l=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},m=function(t,e,n){var r=String(t);return !r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},g={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return (e<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return -t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,f),s=n-i<0,u=e.clone().add(r+(s?-1:1),f);return +(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return {M:f,y:c,w:o,d:a,D:d,h:u,m:s,s:i,ms:r,Q:h}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},v="en",D={};D[v]=M;var p=function(t){return t instanceof _},S=function t(e,n,r){var i;if(!e)return v;if("string"==typeof e){var s=e.toLowerCase();D[s]&&(i=s),n&&(D[s]=n,i=s);var u=e.split("-");if(!i&&u.length>1)return t(u[0])}else {var a=e.name;D[a]=e,i=a;}return !r&&i&&(v=i),i||!r&&v},w=function(t,e){if(p(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},O=g;O.l=S,O.i=p,O.w=function(t,e){return w(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=S(t.locale,null,!0),this.parse(t);}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(O.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(l);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.$x=t.x||{},this.init();},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds();},m.$utils=function(){return O},m.isValid=function(){return !(this.$d.toString()===$)},m.isSame=function(t,e){var n=w(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return w(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<w(t)},m.$g=function(t,e,n){return O.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,r=!!O.u(e)||e,h=O.p(t),$=function(t,e){var i=O.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},l=function(t,e){return O.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},y=this.$W,M=this.$M,m=this.$D,g="set"+(this.$u?"UTC":"");switch(h){case c:return r?$(1,0):$(31,11);case f:return r?$(1,M):$(0,M+1);case o:var v=this.$locale().weekStart||0,D=(y<v?y+7:y)-v;return $(r?m-D:m+(6-D),M);case a:case d:return l(g+"Hours",0);case u:return l(g+"Minutes",1);case s:return l(g+"Seconds",2);case i:return l(g+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,e){var n,o=O.p(t),h="set"+(this.$u?"UTC":""),$=(n={},n[a]=h+"Date",n[d]=h+"Date",n[f]=h+"Month",n[c]=h+"FullYear",n[u]=h+"Hours",n[s]=h+"Minutes",n[i]=h+"Seconds",n[r]=h+"Milliseconds",n)[o],l=o===a?this.$D+(e-this.$W):e;if(o===f||o===c){var y=this.clone().set(d,1);y.$d[$](l),y.init(),this.$d=y.set(d,Math.min(this.$D,y.daysInMonth())).$d;}else $&&this.$d[$](l);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[O.p(t)]()},m.add=function(r,h){var d,$=this;r=Number(r);var l=O.p(h),y=function(t){var e=w($);return O.w(e.date(e.date()+Math.round(t*r)),$)};if(l===f)return this.set(f,this.$M+r);if(l===c)return this.set(c,this.$y+r);if(l===a)return y(1);if(l===o)return y(7);var M=(d={},d[s]=e,d[u]=n,d[i]=t,d)[l]||1,m=this.$d.getTime()+r*M;return O.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||$;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=O.z(this),s=this.$H,u=this.$m,a=this.$M,o=n.weekdays,f=n.months,h=function(t,n,i,s){return t&&(t[n]||t(e,r))||i[n].slice(0,s)},c=function(t){return O.s(s%12||12,t,"0")},d=n.meridiem||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r},l={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:O.s(a+1,2,"0"),MMM:h(n.monthsShort,a,f,3),MMMM:h(f,a),D:this.$D,DD:O.s(this.$D,2,"0"),d:String(this.$W),dd:h(n.weekdaysMin,this.$W,o,2),ddd:h(n.weekdaysShort,this.$W,o,3),dddd:o[this.$W],H:String(s),HH:O.s(s,2,"0"),h:c(1),hh:c(2),a:d(s,u,!0),A:d(s,u,!1),m:String(u),mm:O.s(u,2,"0"),s:String(this.$s),ss:O.s(this.$s,2,"0"),SSS:O.s(this.$ms,3,"0"),Z:i};return r.replace(y,(function(t,e){return e||l[t]||i.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,d,$){var l,y=O.p(d),M=w(r),m=(M.utcOffset()-this.utcOffset())*e,g=this-M,v=O.m(this,M);return v=(l={},l[c]=v/12,l[f]=v,l[h]=v/3,l[o]=(g-m)/6048e5,l[a]=(g-m)/864e5,l[u]=g/n,l[s]=g/e,l[i]=g/t,l)[y]||g,$?v:O.a(v)},m.daysInMonth=function(){return this.endOf(f).$D},m.$locale=function(){return D[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=S(t,e,!0);return r&&(n.$L=r),n},m.clone=function(){return O.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},M}(),T=_.prototype;return w.prototype=T,[["$ms",r],["$s",i],["$m",s],["$H",u],["$W",a],["$M",f],["$y",c],["$D",d]].forEach((function(t){T[t[1]]=function(e){return this.$g(e,t[0],t[1])};})),w.extend=function(t,e){return t.$i||(t(e,_,w),t.$i=!0),w},w.locale=S,w.isDayjs=p,w.unix=function(t){return w(1e3*t)},w.en=D[v],w.Ls=D,w.p={},w}));
644
644
  });
645
645
 
646
646
  /**
@@ -1,6 +1,6 @@
1
1
  import { h, r as registerInstance, H as Host, c as createEvent } from './index-5ef692cc.js';
2
- import { A as AsnData, a as Attribute$1, i as index, b as id_pkcs9_at_extensionRequest, c as AsnParser, E as ExtensionRequest, d as Extension, e as AsnConvert, f as id_pkcs9_at_unstructuredName, U as UnstructuredName, g as id_pkcs9_at_challengePassword, C as ChallengePassword, h as id_ValuationRanking, V as ValuationRanking, j as id_InsuranceValue, I as InsuranceValue, k as id_WebGDPR, W as WebGDPR, l as id_ActivityDescription, m as ActivityDescription, n as id_TypeRelationship, T as TypeRelationship, o as id_DomainNameTechnicalOperator, D as DomainNameTechnicalOperator, p as id_DomainNameOwner, q as DomainNameOwner, r as id_DomainNameLegalRepresentative, s as DomainNameLegalRepresentative, t as id_DomainNameBeneficiary, u as DomainNameBeneficiary, v as certificateRawToBuffer, w as AttributeCertificate, x as getCertificateThumbprint, y as hexFormat, z as base64Format, B as CertificationRequest, N as Name, F as id_ecPublicKey, G as ECParameters, H as id_rsaEncryption, R as RSAPublicKey, O as OIDs, J as Name$1, K as OtherName, L as DisplayText, M as EDIPartyName, P as UserNotice, Q as KeyUsage, S as BasicConstraints, X as ExtendedKeyUsage, Y as SubjectKeyIdentifier, Z as AuthorityKeyIdentifier, _ as CRLDistributionPoints, $ as AuthorityInfoAccessSyntax, a0 as SubjectAlternativeName, a1 as CertificatePolicies, a2 as CertificateTransparency, a3 as NameConstraints, a4 as CertificateTemplate, a5 as EnrollCertTypeChoice, a6 as CaVersion, a7 as QCStatements, a8 as NetscapeComment, a9 as NetscapeCertType, aa as LeiRole, ab as LeiChoice, ac as Timestamp, ad as ArchiveRevInfo, ae as CRLReason, af as SubjectDirectoryAttributes, ag as PrivateKeyUsagePeriod, ah as EntrustVersionInfo, ai as BiometricSyntax, aj as LogotypeExtn, ak as TNAuthorizationList, al as Download, am as isPem, an as isX509Pem, ao as isPkcs10Pem, ap as isX509AttributePem, aq as X509Certificate } from './download-8043769c.js';
3
- import { d as dateDiff, l as l10n, a as dateShort, h as history } from './l10n-6ab04c66.js';
2
+ import { A as AsnData, a as Attribute$1, i as index, b as id_pkcs9_at_extensionRequest, c as AsnParser, E as ExtensionRequest, d as Extension, e as AsnConvert, f as id_pkcs9_at_unstructuredName, U as UnstructuredName, g as id_pkcs9_at_challengePassword, C as ChallengePassword, h as id_ValuationRanking, V as ValuationRanking, j as id_InsuranceValue, I as InsuranceValue, k as id_WebGDPR, W as WebGDPR, l as id_ActivityDescription, m as ActivityDescription, n as id_TypeRelationship, T as TypeRelationship, o as id_DomainNameTechnicalOperator, D as DomainNameTechnicalOperator, p as id_DomainNameOwner, q as DomainNameOwner, r as id_DomainNameLegalRepresentative, s as DomainNameLegalRepresentative, t as id_DomainNameBeneficiary, u as DomainNameBeneficiary, v as certificateRawToBuffer, w as AttributeCertificate, x as getCertificateThumbprint, y as hexFormat, z as base64Format, B as CertificationRequest, N as Name, F as id_ecPublicKey, G as ECParameters, H as id_rsaEncryption, R as RSAPublicKey, O as OIDs, J as Name$1, K as OtherName, L as DisplayText, M as UserNotice, P as EDIPartyName, Q as AsnIntegerArrayBufferConverter, S as KeyUsage, X as BasicConstraints, Y as ExtendedKeyUsage, Z as SubjectKeyIdentifier, _ as AuthorityKeyIdentifier, $ as CRLDistributionPoints, a0 as AuthorityInfoAccessSyntax, a1 as SubjectInfoAccessSyntax, a2 as SubjectAlternativeName, a3 as CertificatePolicies, a4 as CertificateTransparency, a5 as NameConstraints, a6 as CertificateTemplate, a7 as EnrollCertTypeChoice, a8 as CaVersion, a9 as QCStatements, aa as NetscapeComment, ab as NetscapeCertType, ac as LeiRole, ad as LeiChoice, ae as Timestamp, af as ArchiveRevInfo, ag as CRLReason, ah as SubjectDirectoryAttributes, ai as PrivateKeyUsagePeriod, aj as EntrustVersionInfo, ak as BiometricSyntax, al as LogotypeExtn, am as TNAuthorizationList, an as PolicyConstraints, ao as PolicyMappings, ap as Download, aq as isPem, ar as isX509Pem, as as isPkcs10Pem, at as isX509AttributePem, au as X509Certificate } from './download-250f9495.js';
3
+ import { d as dateDiff, l as l10n, a as dateShort, h as history } from './l10n-c8cf6930.js';
4
4
 
5
5
  /**
6
6
  * @license
@@ -413,8 +413,23 @@ const GeneralNamePart = (props) => {
413
413
  ];
414
414
  }
415
415
  if (value instanceof OtherName) {
416
- const text = AsnParser.parse(value.value, DisplayText);
417
- return (h(RowValue, { name: OIDs[value.typeId], value: text.toString() }));
416
+ try {
417
+ const text = AsnParser.parse(value.value, DisplayText);
418
+ return (h(RowValue, { name: OIDs[value.typeId] || value.typeId, value: text.toString() }));
419
+ }
420
+ catch (error) {
421
+ //
422
+ }
423
+ try {
424
+ const text = AsnParser.parse(value.value, UserNotice);
425
+ if (text.explicitText) {
426
+ return (h(RowValue, { name: OIDs[value.typeId] || value.typeId, value: text.explicitText.toString() }));
427
+ }
428
+ }
429
+ catch (error) {
430
+ //
431
+ }
432
+ return (h(RowValue, { name: OIDs[value.typeId] || value.typeId, value: index.Convert.ToHex(value.value), monospace: true }));
418
433
  }
419
434
  if (index.BufferSourceConverter.isBufferSource(value)) {
420
435
  return (h(RowValue, { name: names[name] || name, value: index.Convert.ToString(value) }));
@@ -755,8 +770,11 @@ const AuthorityKeyIdentifierExtension = (props) => {
755
770
  const CRLDistributionPointsExtension = (props) => {
756
771
  const { extension } = props;
757
772
  return (h(BasicExtension, { extension: extension }, extension.value.map((point) => {
758
- var _a;
759
- return ((_a = point === null || point === void 0 ? void 0 : point.distributionPoint) === null || _a === void 0 ? void 0 : _a.fullName.map((gn) => (h(GeneralNamePart, Object.assign({ generalName: gn }, props)))));
773
+ var _a, _b;
774
+ return ([
775
+ (_a = point.distributionPoint) === null || _a === void 0 ? void 0 : _a.fullName.map((gn) => (h(GeneralNamePart, Object.assign({ generalName: gn }, props)))),
776
+ (_b = point.cRLIssuer) === null || _b === void 0 ? void 0 : _b.map((gn) => (h(GeneralNamePart, Object.assign({ generalName: gn }, props)))),
777
+ ]);
760
778
  })));
761
779
  };
762
780
 
@@ -767,7 +785,7 @@ const CRLDistributionPointsExtension = (props) => {
767
785
  * This source code is licensed under the MIT license found in the
768
786
  * LICENSE file in the root directory of this source tree.
769
787
  */
770
- const AuthorityInfoAccessSyntaxExtension = (props) => {
788
+ const InfoAccessSyntaxExtension = (props) => {
771
789
  const { extension } = props;
772
790
  return (h(BasicExtension, { extension: extension }, extension.value.map((description, arrayIndex) => ([
773
791
  h(RowValue, { name: `Description #${arrayIndex + 1}`, value: "" }),
@@ -1256,6 +1274,36 @@ const TNAuthListExtension = (props) => {
1256
1274
  ]))));
1257
1275
  };
1258
1276
 
1277
+ /**
1278
+ * @license
1279
+ * Copyright (c) Peculiar Ventures, LLC.
1280
+ *
1281
+ * This source code is licensed under the MIT license found in the
1282
+ * LICENSE file in the root directory of this source tree.
1283
+ */
1284
+ const PolicyConstraintsExtension = (props) => {
1285
+ const { extension } = props;
1286
+ return (h(BasicExtension, { extension: extension },
1287
+ extension.value.requireExplicitPolicy && (h(RowValue, { name: "Require Explicit Policy", value: AsnIntegerArrayBufferConverter.toASN(extension.value.requireExplicitPolicy).valueBlock.toString() })),
1288
+ extension.value.inhibitPolicyMapping && (h(RowValue, { name: "Inhibit Policy Mapping", value: AsnIntegerArrayBufferConverter.toASN(extension.value.inhibitPolicyMapping).valueBlock.toString() }))));
1289
+ };
1290
+
1291
+ /**
1292
+ * @license
1293
+ * Copyright (c) Peculiar Ventures, LLC.
1294
+ *
1295
+ * This source code is licensed under the MIT license found in the
1296
+ * LICENSE file in the root directory of this source tree.
1297
+ */
1298
+ const PolicyMappingsExtension = (props) => {
1299
+ const { extension } = props;
1300
+ return (h(BasicExtension, { extension: extension }, extension.value.map((policy, arrayIndex) => ([
1301
+ h(RowValue, { name: `Policy #${arrayIndex + 1}`, value: "" }),
1302
+ h(RowValue, { name: "Issuer Domain", value: getStringByOID(policy.issuerDomainPolicy) }),
1303
+ h(RowValue, { name: "Subject Domain", value: getStringByOID(policy.subjectDomainPolicy) }),
1304
+ ]))));
1305
+ };
1306
+
1259
1307
  /**
1260
1308
  * @license
1261
1309
  * Copyright (c) Peculiar Ventures, LLC.
@@ -1290,8 +1338,9 @@ const Extensions = (props) => {
1290
1338
  if (extension.value instanceof CRLDistributionPoints) {
1291
1339
  return (h(CRLDistributionPointsExtension, Object.assign({ extension: extension }, props)));
1292
1340
  }
1293
- if (extension.value instanceof AuthorityInfoAccessSyntax) {
1294
- return (h(AuthorityInfoAccessSyntaxExtension, Object.assign({ extension: extension }, props)));
1341
+ if (extension.value instanceof AuthorityInfoAccessSyntax
1342
+ || extension.value instanceof SubjectInfoAccessSyntax) {
1343
+ return (h(InfoAccessSyntaxExtension, Object.assign({ extension: extension }, props)));
1295
1344
  }
1296
1345
  if (extension.value instanceof SubjectAlternativeName) {
1297
1346
  return (h(SubjectAlternativeNameExtension, Object.assign({ extension: extension }, props)));
@@ -1356,6 +1405,12 @@ const Extensions = (props) => {
1356
1405
  if (extension.value instanceof TNAuthorizationList) {
1357
1406
  return (h(TNAuthListExtension, { extension: extension }));
1358
1407
  }
1408
+ if (extension.value instanceof PolicyConstraints) {
1409
+ return (h(PolicyConstraintsExtension, { extension: extension }));
1410
+ }
1411
+ if (extension.value instanceof PolicyMappings) {
1412
+ return (h(PolicyMappingsExtension, { extension: extension }));
1413
+ }
1359
1414
  if (typeof extension.value === 'string') {
1360
1415
  return (h(AsStringExtension, { extension: extension }));
1361
1416
  }
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-5ef692cc.js';
2
- import { l as l10n, a as dateShort } from './l10n-6ab04c66.js';
2
+ import { l as l10n, a as dateShort } from './l10n-c8cf6930.js';
3
3
 
4
4
  const certificateSummaryCss = ":host{-webkit-box-sizing:border-box;box-sizing:border-box}:host *,:host *:before,:host *:after{-webkit-box-sizing:inherit;box-sizing:inherit}:host{display:block;width:100%}td{border:none;padding:0}table{width:100%;border-spacing:0;border-collapse:collapse}td{vertical-align:top;padding-top:5px;padding-bottom:5px}table td:first-child{width:130px;padding-right:10px}table td:last-child{width:calc(100% - 130px)}@media (max-width: 900px){table,tr,td{display:block}table td:last-child,table td:first-child{width:100%}}";
5
5
 
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-5ef692cc.js';
2
- import { aq as X509Certificate, al as Download, O as OIDs } from './download-8043769c.js';
3
- import { l as l10n } from './l10n-6ab04c66.js';
2
+ import { au as X509Certificate, ap as Download, O as OIDs } from './download-250f9495.js';
3
+ import { l as l10n } from './l10n-c8cf6930.js';
4
4
 
5
5
  const certificatesViewerCss = ":host{-webkit-box-sizing:border-box;box-sizing:border-box}:host *,:host *:before,:host *:after{-webkit-box-sizing:inherit;box-sizing:inherit}:host{display:block;width:100%;word-wrap:break-word;min-width:280px;overflow:auto;position:relative;background:white;background:rgba(var(--pv-color-light-rgb), 1)}table{width:100%;table-layout:fixed;border-collapse:collapse;border-spacing:0}table thead{background-color:rgba(53, 132, 247, 0.07);background-color:rgba(var(--pv-color-primary-rgb), 0.07)}table tr td{vertical-align:middle}table tbody tr:not(.expanded_summary){cursor:pointer}table tr{border-color:#d1d5d9;border-color:rgba(var(--pv-color-grey_3-rgb), 1)}table th{padding:15px 10px;border-width:1px;border-style:solid;border-color:#d1d5d9;border-color:rgba(var(--pv-color-grey_3-rgb), 1)}table td{padding:8px 10px;border-width:1px;border-style:solid;border-color:#d1d5d9;border-color:rgba(var(--pv-color-grey_3-rgb), 1)}table .col_issuer,table .col_name,table .col_public_key{width:16%}table .col_actions,table .col_tests{width:18%}table.m_extra .col_issuer,table.m_extra .col_name,table.m_extra .col_public_key{width:12%}table.m_extra .col_actions,table.m_extra .col_tests{width:17%}table tr.expanded td:not(:last-child){border-right-color:transparent}table tr.expanded td{border-bottom-color:transparent}.expanded{border-bottom-color:transparent;background-color:rgba(53, 132, 247, 0.04);background-color:rgba(var(--pv-color-primary-rgb), 0.04)}table tr.expanded_summary{background-color:rgba(53, 132, 247, 0.04);background-color:rgba(var(--pv-color-primary-rgb), 0.04)}table tr.expanded_summary td{vertical-align:top;padding:10px 20px 26px}@-webkit-keyframes fadeIn{0%{opacity:0.001}100%{opacity:1}}@keyframes fadeIn{0%{opacity:0.001}100%{opacity:1}}.modal_wrapper{position:fixed;top:0;left:0;width:100%;height:100%;z-index:1;overflow:auto;text-align:center;-webkit-animation:fadeIn 200ms;animation:fadeIn 200ms;padding:30px 10px}.modal_wrapper:before{display:inline-block;vertical-align:middle;width:0;height:100%;content:\"\"}.modal_backdrop{background:rgba(42, 49, 52, 0.5);background:rgba(var(--pv-color-dark-rgb), 0.5);z-index:-1;position:fixed;top:0;right:0;bottom:0;left:0}.modal_container{position:relative;display:inline-block;vertical-align:middle;width:100%;max-width:900px;text-align:left;border-radius:3px;overflow:hidden;background-color:white;background-color:rgba(var(--pv-color-light-rgb), 1);height:100%}.modal_title{background-color:rgba(53, 132, 247, 0.07);background-color:rgba(var(--pv-color-primary-rgb), 0.07);border-color:#d1d5d9;border-color:rgba(var(--pv-color-grey_3-rgb), 1);border-bottom-width:1px;border-bottom-style:solid;padding:20px 60px 16px 20px;position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;height:60px}.modal_content{height:calc(100% - 60px);overflow-y:auto}.modal_close{cursor:pointer;border:none;background-color:transparent;position:absolute;top:0;bottom:0;right:0;padding:0 12px;-webkit-transition:opacity 100ms;transition:opacity 100ms;outline:none}.modal_close:hover{opacity:0.6}.modal_close svg{fill:#2a3134;fill:rgba(var(--pv-color-dark-rgb), 1)}.button_table_action{margin:2px}.mobile_title{display:none}.status_wrapper{height:85px;text-align:center;pointer-events:none}.search_section{background-color:rgba(53, 132, 247, 0.07);background-color:rgba(var(--pv-color-primary-rgb), 0.07);border-color:#d1d5d9;border-color:rgba(var(--pv-color-grey_3-rgb), 1);height:50px;padding:10px;border-width:1px 1px 0 1px;border-style:solid}.input_search{height:100%;width:100%;border-radius:3px;border-width:1px;border-style:solid;padding:0 14px;font-size:12px;outline:none;border-color:#d1d5d9;border-color:rgba(var(--pv-color-grey_3-rgb), 1);color:#2a3134;color:rgba(var(--pv-color-dark-rgb), 1)}.input_search::-moz-placeholder{color:#d1d5d9;color:rgba(var(--pv-color-grey_3-rgb), 1)}.input_search:-ms-input-placeholder{color:#d1d5d9;color:rgba(var(--pv-color-grey_3-rgb), 1)}.input_search::-webkit-input-placeholder{color:#d1d5d9;color:rgba(var(--pv-color-grey_3-rgb), 1)}.input_search::-ms-input-placeholder{color:#d1d5d9;color:rgba(var(--pv-color-grey_3-rgb), 1)}.input_search::placeholder{color:#d1d5d9;color:rgba(var(--pv-color-grey_3-rgb), 1)}.loading_container{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(42, 49, 52, 0.3);background:rgba(var(--pv-color-dark-rgb), 0.3);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.align_center{text-align:center}@media (hover: hover){table tbody tr:not(.expanded_summary):hover{background-color:rgba(53, 132, 247, 0.04);background-color:rgba(var(--pv-color-primary-rgb), 0.04)}}@media (max-width: 900px){table,tbody,tr,td{display:block}thead{display:none}tr{padding:0 15px;border-width:1px;border-style:solid}tr:not(:first-child){margin-top:-1px}tr:not(.expanded_summary) td:first-child{border:none !important}table td{padding-left:0;padding-right:0;border-width:1px 0 0 0 !important;border-color:rgba(209, 213, 217, 0.5);border-color:rgba(var(--pv-color-grey_3-rgb), 0.5)}table tr.expanded_summary td{padding:15px 0}.mobile_title{display:inline-block;width:90px;vertical-align:middle}.modal_title{padding:17px 60px 17px 15px}.content{display:inline-block;width:calc(100% - 90px);vertical-align:middle;text-align:left}.expanded_summary{border-top-color:transparent;padding-bottom:10px}.expanded_summary td:before{content:none}.status_wrapper{height:266px;display:table-cell}.search_section{height:60px;padding:15px}.align_center{text-align:inherit}}";
6
6
 
@@ -47,7 +47,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
47
47
  if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
48
48
  }
49
49
  };
50
- import { c as createCommonjsModule, u as unwrapExports, b as commonjsGlobal, d as dateDiff } from './l10n-6ab04c66.js';
50
+ import { c as createCommonjsModule, u as unwrapExports, b as commonjsGlobal, d as dateDiff } from './l10n-c8cf6930.js';
51
51
  //**************************************************************************************
52
52
  //**************************************************************************************
53
53
  // noinspection FunctionWithMultipleReturnPointsJS
@@ -8570,22 +8570,35 @@ __decorate([
8570
8570
  converter: AsnIntegerArrayBufferConverter,
8571
8571
  })
8572
8572
  ], PolicyConstraints.prototype, "inhibitPolicyMapping", void 0);
8573
+ var PolicyMappings_1;
8573
8574
  var id_ce_policyMappings = id_ce + ".33";
8574
- var PolicyMappings = /** @class */ (function () {
8575
- function PolicyMappings(params) {
8575
+ var PolicyMapping = /** @class */ (function () {
8576
+ function PolicyMapping(params) {
8576
8577
  if (params === void 0) { params = {}; }
8577
8578
  this.issuerDomainPolicy = "";
8578
8579
  this.subjectDomainPolicy = "";
8579
8580
  Object.assign(this, params);
8580
8581
  }
8581
- return PolicyMappings;
8582
+ return PolicyMapping;
8582
8583
  }());
8583
8584
  __decorate([
8584
8585
  AsnProp({ type: AsnPropTypes.ObjectIdentifier })
8585
- ], PolicyMappings.prototype, "issuerDomainPolicy", void 0);
8586
+ ], PolicyMapping.prototype, "issuerDomainPolicy", void 0);
8586
8587
  __decorate([
8587
8588
  AsnProp({ type: AsnPropTypes.ObjectIdentifier })
8588
- ], PolicyMappings.prototype, "subjectDomainPolicy", void 0);
8589
+ ], PolicyMapping.prototype, "subjectDomainPolicy", void 0);
8590
+ var PolicyMappings = PolicyMappings_1 = /** @class */ (function (_super) {
8591
+ __extends(PolicyMappings, _super);
8592
+ function PolicyMappings(items) {
8593
+ var _this = _super.call(this, items) || this;
8594
+ Object.setPrototypeOf(_this, PolicyMappings_1.prototype);
8595
+ return _this;
8596
+ }
8597
+ return PolicyMappings;
8598
+ }(AsnArray));
8599
+ PolicyMappings = PolicyMappings_1 = __decorate([
8600
+ AsnType({ type: AsnTypeTypes.Sequence, itemType: PolicyMapping })
8601
+ ], PolicyMappings);
8589
8602
  var SubjectAlternativeName_1;
8590
8603
  var id_ce_subjectAltName = id_ce + ".17";
8591
8604
  var SubjectAlternativeName = SubjectAlternativeName_1 = /** @class */ (function (_super) {
@@ -8697,12 +8710,34 @@ __decorate([
8697
8710
  __decorate([
8698
8711
  AsnProp({ type: EntrustInfo })
8699
8712
  ], EntrustVersionInfo.prototype, "entrustInfoFlags", void 0);
8713
+ var SubjectInfoAccessSyntax_1;
8714
+ var id_pe_subjectInfoAccess = id_pe + ".11";
8715
+ var SubjectInfoAccessSyntax = SubjectInfoAccessSyntax_1 = /** @class */ (function (_super) {
8716
+ __extends(SubjectInfoAccessSyntax, _super);
8717
+ function SubjectInfoAccessSyntax(items) {
8718
+ var _this = _super.call(this, items) || this;
8719
+ Object.setPrototypeOf(_this, SubjectInfoAccessSyntax_1.prototype);
8720
+ return _this;
8721
+ }
8722
+ return SubjectInfoAccessSyntax;
8723
+ }(AsnArray));
8724
+ SubjectInfoAccessSyntax = SubjectInfoAccessSyntax_1 = __decorate([
8725
+ AsnType({ type: AsnTypeTypes.Sequence, itemType: AccessDescription })
8726
+ ], SubjectInfoAccessSyntax);
8700
8727
  var AlgorithmIdentifier = /** @class */ (function () {
8701
8728
  function AlgorithmIdentifier(params) {
8702
8729
  if (params === void 0) { params = {}; }
8703
8730
  this.algorithm = "";
8704
8731
  Object.assign(this, params);
8705
8732
  }
8733
+ AlgorithmIdentifier.prototype.isEqual = function (data) {
8734
+ return data instanceof AlgorithmIdentifier
8735
+ && data.algorithm == this.algorithm
8736
+ && ((data.parameters && this.parameters
8737
+ && index.isEqual(data.parameters, this.parameters))
8738
+ ||
8739
+ (data.parameters === this.parameters));
8740
+ };
8706
8741
  return AlgorithmIdentifier;
8707
8742
  }());
8708
8743
  __decorate([
@@ -10593,6 +10628,7 @@ var OIDs = {
10593
10628
  '1.3.6.1.5.5.7.8': 'Other Names',
10594
10629
  '1.3.6.1.5.5.7.8.1': 'Personal Data',
10595
10630
  '1.3.6.1.5.5.7.8.2': 'User Group',
10631
+ '1.3.6.1.5.5.7.8.3': 'Permanent Identifier',
10596
10632
  '1.3.6.1.5.5.7.8.5': 'Xmpp Addr',
10597
10633
  '1.3.6.1.5.5.7.9': 'Personal Data',
10598
10634
  '1.3.6.1.5.5.7.9.1': 'Date Of Birth',
@@ -11276,10 +11312,14 @@ var OIDs = {
11276
11312
  '2.16.840.1.101.3.1': 'Slabel',
11277
11313
  '2.16.840.1.101.3.2': 'PKI',
11278
11314
  '2.16.840.1.101.3.2.1': 'NIST policy Identifier',
11279
- '2.16.840.1.101.3.2.1.3.1': 'Fbca Rudimentary Policy',
11280
- '2.16.840.1.101.3.2.1.3.2': 'Fbca Basic Policy',
11281
- '2.16.840.1.101.3.2.1.3.3': 'Fbca Medium Policy',
11282
- '2.16.840.1.101.3.2.1.3.4': 'Fbca High Policy',
11315
+ '2.16.840.1.101.3.2.1.2.7': 'USPTO Basic 2003',
11316
+ '2.16.840.1.101.3.2.1.2.8': 'USPTO Medium 2003',
11317
+ '2.16.840.1.101.3.2.1.2.9': 'USPTO Medium Hardware',
11318
+ '2.16.840.1.101.3.2.1.3.1': 'FBCA Rudimentary Policy',
11319
+ '2.16.840.1.101.3.2.1.3.2': 'FBCA Basic Policy',
11320
+ '2.16.840.1.101.3.2.1.3.3': 'FBCA Medium Policy',
11321
+ '2.16.840.1.101.3.2.1.3.4': 'FBCA High Policy',
11322
+ '2.16.840.1.101.3.2.1.3.12': 'FBCA Medium Hardware Policy',
11283
11323
  '2.16.840.1.101.3.2.1.48.1': 'Nist Test Policy1',
11284
11324
  '2.16.840.1.101.3.2.1.48.2': 'Nist Test Policy2',
11285
11325
  '2.16.840.1.101.3.2.1.48.3': 'Nist Test Policy3',
@@ -12990,6 +13030,9 @@ var Extension$1 = /** @class */ (function (_super) {
12990
13030
  case id_pe_TNAuthList:
12991
13031
  _this.value = AsnParser.parse(asnExtnValue, TNAuthorizationList);
12992
13032
  break;
13033
+ case id_pe_subjectInfoAccess:
13034
+ _this.value = AsnParser.parse(asnExtnValue, SubjectInfoAccessSyntax);
13035
+ break;
12993
13036
  default:
12994
13037
  console.warn("Didn't detect parser for \"" + _this.asn.extnID + "\" extension.");
12995
13038
  _this.value = index.Convert.ToHex(asnExtnValue);
@@ -14796,4 +14839,4 @@ Download.certificateRequest = {
14796
14839
  downloadFromBuffer(index.Convert.FromString(hex), 'application/pkcs10', name, 'csr');
14797
14840
  },
14798
14841
  };
14799
- export { AuthorityInfoAccessSyntax as $, AsnData as A, CertificationRequest as B, ChallengePassword as C, DomainNameTechnicalOperator as D, ExtensionRequest as E, id_ecPublicKey as F, ECParameters as G, id_rsaEncryption as H, InsuranceValue as I, Name as J, OtherName as K, DisplayText as L, EDIPartyName as M, Name$1 as N, OIDs as O, UserNotice as P, KeyUsage as Q, RSAPublicKey as R, BasicConstraints as S, TypeRelationship as T, UnstructuredName as U, ValuationRanking as V, WebGDPR as W, ExtendedKeyUsage as X, SubjectKeyIdentifier as Y, AuthorityKeyIdentifier as Z, CRLDistributionPoints as _, Attribute as a, SubjectAlternativeName as a0, CertificatePolicies as a1, CertificateTransparency as a2, NameConstraints as a3, CertificateTemplate as a4, EnrollCertTypeChoice as a5, CaVersion as a6, QCStatements as a7, NetscapeComment as a8, NetscapeCertType as a9, LeiRole as aa, LeiChoice as ab, Timestamp as ac, ArchiveRevInfo as ad, CRLReason as ae, SubjectDirectoryAttributes as af, PrivateKeyUsagePeriod as ag, EntrustVersionInfo as ah, BiometricSyntax as ai, LogotypeExtn as aj, TNAuthorizationList as ak, Download as al, isPem as am, isX509Pem as an, isPkcs10Pem as ao, isX509AttributePem as ap, X509Certificate as aq, id_pkcs9_at_extensionRequest as b, AsnParser as c, Extension$1 as d, AsnConvert as e, id_pkcs9_at_unstructuredName as f, id_pkcs9_at_challengePassword as g, id_ValuationRanking as h, index as i, id_InsuranceValue as j, id_WebGDPR as k, id_ActivityDescription as l, ActivityDescription as m, id_TypeRelationship as n, id_DomainNameTechnicalOperator as o, id_DomainNameOwner as p, DomainNameOwner as q, id_DomainNameLegalRepresentative as r, DomainNameLegalRepresentative as s, id_DomainNameBeneficiary as t, DomainNameBeneficiary as u, certificateRawToBuffer as v, AttributeCertificate as w, getCertificateThumbprint as x, hexFormat as y, base64Format as z };
14842
+ export { CRLDistributionPoints as $, AsnData as A, CertificationRequest as B, ChallengePassword as C, DomainNameTechnicalOperator as D, ExtensionRequest as E, id_ecPublicKey as F, ECParameters as G, id_rsaEncryption as H, InsuranceValue as I, Name as J, OtherName as K, DisplayText as L, UserNotice as M, Name$1 as N, OIDs as O, EDIPartyName as P, AsnIntegerArrayBufferConverter as Q, RSAPublicKey as R, KeyUsage as S, TypeRelationship as T, UnstructuredName as U, ValuationRanking as V, WebGDPR as W, BasicConstraints as X, ExtendedKeyUsage as Y, SubjectKeyIdentifier as Z, AuthorityKeyIdentifier as _, Attribute as a, AuthorityInfoAccessSyntax as a0, SubjectInfoAccessSyntax as a1, SubjectAlternativeName as a2, CertificatePolicies as a3, CertificateTransparency as a4, NameConstraints as a5, CertificateTemplate as a6, EnrollCertTypeChoice as a7, CaVersion as a8, QCStatements as a9, NetscapeComment as aa, NetscapeCertType as ab, LeiRole as ac, LeiChoice as ad, Timestamp as ae, ArchiveRevInfo as af, CRLReason as ag, SubjectDirectoryAttributes as ah, PrivateKeyUsagePeriod as ai, EntrustVersionInfo as aj, BiometricSyntax as ak, LogotypeExtn as al, TNAuthorizationList as am, PolicyConstraints as an, PolicyMappings as ao, Download as ap, isPem as aq, isX509Pem as ar, isPkcs10Pem as as, isX509AttributePem as at, X509Certificate as au, id_pkcs9_at_extensionRequest as b, AsnParser as c, Extension$1 as d, AsnConvert as e, id_pkcs9_at_unstructuredName as f, id_pkcs9_at_challengePassword as g, id_ValuationRanking as h, index as i, id_InsuranceValue as j, id_WebGDPR as k, id_ActivityDescription as l, ActivityDescription as m, id_TypeRelationship as n, id_DomainNameTechnicalOperator as o, id_DomainNameOwner as p, DomainNameOwner as q, id_DomainNameLegalRepresentative as r, DomainNameLegalRepresentative as s, id_DomainNameBeneficiary as t, DomainNameBeneficiary as u, certificateRawToBuffer as v, AttributeCertificate as w, getCertificateThumbprint as x, hexFormat as y, base64Format as z };
@@ -617,8 +617,8 @@ var dayjs_min = createCommonjsModule(function (module, exports) {
617
617
  return this.set(c, this.$y + r); if (l === a)
618
618
  return y(1); if (l === o)
619
619
  return y(7); var M = (d = {}, d[s] = e, d[u] = n, d[i] = t, d)[l] || 1, m = this.$d.getTime() + r * M; return O.w(m, this); }, m.subtract = function (t, e) { return this.add(-1 * t, e); }, m.format = function (t) { var e = this, n = this.$locale(); if (!this.isValid())
620
- return n.invalidDate || $; var r = t || "YYYY-MM-DDTHH:mm:ssZ", i = O.z(this), s = this.$H, u = this.$m, a = this.$M, o = n.weekdays, f = n.months, h = function (t, n, i, s) { return t && (t[n] || t(e, r)) || i[n].substr(0, s); }, c = function (t) { return O.s(s % 12 || 12, t, "0"); }, d = n.meridiem || function (t, e, n) { var r = t < 12 ? "AM" : "PM"; return n ? r.toLowerCase() : r; }, l = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: a + 1, MM: O.s(a + 1, 2, "0"), MMM: h(n.monthsShort, a, f, 3), MMMM: h(f, a), D: this.$D, DD: O.s(this.$D, 2, "0"), d: String(this.$W), dd: h(n.weekdaysMin, this.$W, o, 2), ddd: h(n.weekdaysShort, this.$W, o, 3), dddd: o[this.$W], H: String(s), HH: O.s(s, 2, "0"), h: c(1), hh: c(2), a: d(s, u, !0), A: d(s, u, !1), m: String(u), mm: O.s(u, 2, "0"), s: String(this.$s), ss: O.s(this.$s, 2, "0"), SSS: O.s(this.$ms, 3, "0"), Z: i }; return r.replace(y, (function (t, e) { return e || l[t] || i.replace(":", ""); })); }, m.utcOffset = function () { return 15 * -Math.round(this.$d.getTimezoneOffset() / 15); }, m.diff = function (r, d, $) { var l, y = O.p(d), M = w(r), m = (M.utcOffset() - this.utcOffset()) * e, g = this - M, v = O.m(this, M); return v = (l = {}, l[c] = v / 12, l[f] = v, l[h] = v / 3, l[o] = (g - m) / 6048e5, l[a] = (g - m) / 864e5, l[u] = g / n, l[s] = g / e, l[i] = g / t, l)[y] || g, $ ? v : O.a(v); }, m.daysInMonth = function () { return this.endOf(f).$D; }, m.$locale = function () { return D[this.$L]; }, m.locale = function (t, e) { if (!t)
621
- return this.$L; var n = this.clone(), r = S(t, e, !0); return r && (n.$L = r), n; }, m.clone = function () { return O.w(this.$d, this); }, m.toDate = function () { return new Date(this.valueOf()); }, m.toJSON = function () { return this.isValid() ? this.toISOString() : null; }, m.toISOString = function () { return this.$d.toISOString(); }, m.toString = function () { return this.$d.toUTCString(); }, M; }(), b = _.prototype; return w.prototype = b, [["$ms", r], ["$s", i], ["$m", s], ["$H", u], ["$W", a], ["$M", f], ["$y", c], ["$D", d]].forEach((function (t) { b[t[1]] = function (e) { return this.$g(e, t[0], t[1]); }; })), w.extend = function (t, e) { return t.$i || (t(e, _, w), t.$i = !0), w; }, w.locale = S, w.isDayjs = p, w.unix = function (t) { return w(1e3 * t); }, w.en = D[v], w.Ls = D, w.p = {}, w; }));
620
+ return n.invalidDate || $; var r = t || "YYYY-MM-DDTHH:mm:ssZ", i = O.z(this), s = this.$H, u = this.$m, a = this.$M, o = n.weekdays, f = n.months, h = function (t, n, i, s) { return t && (t[n] || t(e, r)) || i[n].slice(0, s); }, c = function (t) { return O.s(s % 12 || 12, t, "0"); }, d = n.meridiem || function (t, e, n) { var r = t < 12 ? "AM" : "PM"; return n ? r.toLowerCase() : r; }, l = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: a + 1, MM: O.s(a + 1, 2, "0"), MMM: h(n.monthsShort, a, f, 3), MMMM: h(f, a), D: this.$D, DD: O.s(this.$D, 2, "0"), d: String(this.$W), dd: h(n.weekdaysMin, this.$W, o, 2), ddd: h(n.weekdaysShort, this.$W, o, 3), dddd: o[this.$W], H: String(s), HH: O.s(s, 2, "0"), h: c(1), hh: c(2), a: d(s, u, !0), A: d(s, u, !1), m: String(u), mm: O.s(u, 2, "0"), s: String(this.$s), ss: O.s(this.$s, 2, "0"), SSS: O.s(this.$ms, 3, "0"), Z: i }; return r.replace(y, (function (t, e) { return e || l[t] || i.replace(":", ""); })); }, m.utcOffset = function () { return 15 * -Math.round(this.$d.getTimezoneOffset() / 15); }, m.diff = function (r, d, $) { var l, y = O.p(d), M = w(r), m = (M.utcOffset() - this.utcOffset()) * e, g = this - M, v = O.m(this, M); return v = (l = {}, l[c] = v / 12, l[f] = v, l[h] = v / 3, l[o] = (g - m) / 6048e5, l[a] = (g - m) / 864e5, l[u] = g / n, l[s] = g / e, l[i] = g / t, l)[y] || g, $ ? v : O.a(v); }, m.daysInMonth = function () { return this.endOf(f).$D; }, m.$locale = function () { return D[this.$L]; }, m.locale = function (t, e) { if (!t)
621
+ return this.$L; var n = this.clone(), r = S(t, e, !0); return r && (n.$L = r), n; }, m.clone = function () { return O.w(this.$d, this); }, m.toDate = function () { return new Date(this.valueOf()); }, m.toJSON = function () { return this.isValid() ? this.toISOString() : null; }, m.toISOString = function () { return this.$d.toISOString(); }, m.toString = function () { return this.$d.toUTCString(); }, M; }(), T = _.prototype; return w.prototype = T, [["$ms", r], ["$s", i], ["$m", s], ["$H", u], ["$W", a], ["$M", f], ["$y", c], ["$D", d]].forEach((function (t) { T[t[1]] = function (e) { return this.$g(e, t[0], t[1]); }; })), w.extend = function (t, e) { return t.$i || (t(e, _, w), t.$i = !0), w; }, w.locale = S, w.isDayjs = p, w.unix = function (t) { return w(1e3 * t); }, w.en = D[v], w.Ls = D, w.p = {}, w; }));
622
622
  });
623
623
  /**
624
624
  * @license
@@ -48,8 +48,8 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
48
48
  }
49
49
  };
50
50
  import { h, r as registerInstance, H as Host, c as createEvent } from './index-5ef692cc.js';
51
- import { A as AsnData, a as Attribute$1, i as index, b as id_pkcs9_at_extensionRequest, c as AsnParser, E as ExtensionRequest, d as Extension, e as AsnConvert, f as id_pkcs9_at_unstructuredName, U as UnstructuredName, g as id_pkcs9_at_challengePassword, C as ChallengePassword, h as id_ValuationRanking, V as ValuationRanking, j as id_InsuranceValue, I as InsuranceValue, k as id_WebGDPR, W as WebGDPR, l as id_ActivityDescription, m as ActivityDescription, n as id_TypeRelationship, T as TypeRelationship, o as id_DomainNameTechnicalOperator, D as DomainNameTechnicalOperator, p as id_DomainNameOwner, q as DomainNameOwner, r as id_DomainNameLegalRepresentative, s as DomainNameLegalRepresentative, t as id_DomainNameBeneficiary, u as DomainNameBeneficiary, v as certificateRawToBuffer, w as AttributeCertificate, x as getCertificateThumbprint, y as hexFormat, z as base64Format, B as CertificationRequest, N as Name, F as id_ecPublicKey, G as ECParameters, H as id_rsaEncryption, R as RSAPublicKey, O as OIDs, J as Name$1, K as OtherName, L as DisplayText, M as EDIPartyName, P as UserNotice, Q as KeyUsage, S as BasicConstraints, X as ExtendedKeyUsage, Y as SubjectKeyIdentifier, Z as AuthorityKeyIdentifier, _ as CRLDistributionPoints, $ as AuthorityInfoAccessSyntax, a0 as SubjectAlternativeName, a1 as CertificatePolicies, a2 as CertificateTransparency, a3 as NameConstraints, a4 as CertificateTemplate, a5 as EnrollCertTypeChoice, a6 as CaVersion, a7 as QCStatements, a8 as NetscapeComment, a9 as NetscapeCertType, aa as LeiRole, ab as LeiChoice, ac as Timestamp, ad as ArchiveRevInfo, ae as CRLReason, af as SubjectDirectoryAttributes, ag as PrivateKeyUsagePeriod, ah as EntrustVersionInfo, ai as BiometricSyntax, aj as LogotypeExtn, ak as TNAuthorizationList, al as Download, am as isPem, an as isX509Pem, ao as isPkcs10Pem, ap as isX509AttributePem, aq as X509Certificate } from './download-8043769c.js';
52
- import { d as dateDiff, l as l10n, a as dateShort, h as history } from './l10n-6ab04c66.js';
51
+ import { A as AsnData, a as Attribute$1, i as index, b as id_pkcs9_at_extensionRequest, c as AsnParser, E as ExtensionRequest, d as Extension, e as AsnConvert, f as id_pkcs9_at_unstructuredName, U as UnstructuredName, g as id_pkcs9_at_challengePassword, C as ChallengePassword, h as id_ValuationRanking, V as ValuationRanking, j as id_InsuranceValue, I as InsuranceValue, k as id_WebGDPR, W as WebGDPR, l as id_ActivityDescription, m as ActivityDescription, n as id_TypeRelationship, T as TypeRelationship, o as id_DomainNameTechnicalOperator, D as DomainNameTechnicalOperator, p as id_DomainNameOwner, q as DomainNameOwner, r as id_DomainNameLegalRepresentative, s as DomainNameLegalRepresentative, t as id_DomainNameBeneficiary, u as DomainNameBeneficiary, v as certificateRawToBuffer, w as AttributeCertificate, x as getCertificateThumbprint, y as hexFormat, z as base64Format, B as CertificationRequest, N as Name, F as id_ecPublicKey, G as ECParameters, H as id_rsaEncryption, R as RSAPublicKey, O as OIDs, J as Name$1, K as OtherName, L as DisplayText, M as UserNotice, P as EDIPartyName, Q as AsnIntegerArrayBufferConverter, S as KeyUsage, X as BasicConstraints, Y as ExtendedKeyUsage, Z as SubjectKeyIdentifier, _ as AuthorityKeyIdentifier, $ as CRLDistributionPoints, a0 as AuthorityInfoAccessSyntax, a1 as SubjectInfoAccessSyntax, a2 as SubjectAlternativeName, a3 as CertificatePolicies, a4 as CertificateTransparency, a5 as NameConstraints, a6 as CertificateTemplate, a7 as EnrollCertTypeChoice, a8 as CaVersion, a9 as QCStatements, aa as NetscapeComment, ab as NetscapeCertType, ac as LeiRole, ad as LeiChoice, ae as Timestamp, af as ArchiveRevInfo, ag as CRLReason, ah as SubjectDirectoryAttributes, ai as PrivateKeyUsagePeriod, aj as EntrustVersionInfo, ak as BiometricSyntax, al as LogotypeExtn, am as TNAuthorizationList, an as PolicyConstraints, ao as PolicyMappings, ap as Download, aq as isPem, ar as isX509Pem, as as isPkcs10Pem, at as isX509AttributePem, au as X509Certificate } from './download-250f9495.js';
52
+ import { d as dateDiff, l as l10n, a as dateShort, h as history } from './l10n-c8cf6930.js';
53
53
  /**
54
54
  * @license
55
55
  * Copyright (c) Peculiar Ventures, LLC.
@@ -494,8 +494,23 @@ var GeneralNamePart = function (props) {
494
494
  ];
495
495
  }
496
496
  if (value instanceof OtherName) {
497
- var text = AsnParser.parse(value.value, DisplayText);
498
- return (h(RowValue, { name: OIDs[value.typeId], value: text.toString() }));
497
+ try {
498
+ var text = AsnParser.parse(value.value, DisplayText);
499
+ return (h(RowValue, { name: OIDs[value.typeId] || value.typeId, value: text.toString() }));
500
+ }
501
+ catch (error) {
502
+ //
503
+ }
504
+ try {
505
+ var text = AsnParser.parse(value.value, UserNotice);
506
+ if (text.explicitText) {
507
+ return (h(RowValue, { name: OIDs[value.typeId] || value.typeId, value: text.explicitText.toString() }));
508
+ }
509
+ }
510
+ catch (error) {
511
+ //
512
+ }
513
+ return (h(RowValue, { name: OIDs[value.typeId] || value.typeId, value: index.Convert.ToHex(value.value), monospace: true }));
499
514
  }
500
515
  if (index.BufferSourceConverter.isBufferSource(value)) {
501
516
  return (h(RowValue, { name: names[name] || name, value: index.Convert.ToString(value) }));
@@ -781,8 +796,11 @@ var AuthorityKeyIdentifierExtension = function (props) {
781
796
  var CRLDistributionPointsExtension = function (props) {
782
797
  var extension = props.extension;
783
798
  return (h(BasicExtension, { extension: extension }, extension.value.map(function (point) {
784
- var _a;
785
- return ((_a = point === null || point === void 0 ? void 0 : point.distributionPoint) === null || _a === void 0 ? void 0 : _a.fullName.map(function (gn) { return (h(GeneralNamePart, Object.assign({ generalName: gn }, props))); }));
799
+ var _a, _b;
800
+ return ([
801
+ (_a = point.distributionPoint) === null || _a === void 0 ? void 0 : _a.fullName.map(function (gn) { return (h(GeneralNamePart, Object.assign({ generalName: gn }, props))); }),
802
+ (_b = point.cRLIssuer) === null || _b === void 0 ? void 0 : _b.map(function (gn) { return (h(GeneralNamePart, Object.assign({ generalName: gn }, props))); }),
803
+ ]);
786
804
  })));
787
805
  };
788
806
  /**
@@ -792,7 +810,7 @@ var CRLDistributionPointsExtension = function (props) {
792
810
  * This source code is licensed under the MIT license found in the
793
811
  * LICENSE file in the root directory of this source tree.
794
812
  */
795
- var AuthorityInfoAccessSyntaxExtension = function (props) {
813
+ var InfoAccessSyntaxExtension = function (props) {
796
814
  var extension = props.extension;
797
815
  return (h(BasicExtension, { extension: extension }, extension.value.map(function (description, arrayIndex) { return ([
798
816
  h(RowValue, { name: "Description #" + (arrayIndex + 1), value: "" }),
@@ -1232,6 +1250,32 @@ var TNAuthListExtension = function (props) {
1232
1250
  h(RowValue, { name: "One", value: entry.one }),
1233
1251
  ]); })));
1234
1252
  };
1253
+ /**
1254
+ * @license
1255
+ * Copyright (c) Peculiar Ventures, LLC.
1256
+ *
1257
+ * This source code is licensed under the MIT license found in the
1258
+ * LICENSE file in the root directory of this source tree.
1259
+ */
1260
+ var PolicyConstraintsExtension = function (props) {
1261
+ var extension = props.extension;
1262
+ return (h(BasicExtension, { extension: extension }, extension.value.requireExplicitPolicy && (h(RowValue, { name: "Require Explicit Policy", value: AsnIntegerArrayBufferConverter.toASN(extension.value.requireExplicitPolicy).valueBlock.toString() })), extension.value.inhibitPolicyMapping && (h(RowValue, { name: "Inhibit Policy Mapping", value: AsnIntegerArrayBufferConverter.toASN(extension.value.inhibitPolicyMapping).valueBlock.toString() }))));
1263
+ };
1264
+ /**
1265
+ * @license
1266
+ * Copyright (c) Peculiar Ventures, LLC.
1267
+ *
1268
+ * This source code is licensed under the MIT license found in the
1269
+ * LICENSE file in the root directory of this source tree.
1270
+ */
1271
+ var PolicyMappingsExtension = function (props) {
1272
+ var extension = props.extension;
1273
+ return (h(BasicExtension, { extension: extension }, extension.value.map(function (policy, arrayIndex) { return ([
1274
+ h(RowValue, { name: "Policy #" + (arrayIndex + 1), value: "" }),
1275
+ h(RowValue, { name: "Issuer Domain", value: getStringByOID(policy.issuerDomainPolicy) }),
1276
+ h(RowValue, { name: "Subject Domain", value: getStringByOID(policy.subjectDomainPolicy) }),
1277
+ ]); })));
1278
+ };
1235
1279
  /**
1236
1280
  * @license
1237
1281
  * Copyright (c) Peculiar Ventures, LLC.
@@ -1266,8 +1310,9 @@ var Extensions = function (props) {
1266
1310
  if (extension.value instanceof CRLDistributionPoints) {
1267
1311
  return (h(CRLDistributionPointsExtension, Object.assign({ extension: extension }, props)));
1268
1312
  }
1269
- if (extension.value instanceof AuthorityInfoAccessSyntax) {
1270
- return (h(AuthorityInfoAccessSyntaxExtension, Object.assign({ extension: extension }, props)));
1313
+ if (extension.value instanceof AuthorityInfoAccessSyntax
1314
+ || extension.value instanceof SubjectInfoAccessSyntax) {
1315
+ return (h(InfoAccessSyntaxExtension, Object.assign({ extension: extension }, props)));
1271
1316
  }
1272
1317
  if (extension.value instanceof SubjectAlternativeName) {
1273
1318
  return (h(SubjectAlternativeNameExtension, Object.assign({ extension: extension }, props)));
@@ -1332,6 +1377,12 @@ var Extensions = function (props) {
1332
1377
  if (extension.value instanceof TNAuthorizationList) {
1333
1378
  return (h(TNAuthListExtension, { extension: extension }));
1334
1379
  }
1380
+ if (extension.value instanceof PolicyConstraints) {
1381
+ return (h(PolicyConstraintsExtension, { extension: extension }));
1382
+ }
1383
+ if (extension.value instanceof PolicyMappings) {
1384
+ return (h(PolicyMappingsExtension, { extension: extension }));
1385
+ }
1335
1386
  if (typeof extension.value === 'string') {
1336
1387
  return (h(AsStringExtension, { extension: extension }));
1337
1388
  }
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-5ef692cc.js';
2
- import { l as l10n, a as dateShort } from './l10n-6ab04c66.js';
2
+ import { l as l10n, a as dateShort } from './l10n-c8cf6930.js';
3
3
  var certificateSummaryCss = ":host{-webkit-box-sizing:border-box;box-sizing:border-box}:host *,:host *:before,:host *:after{-webkit-box-sizing:inherit;box-sizing:inherit}:host{display:block;width:100%}td{border:none;padding:0}table{width:100%;border-spacing:0;border-collapse:collapse}td{vertical-align:top;padding-top:5px;padding-bottom:5px}table td:first-child{width:130px;padding-right:10px}table td:last-child{width:calc(100% - 130px)}@media (max-width: 900px){table,tr,td{display:block}table td:last-child,table td:first-child{width:100%}}";
4
4
  var CertificateSummary = /** @class */ (function () {
5
5
  function CertificateSummary(hostRef) {