@peculiar/fortify-webcomponents
Version:
Web-components for creating CSR or Certificate and viewing certificates list using Fortify
524 lines • 51.6 kB
JavaScript
var __extends=this&&this.__extends||function(){var e=function(n,a){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var a in n)if(Object.prototype.hasOwnProperty.call(n,a))e[a]=n[a]};return e(n,a)};return function(n,a){if(typeof a!=="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");e(n,a);function t(){this.constructor=n}n.prototype=a===null?Object.create(a):(t.prototype=a.prototype,new t)}}();
/*!
* © Peculiar Ventures https://peculiarventures.com/ - BSD 3-Clause License
*/import{h}from"./index-BA3hMeq-.js";import{bl as OIDs,bj as l10n,bk as dateShort,b as buildExports,bn as Name$1,bZ as OtherName,r as AsnParser,ci as DisplayText,cj as UserNotice,ck as EDIPartyName,bo as __decorate,cl as AsnProp,cm as AsnPropTypes,cn as AsnType,co as AsnTypeTypes,cp as AsnArray,cq as id_qcs_pkixQCSyntax_v2,cr as SemanticsInformation,cs as AsnIntegerArrayBufferConverter,ct as AttestationApplicationId,cu as RootOfTrust,cv as IntegerSet,av as KeyUsage,aF as BasicConstraints,az as ExtendedKeyUsage,ap as SubjectKeyIdentifier,aG as AuthorityKeyIdentifier,aC as CRLDistributionPoints,aH as AuthorityInfoAccessSyntax,a9 as SubjectInfoAccessSyntax,ar as SubjectAlternativeName,aD as CertificatePolicies,au as NameConstraints,an as CertificateTemplate,am as EnrollCertTypeChoice,aj as CaVersion,ao as QCStatements,al as NetscapeComment,ak as NetscapeCertType,ah as LeiRole,ai as LeiChoice,ag as Timestamp,af as ArchiveRevInfo,aA as CRLReason,aq as SubjectDirectoryAttributes,ae as PrivateKeyUsagePeriod,ad as EntrustVersionInfo,ac as BiometricSyntax,ab as LogotypeExtn,aa as TNAuthorizationList,at as PolicyConstraints,as as PolicyMappings,a8 as CRLNumber,aB as IssuingDistributionPoint,a6 as NonStandardKeyDescription,a5 as CabforganizationIdentifier}from"./ssh_certificate-CDwMJyak.js";import{C as CertificateTransparency}from"./utils-Bx6Iov6q.js";import{B as Button}from"./button-Dh0mVZGn.js";import{D as DownloadIcon}from"./download-D2awqjja.js";import{T as Typography}from"./typography-BgpGT7g-.js";
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/function getStringByOID(e){var n=OIDs[e];if(n){return"".concat(n," (").concat(e,")")}return e}
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/function camelCaseToWords(e){var n=e.replace(/([A-Z])/g," $1");return n.charAt(0).toUpperCase()+n.slice(1)}
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Link=function(e,n){var a=e.href,t=e.variant;return h(Typography,{component:"a",variant:t,color:"secondary",href:a,target:"_blank",rel:"noreferrer noopener"},n)};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var getLEILink=function(e){return"https://search.gleif.org/#/record/".concat(e)};var getDNSNameLink=function(e){return"https://search.censys.io/search?resource=hosts&q=dns.names%3A".concat(e)};var getIPAddressLink=function(e){return"https://search.censys.io/search?resource=hosts&q=ip%3A".concat(e)};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/function isLink(e){return e.indexOf("http")===0}
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var TableRowTable=function(e,n){return h("tr",null,h("td",{colSpan:2},h("table",null,n)))};var RowTitle=function(e){var n=e.value;if(!n){return null}return[h("tr",{class:"title"},h("td",{colSpan:2},h(Typography,{variant:"s1",color:"black"},n))),h("tr",null,h("td",{colSpan:2,class:"divider"},h("span",null)))]};var RowValue=function(e){var n=e.name,a=e.value,t=e.monospace,o=e.collapse,r=e.href,i=e.extraValue;if(!n){return null}if(a===undefined||a===null){return null}var s;if(o){s=h("peculiar-text-hider",null,a)}else{s=a}var c=!!a.toString();return h("tr",null,h("td",{colSpan:c?1:2},h(Typography,{variant:"b2",color:"gray-9"},n)),c&&h("td",{class:{monospace:t}},isLink(a.toString())||r?h(Link,{variant:"b2",href:r||a.toString()},a):h(Typography,{variant:"b2",color:"black"},s,i)))};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var BasicInformation=function(e){var n=e.serialNumber,a=e.version,t=e.validity,o=e.notBefore,r=e.notAfter,i=e.lastUpdate,s=e.nextUpdate,c=e.type;return[h(RowTitle,{value:l10n.getString("basicInformation")}),h(RowValue,{name:l10n.getString("type"),value:c}),h(RowValue,{name:l10n.getString("serialNumber"),value:n,monospace:true}),h(RowValue,{name:l10n.getString("version"),value:a}),h(RowValue,{name:l10n.getString("validity"),value:t}),h(RowValue,{name:l10n.getString("issued"),value:o?dateShort(o):undefined}),h(RowValue,{name:l10n.getString("expired"),value:r?dateShort(r):undefined}),h(RowValue,{name:l10n.getString("lastUpdate"),value:i?dateShort(i):undefined}),h(RowValue,{name:l10n.getString("nextUpdate"),value:s?dateShort(s):undefined})]};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/function getPublicKeyModulus(e){if(e.params&&"modulus"in e.params){var n=e.params.modulus.byteLength;if(n%2){n-=1}return n*8}return null}function getPublicKeyExponent(e){if(e.params&&"publicExponent"in e.params){return e.params.publicExponent.byteLength===3?65537:3}return null}var PublicKey=function(e){var n=e.publicKey;if(!n){return null}function a(e){return[h(RowValue,{name:l10n.getString("algorithm"),value:getStringByOID(e.algorithm)}),h(RowValue,{name:l10n.getString("namedCurve"),value:getStringByOID(e.params&&"namedCurve"in e.params?e.params.namedCurve:undefined)}),h(RowValue,{name:l10n.getString("exponent"),value:getPublicKeyExponent(e)}),h(RowValue,{name:l10n.getString("modulus"),value:getPublicKeyModulus(e)}),h(RowValue,{name:l10n.getString("value"),value:buildExports.Convert.ToHex(e.value),monospace:true,collapse:true})]}return[h(RowTitle,{value:l10n.getString("publicKeyInfo")}),a(n),Array.isArray(n.params)&&n.params.length&&n.params.map((function(e){return h(TableRowTable,null,a(e))}))]};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var SubjectName=function(e){var n=e.name;return[h(RowTitle,{value:l10n.getString("subjectName")}),n.map((function(e){return h(RowValue,{name:e.name||e.type,value:e.value})}))]};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var IssuerName=function(e){var n=e.name,a=e.issuerDnLink;var t=l10n.getString("issuerName");return[h(RowTitle,{value:a?h(Link,{href:a},t):t}),n.map((function(e){return h(RowValue,{name:e.name||e.type,value:e.value})}))]};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Signature=function(e){var n=e.signature;if(!n){return null}function a(e){return[h(RowValue,{name:l10n.getString("algorithm"),value:getStringByOID(e.algorithm)}),h(RowValue,{name:l10n.getString("value"),value:buildExports.Convert.ToHex(e.value),monospace:true,collapse:true})]}return[h(RowTitle,{value:l10n.getString("signature")}),a(n),n.params&&n.params.length&&n.params.map((function(e){return h(TableRowTable,null,a(e))}))]};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Thumbprints=function(e){var n=e.thumbprints;if(!n){return null}var a=Object.keys(n);if(!a.length){return null}return[h(RowTitle,{value:l10n.getString("fingerprints")}),a.map((function(e){return h(RowValue,{name:e,value:n[e],monospace:true})}))]};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var BasicExtension=function(e,n){var a=e.extension;return[h(RowValue,{name:"Name",value:getStringByOID(a.asn.extnID)}),h(RowValue,{name:"Critical",value:a.asn.critical?l10n.getString("yes"):l10n.getString("no")}),n,h("tr",null,h("td",{colSpan:2,class:"divider"},h("span",null)))]};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var KeyUsageExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},h(RowValue,{name:"Usage",value:n.value.toJSON().join(", ")}))};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var BasicConstraintsExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},h(RowValue,{name:"Certificate Authority",value:n.value.cA?l10n.getString("yes"):l10n.getString("no")}),h(RowValue,{name:"Path Length Constraint",value:n.value.pathLenConstraint}))};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var ExtendedKeyUsageExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},Boolean(n.value.length)&&[h(RowValue,{name:"Purposes",value:""}),n.value.map((function(e){return h(TableRowTable,null,h(RowValue,{name:"Purpose",value:getStringByOID(e)}))}))])};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var SubjectKeyIdentifierExtension=function(e){var n=e.extension,a=e.getSubjectKeyIdChildrenLink,t=e.getSubjectKeyIdSiblingsLink;var o=buildExports.Convert.ToHex(n.value.buffer);var r=a(o);var i=t(o);return h(BasicExtension,{extension:n},h(RowValue,{name:"Key ID",value:o,monospace:true,extraValue:[r&&h("span",null," [",h(Link,{href:r},"children"),"]"),i&&h("span",null," [",h(Link,{href:i},"siblings"),"]")]}))};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var AuthorityKeyIdentifierExtension=function(e){var n=e.extension,a=e.getAuthKeyIdParentLink,t=e.getAuthKeyIdSiblingsLink;var o=buildExports.Convert.ToHex(n.value.keyIdentifier.buffer);var r=a(o);var i=t(o);return h(BasicExtension,{extension:n},h(RowValue,{name:"Key ID",value:o,monospace:true,extraValue:[r&&h("span",null," [",h(Link,{href:r},"parents"),"]"),i&&h("span",null," [",h(Link,{href:i},"siblings"),"]")]}))};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var names={otherName:"Other Name",rfc822Name:"RFC 822 Name",dNSName:"DNS Name",x400Address:"X400 Address",directoryName:"Directory Name",ediPartyName:"Edi Party Name ",uniformResourceIdentifier:"URI",iPAddress:"IP Address",registeredID:"Registered ID"};var GeneralNamePart=function(e){var n=e.generalName,a=e.getDNSNameLink,t=e.getIPAddressLink;if(!n){return null}return Object.keys(n).map((function(e){var o=n[e];if(o instanceof Name$1){return[h(RowValue,{name:names[e]||e,value:""}),h(TableRowTable,null,o.map((function(e){return e.map((function(e){return h(RowValue,{name:OIDs[e.type]||e.type,value:e.value.toString()})}))})))]}if(o instanceof OtherName){try{var r=AsnParser.parse(o.value,DisplayText);return h(RowValue,{name:OIDs[o.typeId]||o.typeId,value:r.toString()})}catch(e){}try{var r=AsnParser.parse(o.value,UserNotice);if(r.explicitText){return h(RowValue,{name:OIDs[o.typeId]||o.typeId,value:r.explicitText.toString()})}}catch(e){}return h(RowValue,{name:OIDs[o.typeId]||o.typeId,value:buildExports.Convert.ToHex(o.value),monospace:true})}if(buildExports.BufferSourceConverter.isBufferSource(o)){return h(RowValue,{name:names[e]||e,value:buildExports.Convert.ToString(o)})}if(o instanceof EDIPartyName){return h(RowValue,{name:names[e]||e,value:o.partyName.toString()})}if(e==="dNSName"){return h(RowValue,{name:names[e]||e,value:o,href:a(o)})}if(e==="iPAddress"){return h(RowValue,{name:names[e]||e,value:o,href:t(o)})}return h(RowValue,{name:names[e]||e,value:o})}))};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var CRLDistributionPointsExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},n.value.map((function(n){var a,t;return[(a=n.distributionPoint)===null||a===void 0?void 0:a.fullName.map((function(n){return h(GeneralNamePart,Object.assign({generalName:n},e))})),(t=n.cRLIssuer)===null||t===void 0?void 0:t.map((function(n){return h(GeneralNamePart,Object.assign({generalName:n},e))}))]})))};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var InfoAccessSyntaxExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},Boolean(n.value.length)&&[h(RowValue,{name:"Descriptions",value:""}),n.value.map((function(n){return h(TableRowTable,null,h(RowValue,{name:"Method",value:getStringByOID(n.accessMethod)}),h(GeneralNamePart,Object.assign({generalName:n.accessLocation},e)))}))])};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var SubjectAlternativeNameExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},n.value.map((function(n){return h(GeneralNamePart,Object.assign({generalName:n},e))})))};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var CertificatePoliciesExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},Boolean(n.value.length)&&[h(RowValue,{name:"Policies",value:""}),n.value.map((function(e){return h(TableRowTable,null,h(RowValue,{name:"Policy ID",value:getStringByOID(e.policyIdentifier)}),e.policyQualifiers&&Boolean(e.policyQualifiers.length)&&[h(RowValue,{name:"Qualifiers",value:""}),e.policyQualifiers.map((function(e){var n=[h(RowValue,{name:"Qualifier ID",value:getStringByOID(e.policyQualifierId)})];if(e.policyQualifierId==="1.3.6.1.5.5.7.2.1"){var a=AsnParser.parse(e.qualifier,DisplayText);n.push(h(RowValue,{name:"Value",value:a.toString()}))}if(e.policyQualifierId==="1.3.6.1.5.5.7.2.2"){var a=AsnParser.parse(e.qualifier,UserNotice);if(a.explicitText){n.push(h(RowValue,{name:"Value",value:a.explicitText.toString()}))}}return h(TableRowTable,null,n)}))])}))])};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var logs={"9606c02c690033aa1d145f59c6e2648d0549f0df96aab8db915a70d8ecf390a5":"Akamai CT","39376f545f7b4607f59742d768cd5d2437bf3473b6534a4834bcf72e681c83c9":"Alpha CT",a577ac9ced7548dd8f025b67a241089df86e0f476ec203c2ecbedb185f282638:"CNNIC CT",cdb5179b7fc1c046feea31136a3f8f002e6182faf8896fecc8b2f5b5ab604900:"Certly.IO","1fbc36e002ede97f40199e86b3573b8a4217d80187746ad0da03a06054d20df4":"Cloudflare “Nimbus2017”",db74afeecb29ecb1feca3e716d2ce5b9aabb36f7847183c75d9d4f37b61fbf64:"Cloudflare “Nimbus2018”","747eda8331ad331091219cce254f4270c2bffd5e422008c6373579e6107bcc56":"Cloudflare “Nimbus2019”","5ea773f9df56c0e7b536487dd049e0327a919a0c84a112128418759681714558":"Cloudflare “Nimbus2020”","4494652eb0eeceafc44007d8a8fe28c0dae682bed8cb31b53fd33396b5b681a8":"Cloudflare “Nimbus2021”","41c8cab1df22464a10c6a13a0942875e4e318b1b03ebeb4bc768f090629606f6":"Cloudflare “Nimbus2022”","7a328c54d8b72db620ea38e0521ee98416703213854d3bd22bc13a57a352eb52":"Cloudflare “Nimbus2023”","6ff141b5647e4222f7ef052cefae7c21fd608e27d2af5a6e9f4b8a37d6633ee5":"DigiCert Nessie2018",fe446108b1d01ab78a62ccfeab6ab2b2babff3abdad80a4d8b30df2d0008830c:"DigiCert Nessie2019",c652a0ec48ceb3fcab170992c43a87413309e80065a26252401ba3362a17c565:"DigiCert Nessie2020",eec095ee8d72640f92e3c3b91bc712a3696a097b4b6a1a1438e647b2cbedc5f9:"DigiCert Nessie2021","51a3b0f5fd01799c566db837788f0ca47acc1b27cbf79e88429a0dfed48b05e5":"DigiCert Nessie2022",b3737707e18450f86386d605a9dc11094a792db1670c0b87dcf0030e7936a59a:"DigiCert Nessie2023","5614069a2fd7c2ecd3f5e1bd44b23ec74676b9bc99115cc0ef949855d689d0dd":"DigiCert Server","8775bfe7597cf88c43995fbdf36eff568d475636ff4ab560c1b4eaff5ea0830f":"DigiCert Server 2",c1164ae0a772d2d4392dc80ac10770d4f0c49bde991a4840c1fa075164f63360:"DigiCert Yeti2018",e2694bae26e8e94009e8861bb63b83d43ee7fe7488fba48f2893019dddf1dbfe:"DigiCert Yeti2019",f095a459f200d18240102d2f93888ead4bfe1d47e399e1d034a6b0a8aa8eb273:"DigiCert Yeti2020","5cdc4392fee6ab4544b15e9ad456e61037fbd5fa47dca17394b25ee6f6c70eca":"DigiCert Yeti2021","2245450759552456963fa12ff1f76d86e0232663adc04b7f5dc6835c6ee20f02":"DigiCert Yeti2022","35cf191bbfb16c57bf0fad4c6d42cbbbb627202651ea3fe12aefa803c33bd64c":"DigiCert Yeti2023","717ea7420975be84a2723553f1777c26dd51af4e102144094d9019b462fb6668":"GDCA 1","14308d90ccd030135005c01ca526d81e84e87624e39b6248e08f724aea3bb42a":"GDCA 2",c9cf890a21109c666cc17a3ed065c930d0e0135a9feba85af14210b8072421aa:"GDCA CT #1","924a30f909336ff435d6993a10ac75a2c641728e7fc2d659ae6188ffad40ce01":"GDCA CT #2",fad4c97cc49ee2f8ac85c5ea5cea09d0220dbbf4e49c6b50662ff868f86b8c28:"Google “Argon2017”",a4501269055a15545e6211ab37bc103f62ae5576a45e4b1714453e1b22106a25:"Google “Argon2018”","63f2dbcde83bcc2ccf0b728427576b33a48d61778fbd75a638b1c768544bd88d":"Google “Argon2019”",b21e05cc8ba2cd8a204e8766f92bb98a2520676bdafa70e7b249532def8b905e:"Google “Argon2020”",f65c942fd1773022145418083094568ee34d131933bfdf0c2f200bcc4ef164e3:"Google “Argon2021”","2979bef09e393921f056739f63a577e5be577d9c600af8f94d5d265c255dc784":"Google “Argon2022”",e83ed0da3ef5063532e75728bc896bc903d3cbd1116beceb69e1777d6d06bd6e:"Google “Argon2023”","68f698f81f6482be3a8ceeb9281d4cfc71515d6793d444d10a67acbb4f4ffbc4":"Google “Aviator”",c3bf03a7e1ca8841c607bae3ff4270fca5ec45b186ebbe4e2cf3fc778630f5f6:"Google “Crucible”","1d024b8eb1498b344dfd87ea3efc0996f7506f235d1d497061a4773c439c25fb":"Google “Daedalus”","293c519654c83965baaa50fc5807d4b76fbf587a2972dca4c30cf4e54547f478":"Google “Icarus”",a4b90990b418581487bb13a2cc67700a3c359804f91bdfb8e377cd0ec80ddc10:"Google “Pilot”",ee4bbdb775ce60bae142691fabe19e66a30f7e5fb072d88300c47b897aa8fdcb:"Google “Rocketeer”",bbd9dfbc1f8a71b593942397aa927b473857950aab52e81a909664368e1ed185:"Google “Skydiver”","52eb4b225ec896974850675f23e43bc1d021e3214ce52ecd5fa87c203cdfca03":"Google “Solera2018”","0b760e9a8b9a682f88985b15e947501a56446bba8830785c3842994386450c00":"Google “Solera2019”","1fc72ce5a1b799f400c359bff96ca3913548e8644220610952e9ba1774f7bac7":"Google “Solera2020”",a3c99845e80ab7ce00157b3742df0207dd272b2b602ecf98ee2c12db9c5ae7e7:"Google “Solera2021”","697aafca1a6b536fae21205046debad7e0eaea13d2432e6e9d8fb379f2b9aaf3":"Google “Solera2022”",a899d8780c9290aaf462f31880ccfbd52451e970d0fbf591ef75b0d99b645681:"Google “Submariner”",b0cc83e5a5f97d6baf7c09cc284904872ac7e88b132c6350b7c6fd26e16c6c77:"Google “Testtube”",b10cd559a6d67846811f7df9a51532739ac48d703bea0323da5d38755bc0ad4e:"Google “Xenon2018”","084114980071532c16190460bcfc47fdc2653afa292c72b37ff863ae29ccc9f0":"Google “Xenon2019”","07b75c1be57d68fff1b0c61d2315c7bae6577c5794b76aeebc613a1a69d3a21c":"Google “Xenon2020”","7d3ef2f88fff88556824c2c0ca9e5289792bc50e78097f2e6a9768997e22f0d7":"Google “Xenon2021”","46a555eb75fa912030b5a28969f4f37d112c4174befd49b885abf2fc70fe6d47":"Google “Xenon2022”","7461b4a09cfb3d41d75159575b2e7649a445a8d27709b0cc564a6482b7eb41a3":"Izenpe","8941449c70742e06b9fc9ce7b116ba0024aa36d59af44f0204404f00f7ea8566":"Izenpe “Argi”","296afa2d568bca0d2ea844956ae9721fc35fa355ecda99693aafd458a71aefdd":"Let“s Encrypt ”Clicky”","537b69a3564335a9c04904e39593b2c298eb8d7a6e83023635c627248cd6b440":"Nordu “flimsy”",aae70b7f3cb8d566c86c2f16979c9f445f69ab0eb4535589b2f77a030104f3cd:"Nordu “plausible”",e0127629e90496564e3d0147984498aa48f8adb16600eb7902a1ef9909906273:"PuChuangSiDa CT",cf55e28923497c340d5206d05353aeb25834b52f1f8dc9526809f212efdd7ca6:"SHECA CT 1","32dc59c2d4c41968d56e14bc61ac8f0e45db39faf3c155aa4252f5001fa0c623":"SHECA CT 2",db76fdadac65e7d09508886e2159bd8b90352f5fead3e3dc5e22eb350acc7b98:"Sectigo (Comodo) “Dodo” CT","6f5376ac31f03119d89900a45115ff77151c11d902c10029068db2089a37d913":"Sectigo (Comodo) “Mammoth” CT","5581d4c2169036014aea0b9b573c53f0c0e43878702508172fa3aa1d0713d30c":"Sectigo (Comodo) “Sabre” CT","34bb6ad6c3df9c03eea8a499ff7891486c9d5e5cac92d01f7bfd1bce19db48ef":"StartCom",ddeb1d2b7a0d4fa6208b81ad8168707e2e8e9d01d55c888d3d11c4cdb6ecbecc:"Symantec",a7ce4a4e6207e0addee5fdaa4b1f86768767b5d002a55d47310e7e670a95eab2:"Symantec Deneb","15970488d7b997a05beb52512adee8d2e8b4a3165264121a9fabfbd5f85ad93f":"Symantec “Sirius”",bc78e1dfc5f63c684649334da10fa15f0979692009c081b4f3f6917f3ed9b8a5:"Symantec “Vega”",b0b784bc81c0ddc47544e883f05985bb9077d134d8ab88b2b2e533980b8e508b:"Up In The Air “Behind the Sofa”",ac3b9aed7fa9674757159e6d7d575672f9d98100941e9bdeffeca1313b75782d:"Venafi","03019df3fd85a69a8ebd1facc6da9ba73e469774fe77f579fc5a08b8328c1d6b":"Venafi Gen2 CT","41b2dc2e89e63ce4af1ba7bb29bf68c6dee6f9f1cc047e30dffae3b3ba259263":"WoSign","63d0006026dde10bb0601f452446965ee2b6ea2cd4fbc95ac866a550af9075b7":"WoSign 2","9e4ff73dc3ce220b69217c899e468076abf8d78636d5ccfc85a31a75628ba88b":"WoSign CT #1"};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var CertificateTransparencyExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},Boolean(n.value.items.length)&&[h(RowValue,{name:"Signed Certificate Timestamps",value:""}),n.value.toJSON().map((function(e){return h(TableRowTable,null,h(RowValue,{name:"Version",value:e.version+1}),h(RowValue,{name:"Log Operator",value:logs[e.logId]||e.logId}),h(RowValue,{name:"Log Key ID",value:e.logId,monospace:true}),h(RowValue,{name:"Timestamp",value:dateShort(e.timestamp)}),h(RowValue,{name:"Signature Algorithm",value:"".concat(e.hashAlgorithm," ").concat(e.signatureAlgorithm).toUpperCase()}),h(RowValue,{name:"Signature",value:e.signature,monospace:true}),h(RowValue,{name:"Extensions",value:e.extensions||undefined,monospace:true}))}))])};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var NameConstraintsExtension=function(e){var n,a;var t=e.extension;return h(BasicExtension,{extension:t},(n=t.value.excludedSubtrees)===null||n===void 0?void 0:n.map((function(n){return h(GeneralNamePart,Object.assign({generalName:n.base},e))})),(a=t.value.permittedSubtrees)===null||a===void 0?void 0:a.map((function(n){return h(GeneralNamePart,Object.assign({generalName:n.base},e))})))};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var CertificateTemplateExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},h(RowValue,{name:"Template ID",value:n.value.templateID}),h(RowValue,{name:"Template Major Version",value:n.value.templateMajorVersion}),h(RowValue,{name:"Template Minor Version",value:n.value.templateMinorVersion}))};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var EnrollCertTypeChoiceExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},h(RowValue,{name:"Name",value:n.value.toString()}))};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var CaVersionExtension=function(e){var n=e.extension;var a=n.value.getVersion();return h(BasicExtension,{extension:n},h(RowValue,{name:"Certificate Index",value:a.certificateIndex}),h(RowValue,{name:"Key Index",value:a.keyIndex}))};var PdsLocations_1,QcEuPDS_1,QcType_1,QcCClegislation_1;var Iso4217CurrencyCode=function(){function e(e){if(typeof e==="string"){this.alphabetic=e}else if(typeof e==="number"){this.numeric=e}}return e}();__decorate([AsnProp({type:AsnPropTypes.PrintableString})],Iso4217CurrencyCode.prototype,"alphabetic",void 0);__decorate([AsnProp({type:AsnPropTypes.PrintableString})],Iso4217CurrencyCode.prototype,"numeric",void 0);Iso4217CurrencyCode=__decorate([AsnType({type:AsnTypeTypes.Choice})],Iso4217CurrencyCode);var MonetaryValue=function(){function e(e){if(e===void 0){e={}}this.currency=new Iso4217CurrencyCode;this.amount=0;this.exponent=0;Object.assign(this,e)}return e}();__decorate([AsnProp({type:Iso4217CurrencyCode})],MonetaryValue.prototype,"currency",void 0);__decorate([AsnProp({type:AsnPropTypes.Integer})],MonetaryValue.prototype,"amount",void 0);__decorate([AsnProp({type:AsnPropTypes.Integer})],MonetaryValue.prototype,"exponent",void 0);var QcEuLimitValue=function(e){__extends(n,e);function n(){return e!==null&&e.apply(this,arguments)||this}return n}(MonetaryValue);QcEuLimitValue=__decorate([AsnType({type:AsnTypeTypes.Sequence})],QcEuLimitValue);var QcEuRetentionPeriod=function(){function e(e){if(e===void 0){e=0}this.value=e}return e}();__decorate([AsnProp({type:AsnPropTypes.Integer})],QcEuRetentionPeriod.prototype,"value",void 0);QcEuRetentionPeriod=__decorate([AsnType({type:AsnTypeTypes.Choice})],QcEuRetentionPeriod);var PdsLocation=function(){function e(e){if(e===void 0){e={}}this.url="";this.language="";Object.assign(this,e)}return e}();__decorate([AsnProp({type:AsnPropTypes.IA5String})],PdsLocation.prototype,"url",void 0);__decorate([AsnProp({type:AsnPropTypes.PrintableString})],PdsLocation.prototype,"language",void 0);PdsLocation=__decorate([AsnType({type:AsnTypeTypes.Sequence})],PdsLocation);var PdsLocations=PdsLocations_1=function(e){__extends(n,e);function n(n){var a=e.call(this,n)||this;Object.setPrototypeOf(a,PdsLocations_1.prototype);return a}return n}(AsnArray);PdsLocations=PdsLocations_1=__decorate([AsnType({type:AsnTypeTypes.Sequence,itemType:PdsLocation})],PdsLocations);var QcEuPDS=QcEuPDS_1=function(e){__extends(n,e);function n(n){var a=e.call(this,n)||this;Object.setPrototypeOf(a,QcEuPDS_1.prototype);return a}return n}(PdsLocations);QcEuPDS=QcEuPDS_1=__decorate([AsnType({type:AsnTypeTypes.Sequence,itemType:PdsLocation})],QcEuPDS);var QcType=QcType_1=function(e){__extends(n,e);function n(n){var a=e.call(this,n)||this;Object.setPrototypeOf(a,QcType_1.prototype);return a}return n}(AsnArray);QcType=QcType_1=__decorate([AsnType({type:AsnTypeTypes.Sequence,itemType:AsnPropTypes.ObjectIdentifier})],QcType);var QcCClegislation=QcCClegislation_1=function(e){__extends(n,e);function n(n){var a=e.call(this,n)||this;Object.setPrototypeOf(a,QcCClegislation_1.prototype);return a}return n}(AsnArray);QcCClegislation=QcCClegislation_1=__decorate([AsnType({type:AsnTypeTypes.Sequence,itemType:AsnPropTypes.PrintableString})],QcCClegislation);var id_etsi_qcs="0.4.0.1862.1";var id_etsi_qcs_qcRetentionPeriod="".concat(id_etsi_qcs,".3");var id_etsi_qcs_qcPDS="".concat(id_etsi_qcs,".5");var id_etsi_qcs_qcType="".concat(id_etsi_qcs,".6");
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var QCStatementsExtension=function(e){var n=e.extension;function a(e,n){if(!n||!n.byteLength){return null}if(e===id_qcs_pkixQCSyntax_v2){var a=AsnParser.parse(n,SemanticsInformation);return h(RowValue,{name:"Semantics Identifier",value:getStringByOID(a.semanticsIdentifier)})}if(e===id_etsi_qcs_qcType){var t=AsnParser.parse(n,QcType);return h(RowValue,{name:"QC Types",value:t.map((function(e){return getStringByOID(e)})).join(", ")})}if(e===id_etsi_qcs_qcRetentionPeriod){var o=AsnParser.parse(n,QcEuRetentionPeriod);return h(RowValue,{name:"Retention Period",value:"".concat(o.value," years")})}if(e===id_etsi_qcs_qcPDS){var r=AsnParser.parse(n,PdsLocations);return[h(RowValue,{name:"PDS Locations",value:""}),r.map((function(e){return h(TableRowTable,null,h(RowValue,{name:"URL",value:e.url}),h(RowValue,{name:"Language",value:e.language}))}))]}return h(RowValue,{name:"Info",value:buildExports.Convert.ToHex(n),monospace:true})}return h(BasicExtension,{extension:n},Boolean(n.value.length)&&[h(RowValue,{name:"Statements",value:""}),n.value.map((function(e){return h(TableRowTable,null,h(RowValue,{name:"Statement ID",value:getStringByOID(e.statementId)}),a(e.statementId,e.statementInfo))}))])};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var NetscapeCommentExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},h(RowValue,{name:"Comment",value:n.value.value}))};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var NetscapeCertTypeExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},h(RowValue,{name:"Type",value:n.value.toJSON().join(", ")}))};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var LeiRoleExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},h(RowValue,{name:"Role",value:n.value.text}))};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var LeiExtension=function(e){var n=e.extension,a=e.getLEILink;return h(BasicExtension,{extension:n},h(RowValue,{name:"Identifier",value:n.value.text,href:a(n.value.text)}))};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var TimestampExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},h(RowValue,{name:"Version",value:n.value.version}),h(GeneralNamePart,Object.assign({generalName:n.value.location},e)),h(RowValue,{name:"Requires Auth",value:n.value.requiresAuth?l10n.getString("yes"):l10n.getString("no")}))};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var ArchiveRevInfoExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},h(RowValue,{name:"Version",value:n.value.version}))};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var CRLReasonExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},h(RowValue,{name:"Reason",value:n.value.toJSON()}))};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/function getAttributeValue(e){return buildExports.Convert.ToString(e.values[0])}
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var SubjectDirectoryAttributesExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},Boolean(n.value.length)&&[h(RowValue,{name:"Attributes",value:""}),n.value.map((function(e){return h(TableRowTable,null,h(RowValue,{name:"Type",value:getStringByOID(e.type)}),h(RowValue,{name:"Value",value:getAttributeValue(e)}))}))])};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var AsStringExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},h(RowValue,{name:"Value",value:n.value,monospace:true}))};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var PrivateKeyUsagePeriodExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},h(RowValue,{name:"Not Before",value:dateShort(n.value.notBefore)}),h(RowValue,{name:"Not After",value:dateShort(n.value.notAfter)}))};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var EntrustVersionInfoExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},h(RowValue,{name:"Version",value:n.value.entrustVers}),h(RowValue,{name:"Info Flags",value:n.value.entrustInfoFlags.toJSON().join(", ")}))};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var BiometricSyntaxExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},Boolean(n.value.length)&&[h(RowValue,{name:"Biometrics",value:""}),n.value.map((function(e){return h(TableRowTable,null,h(RowValue,{name:"OID",value:getStringByOID(e.typeOfBiometricData.biometricDataOid)}),h(RowValue,{name:"Type",value:e.typeOfBiometricData.predefinedBiometricType}),h(RowValue,{name:"Algorithm",value:getStringByOID(e.hashAlgorithm.algorithm)}),h(RowValue,{name:"Hash",value:buildExports.Convert.ToHex(e.biometricDataHash.buffer),monospace:true}),h(RowValue,{name:"Source Uri",value:e.sourceDataUri}))}))])};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var LogotypeExtension=function(e){var n=e.extension;var a=function(e){if(!e){return null}return e.map((function(e){var n=e.imageDetails;return[h(RowValue,{name:"Image Type",value:n.mediaType}),h(RowValue,{name:"Image Hash",value:buildExports.Convert.ToHex(n.logotypeHash[0].hashValue),monospace:true}),h(RowValue,{name:"Image URL",value:n.logotypeURI[0],monospace:true,collapse:true}),h(RowValue,{name:"Image Hash Algorithm",value:getStringByOID(n.logotypeHash[0].hashAlg.algorithm)})]}))};var t=function(e){if(!e){return null}return e.map((function(e){var n=e.audioDetails;return[h(RowValue,{name:"Audio Type",value:n.mediaType}),h(RowValue,{name:"Audio Hash",value:buildExports.Convert.ToHex(n.logotypeHash[0].hashValue),monospace:true}),h(RowValue,{name:"Audio URL",value:n.logotypeURI[0],monospace:true,collapse:true}),h(RowValue,{name:"Audio Hash Algorithm",value:getStringByOID(n.logotypeHash[0].hashAlg.algorithm)})]}))};var o=function(e,n){if(!n||!n.direct){return null}var o=n.direct,r=o.image,i=o.audio;return[h(RowValue,{name:"Type",value:e}),a(r),t(i),h("tr",null,h("td",null),h("td",null))]};return h(BasicExtension,{extension:n},o("Subject",n.value.subjectLogo),o("Issuer",n.value.issuerLogo))};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var TNAuthListExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},n.value.length>0&&[h(RowValue,{name:"Entries",value:""}),n.value.map((function(e){return h(TableRowTable,null,h(RowValue,{name:"SPC",value:e.spc}),h(RowValue,{name:"Range",value:e.range?"start=".concat(e.range.start," count==").concat(e.range.count):null}),h(RowValue,{name:"One",value:e.one}))}))])};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var PolicyConstraintsExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},n.value.requireExplicitPolicy&&h(RowValue,{name:"Require Explicit Policy",value:AsnIntegerArrayBufferConverter.toASN(n.value.requireExplicitPolicy).valueBlock.toString()}),n.value.inhibitPolicyMapping&&h(RowValue,{name:"Inhibit Policy Mapping",value:AsnIntegerArrayBufferConverter.toASN(n.value.inhibitPolicyMapping).valueBlock.toString()}))};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var PolicyMappingsExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},n.value.length>0&&[h(RowValue,{name:"Policies",value:""}),n.value.map((function(e){return h(TableRowTable,null,h(RowValue,{name:"Issuer Domain",value:getStringByOID(e.issuerDomainPolicy)}),h(RowValue,{name:"Subject Domain",value:getStringByOID(e.subjectDomainPolicy)}))}))])};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var CRLNumberExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},h(RowValue,{name:l10n.getString("value"),value:n.value.value}))};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var IssuingDistributionPointExtension=function(e){var n;var a=e.extension;return h(BasicExtension,{extension:a},(n=a.value.distributionPoint)===null||n===void 0?void 0:n.fullName.map((function(n){return h(GeneralNamePart,Object.assign({generalName:n},e))})),a.value.onlySomeReasons&&h(RowValue,{name:l10n.getString("onlyReasons"),value:a.value.onlySomeReasons.toJSON().join(", ")}),a.value.indirectCRL&&h(RowValue,{name:l10n.getString("indirectCRL"),value:l10n.getString("yes")}),a.value.onlyContainsUserCerts&&h(RowValue,{name:l10n.getString("onlyUserCertificates"),value:l10n.getString("yes")}),a.value.onlyContainsAttributeCerts&&h(RowValue,{name:l10n.getString("onlyAttributeCertificates"),value:l10n.getString("yes")}),a.value.onlyContainsCACerts&&h(RowValue,{name:l10n.getString("onlyCACertificates"),value:l10n.getString("yes")}))};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var KeyDescriptionExtension=function(e){var n=e.extension;var a=function(e){return Object.keys(e).map((function(n){var t=e[n];var o="";switch(true){case typeof t==="string"||typeof t==="number":o=t;break;case t instanceof IntegerSet:o=t.join(", ");break;case typeof t==="boolean":o=t?l10n.getString("yes"):l10n.getString("no");break;case Object.is(t,null):o="NULL";break;case t instanceof RootOfTrust:return[h(RowValue,{name:camelCaseToWords(n),value:""}),h(TableRowTable,null,a(t))];case buildExports.BufferSourceConverter.isBufferSource(t):if(n==="attestationApplicationId"){try{var r=AsnParser.parse(t,AttestationApplicationId);if(r.packageInfos.length||r.signatureDigests.length){return[h(RowValue,{name:camelCaseToWords(n),value:""}),Boolean(r.packageInfos)&&h(TableRowTable,null,h(RowValue,{name:camelCaseToWords("packageInfos"),value:""}),r.packageInfos.map((function(e){return h(TableRowTable,null,a(e))})))]}}catch(e){}}try{o=buildExports.Convert.ToString(t)}catch(e){o=buildExports.Convert.ToHex(t)}break}return h(RowValue,{name:camelCaseToWords(n),value:o})}))};var t=function(e,n){if(n.length===0){return null}return[h(RowValue,{name:e,value:""}),h(TableRowTable,null,n.map(a))]};return h(BasicExtension,{extension:n},h(RowValue,{name:camelCaseToWords("attestationVersion"),value:n.value.attestationVersion}),h(RowValue,{name:camelCaseToWords("attestationSecurityLevel"),value:n.value.attestationSecurityLevel}),h(RowValue,{name:camelCaseToWords("keymasterVersion"),value:n.value.keymasterVersion}),h(RowValue,{name:camelCaseToWords("keymasterSecurityLevel"),value:n.value.keymasterSecurityLevel}),h(RowValue,{name:camelCaseToWords("attestationChallenge"),value:buildExports.Convert.ToString(n.value.attestationChallenge)}),h(RowValue,{name:camelCaseToWords("uniqueId"),value:buildExports.Convert.ToString(n.value.uniqueId)||undefined}),t(camelCaseToWords("softwareEnforced"),n.value.softwareEnforced),t(camelCaseToWords("teeEnforced"),n.value.teeEnforced))};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var CabforganizationIdentifierExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},Object.keys(n.value).map((function(e){return h(RowValue,{name:camelCaseToWords(e),value:n.value[e]})})))};
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Extensions=function(e){var n=e.extensions,a=e.title;if(!n||!n.length){return null}return[h(RowTitle,{value:a||"Extensions"}),n.map((function(n){try{if(n.value instanceof KeyUsage){return h(KeyUsageExtension,{extension:n})}if(n.value instanceof BasicConstraints){return h(BasicConstraintsExtension,{extension:n})}if(n.value instanceof ExtendedKeyUsage){return h(ExtendedKeyUsageExtension,{extension:n})}if(n.value instanceof SubjectKeyIdentifier){return h(SubjectKeyIdentifierExtension,Object.assign({extension:n},e))}if(n.value instanceof AuthorityKeyIdentifier){return h(AuthorityKeyIdentifierExtension,Object.assign({extension:n},e))}if(n.value instanceof CRLDistributionPoints){return h(CRLDistributionPointsExtension,Object.assign({extension:n},e))}if(n.value instanceof AuthorityInfoAccessSyntax||n.value instanceof SubjectInfoAccessSyntax){return h(InfoAccessSyntaxExtension,Object.assign({extension:n},e))}if(n.value instanceof SubjectAlternativeName){return h(SubjectAlternativeNameExtension,Object.assign({extension:n},e))}if(n.value instanceof CertificatePolicies){return h(CertificatePoliciesExtension,{extension:n})}if(n.value instanceof CertificateTransparency){return h(CertificateTransparencyExtension,{extension:n})}if(n.value instanceof NameConstraints){return h(NameConstraintsExtension,Object.assign({extension:n},e))}if(n.value instanceof CertificateTemplate){return h(CertificateTemplateExtension,{extension:n})}if(n.value instanceof EnrollCertTypeChoice){return h(EnrollCertTypeChoiceExtension,{extension:n})}if(n.value instanceof CaVersion){return h(CaVersionExtension,{extension:n})}if(n.value instanceof QCStatements){return h(QCStatementsExtension,{extension:n})}if(n.value instanceof NetscapeComment){return h(NetscapeCommentExtension,{extension:n})}if(n.value instanceof NetscapeCertType){return h(NetscapeCertTypeExtension,{extension:n})}if(n.value instanceof LeiRole){return h(LeiRoleExtension,{extension:n})}if(n.value instanceof LeiChoice){return h(LeiExtension,Object.assign({extension:n},e))}if(n.value instanceof Timestamp){return h(TimestampExtension,Object.assign({extension:n},e))}if(n.value instanceof ArchiveRevInfo){return h(ArchiveRevInfoExtension,{extension:n})}if(n.value instanceof CRLReason){return h(CRLReasonExtension,{extension:n})}if(n.value instanceof SubjectDirectoryAttributes){return h(SubjectDirectoryAttributesExtension,{extension:n})}if(n.value instanceof PrivateKeyUsagePeriod){return h(PrivateKeyUsagePeriodExtension,{extension:n})}if(n.value instanceof EntrustVersionInfo){return h(EntrustVersionInfoExtension,{extension:n})}if(n.value instanceof BiometricSyntax){return h(BiometricSyntaxExtension,{extension:n})}if(n.value instanceof LogotypeExtn){return h(LogotypeExtension,{extension:n})}if(n.value instanceof TNAuthorizationList){return h(TNAuthListExtension,{extension:n})}if(n.value instanceof PolicyConstraints){return h(PolicyConstraintsExtension,{extension:n})}if(n.value instanceof PolicyMappings){return h(PolicyMappingsExtension,{extension:n})}if(n.value instanceof CRLNumber){return h(CRLNumberExtension,{extension:n})}if(n.value instanceof IssuingDistributionPoint){return h(IssuingDistributionPointExtension,Object.assign({extension:n},e))}if(n.value instanceof NonStandardKeyDescription){return h(KeyDescripti