@peculiar/certificates-viewer 3.3.0 → 3.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{certification_request-e1997ebf.js → certification_request-50ce61b3.js} +124 -146
- package/dist/cjs/{crl-f1ee43bc.js → crl-0c15e04a.js} +2 -2
- package/dist/cjs/{l10n-638a7577.js → l10n-4eaa5263.js} +1 -1
- package/dist/cjs/peculiar-attribute-certificate-viewer_3.cjs.entry.js +4 -4
- package/dist/cjs/peculiar-certificate-decoder.cjs.entry.js +4 -4
- package/dist/cjs/peculiar-certificate-summary_3.cjs.entry.js +1 -1
- package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js +4 -4
- package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js +3 -3
- package/dist/cjs/{public_key-ba538d77.js → public_key-2b73778a.js} +2 -2
- package/dist/cjs/{x509_certificate-42b478d2.js → x509_certificate-c94ce29e.js} +2 -2
- package/dist/collection/crypto/utils.js +5 -4
- package/dist/esm/{certification_request-5d982d92.js → certification_request-5b5c2fa2.js} +124 -146
- package/dist/esm/{crl-f2110716.js → crl-10d4db54.js} +2 -2
- package/dist/esm/l10n-116c79fa.js +163 -0
- package/dist/esm/peculiar-attribute-certificate-viewer_3.entry.js +4 -4
- package/dist/esm/peculiar-certificate-decoder.entry.js +4 -4
- package/dist/esm/peculiar-certificate-summary_3.entry.js +1 -1
- package/dist/esm/peculiar-certificate-viewer.entry.js +4 -4
- package/dist/esm/peculiar-certificates-viewer.entry.js +3 -3
- package/dist/esm/{public_key-0a3091a5.js → public_key-c1e6801e.js} +2 -2
- package/dist/esm/{x509_certificate-6b243207.js → x509_certificate-61126913.js} +2 -2
- package/dist/peculiar/{p-34e2d6be.entry.js → p-10aa0b03.entry.js} +2 -2
- package/dist/peculiar/{p-db6e24c6.js → p-309fdd02.js} +1 -1
- package/dist/peculiar/{p-86116b1f.entry.js → p-318a1e9f.entry.js} +1 -1
- package/dist/peculiar/{p-f8dc3232.js → p-53aac672.js} +1 -1
- package/dist/peculiar/{p-3aea9dde.js → p-5a898f51.js} +1 -1
- package/dist/peculiar/{p-49ab6f8c.entry.js → p-652f77d0.entry.js} +1 -1
- package/dist/peculiar/{p-e535a666.entry.js → p-7ef69178.entry.js} +1 -1
- package/dist/peculiar/{p-bce2bbe0.js → p-bbf0fd6c.js} +7 -7
- package/dist/peculiar/p-ed58acd0.js +12 -0
- package/dist/peculiar/{p-ca0c34ca.entry.js → p-ff867be1.entry.js} +1 -1
- package/dist/peculiar/peculiar.esm.js +1 -1
- package/package.json +19 -19
- package/dist/esm/l10n-da0dd100.js +0 -163
- package/dist/peculiar/p-35e7a514.js +0 -12
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { b as build, c as createCommonjsModule, a as commonjsGlobal } from './download-67ac9120.js';
|
|
5
|
-
import './l10n-
|
|
5
|
+
import './l10n-116c79fa.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* @license
|
|
@@ -3383,6 +3383,102 @@ var AsnPropTypes;
|
|
|
3383
3383
|
AsnPropTypes[AsnPropTypes["Null"] = 27] = "Null";
|
|
3384
3384
|
})(AsnPropTypes || (AsnPropTypes = {}));
|
|
3385
3385
|
|
|
3386
|
+
class BitString {
|
|
3387
|
+
constructor(params, unusedBits = 0) {
|
|
3388
|
+
this.unusedBits = 0;
|
|
3389
|
+
this.value = new ArrayBuffer(0);
|
|
3390
|
+
if (params) {
|
|
3391
|
+
if (typeof params === "number") {
|
|
3392
|
+
this.fromNumber(params);
|
|
3393
|
+
}
|
|
3394
|
+
else if (build.BufferSourceConverter.isBufferSource(params)) {
|
|
3395
|
+
this.unusedBits = unusedBits;
|
|
3396
|
+
this.value = build.BufferSourceConverter.toArrayBuffer(params);
|
|
3397
|
+
}
|
|
3398
|
+
else {
|
|
3399
|
+
throw TypeError("Unsupported type of 'params' argument for BitString");
|
|
3400
|
+
}
|
|
3401
|
+
}
|
|
3402
|
+
}
|
|
3403
|
+
fromASN(asn) {
|
|
3404
|
+
if (!(asn instanceof BitString$1)) {
|
|
3405
|
+
throw new TypeError("Argument 'asn' is not instance of ASN.1 BitString");
|
|
3406
|
+
}
|
|
3407
|
+
this.unusedBits = asn.valueBlock.unusedBits;
|
|
3408
|
+
this.value = asn.valueBlock.valueHex;
|
|
3409
|
+
return this;
|
|
3410
|
+
}
|
|
3411
|
+
toASN() {
|
|
3412
|
+
return new BitString$1({ unusedBits: this.unusedBits, valueHex: this.value });
|
|
3413
|
+
}
|
|
3414
|
+
toSchema(name) {
|
|
3415
|
+
return new BitString$1({ name });
|
|
3416
|
+
}
|
|
3417
|
+
toNumber() {
|
|
3418
|
+
let res = "";
|
|
3419
|
+
const uintArray = new Uint8Array(this.value);
|
|
3420
|
+
for (const octet of uintArray) {
|
|
3421
|
+
res += octet.toString(2).padStart(8, "0");
|
|
3422
|
+
}
|
|
3423
|
+
res = res.split("").reverse().join("");
|
|
3424
|
+
if (this.unusedBits) {
|
|
3425
|
+
res = res.slice(this.unusedBits).padStart(this.unusedBits, "0");
|
|
3426
|
+
}
|
|
3427
|
+
return parseInt(res, 2);
|
|
3428
|
+
}
|
|
3429
|
+
fromNumber(value) {
|
|
3430
|
+
let bits = value.toString(2);
|
|
3431
|
+
const octetSize = (bits.length + 7) >> 3;
|
|
3432
|
+
this.unusedBits = (octetSize << 3) - bits.length;
|
|
3433
|
+
const octets = new Uint8Array(octetSize);
|
|
3434
|
+
bits = bits.padStart(octetSize << 3, "0").split("").reverse().join("");
|
|
3435
|
+
let index = 0;
|
|
3436
|
+
while (index < octetSize) {
|
|
3437
|
+
octets[index] = parseInt(bits.slice(index << 3, (index << 3) + 8), 2);
|
|
3438
|
+
index++;
|
|
3439
|
+
}
|
|
3440
|
+
this.value = octets.buffer;
|
|
3441
|
+
}
|
|
3442
|
+
}
|
|
3443
|
+
|
|
3444
|
+
class OctetString {
|
|
3445
|
+
constructor(param) {
|
|
3446
|
+
if (typeof param === "number") {
|
|
3447
|
+
this.buffer = new ArrayBuffer(param);
|
|
3448
|
+
}
|
|
3449
|
+
else {
|
|
3450
|
+
if (build.BufferSourceConverter.isBufferSource(param)) {
|
|
3451
|
+
this.buffer = build.BufferSourceConverter.toArrayBuffer(param);
|
|
3452
|
+
}
|
|
3453
|
+
else if (Array.isArray(param)) {
|
|
3454
|
+
this.buffer = new Uint8Array(param);
|
|
3455
|
+
}
|
|
3456
|
+
else {
|
|
3457
|
+
this.buffer = new ArrayBuffer(0);
|
|
3458
|
+
}
|
|
3459
|
+
}
|
|
3460
|
+
}
|
|
3461
|
+
get byteLength() {
|
|
3462
|
+
return this.buffer.byteLength;
|
|
3463
|
+
}
|
|
3464
|
+
get byteOffset() {
|
|
3465
|
+
return 0;
|
|
3466
|
+
}
|
|
3467
|
+
fromASN(asn) {
|
|
3468
|
+
if (!(asn instanceof OctetString$1)) {
|
|
3469
|
+
throw new TypeError("Argument 'asn' is not instance of ASN.1 OctetString");
|
|
3470
|
+
}
|
|
3471
|
+
this.buffer = asn.valueBlock.valueHex;
|
|
3472
|
+
return this;
|
|
3473
|
+
}
|
|
3474
|
+
toASN() {
|
|
3475
|
+
return new OctetString$1({ valueHex: this.buffer });
|
|
3476
|
+
}
|
|
3477
|
+
toSchema(name) {
|
|
3478
|
+
return new OctetString$1({ name });
|
|
3479
|
+
}
|
|
3480
|
+
}
|
|
3481
|
+
|
|
3386
3482
|
const AsnAnyConverter = {
|
|
3387
3483
|
fromASN: (value) => value instanceof Null ? null : value.valueBeforeDecodeView,
|
|
3388
3484
|
toASN: (value) => {
|
|
@@ -3426,6 +3522,10 @@ const AsnOctetStringConverter = {
|
|
|
3426
3522
|
fromASN: (value) => value.valueBlock.valueHexView,
|
|
3427
3523
|
toASN: (value) => new OctetString$1({ valueHex: value }),
|
|
3428
3524
|
};
|
|
3525
|
+
const AsnConstructedOctetStringConverter = {
|
|
3526
|
+
fromASN: (value) => new OctetString(value.getValue()),
|
|
3527
|
+
toASN: (value) => value.toASN(),
|
|
3528
|
+
};
|
|
3429
3529
|
function createStringConverter(Asn1Type) {
|
|
3430
3530
|
return {
|
|
3431
3531
|
fromASN: (value) => value.valueBlock.value,
|
|
@@ -3509,102 +3609,6 @@ function defaultConverter(type) {
|
|
|
3509
3609
|
}
|
|
3510
3610
|
}
|
|
3511
3611
|
|
|
3512
|
-
class BitString {
|
|
3513
|
-
constructor(params, unusedBits = 0) {
|
|
3514
|
-
this.unusedBits = 0;
|
|
3515
|
-
this.value = new ArrayBuffer(0);
|
|
3516
|
-
if (params) {
|
|
3517
|
-
if (typeof params === "number") {
|
|
3518
|
-
this.fromNumber(params);
|
|
3519
|
-
}
|
|
3520
|
-
else if (build.BufferSourceConverter.isBufferSource(params)) {
|
|
3521
|
-
this.unusedBits = unusedBits;
|
|
3522
|
-
this.value = build.BufferSourceConverter.toArrayBuffer(params);
|
|
3523
|
-
}
|
|
3524
|
-
else {
|
|
3525
|
-
throw TypeError("Unsupported type of 'params' argument for BitString");
|
|
3526
|
-
}
|
|
3527
|
-
}
|
|
3528
|
-
}
|
|
3529
|
-
fromASN(asn) {
|
|
3530
|
-
if (!(asn instanceof BitString$1)) {
|
|
3531
|
-
throw new TypeError("Argument 'asn' is not instance of ASN.1 BitString");
|
|
3532
|
-
}
|
|
3533
|
-
this.unusedBits = asn.valueBlock.unusedBits;
|
|
3534
|
-
this.value = asn.valueBlock.valueHex;
|
|
3535
|
-
return this;
|
|
3536
|
-
}
|
|
3537
|
-
toASN() {
|
|
3538
|
-
return new BitString$1({ unusedBits: this.unusedBits, valueHex: this.value });
|
|
3539
|
-
}
|
|
3540
|
-
toSchema(name) {
|
|
3541
|
-
return new BitString$1({ name });
|
|
3542
|
-
}
|
|
3543
|
-
toNumber() {
|
|
3544
|
-
let res = "";
|
|
3545
|
-
const uintArray = new Uint8Array(this.value);
|
|
3546
|
-
for (const octet of uintArray) {
|
|
3547
|
-
res += octet.toString(2).padStart(8, "0");
|
|
3548
|
-
}
|
|
3549
|
-
res = res.split("").reverse().join("");
|
|
3550
|
-
if (this.unusedBits) {
|
|
3551
|
-
res = res.slice(this.unusedBits).padStart(this.unusedBits, "0");
|
|
3552
|
-
}
|
|
3553
|
-
return parseInt(res, 2);
|
|
3554
|
-
}
|
|
3555
|
-
fromNumber(value) {
|
|
3556
|
-
let bits = value.toString(2);
|
|
3557
|
-
const octetSize = (bits.length + 7) >> 3;
|
|
3558
|
-
this.unusedBits = (octetSize << 3) - bits.length;
|
|
3559
|
-
const octets = new Uint8Array(octetSize);
|
|
3560
|
-
bits = bits.padStart(octetSize << 3, "0").split("").reverse().join("");
|
|
3561
|
-
let index = 0;
|
|
3562
|
-
while (index < octetSize) {
|
|
3563
|
-
octets[index] = parseInt(bits.slice(index << 3, (index << 3) + 8), 2);
|
|
3564
|
-
index++;
|
|
3565
|
-
}
|
|
3566
|
-
this.value = octets.buffer;
|
|
3567
|
-
}
|
|
3568
|
-
}
|
|
3569
|
-
|
|
3570
|
-
class OctetString {
|
|
3571
|
-
constructor(param) {
|
|
3572
|
-
if (typeof param === "number") {
|
|
3573
|
-
this.buffer = new ArrayBuffer(param);
|
|
3574
|
-
}
|
|
3575
|
-
else {
|
|
3576
|
-
if (build.BufferSourceConverter.isBufferSource(param)) {
|
|
3577
|
-
this.buffer = build.BufferSourceConverter.toArrayBuffer(param);
|
|
3578
|
-
}
|
|
3579
|
-
else if (Array.isArray(param)) {
|
|
3580
|
-
this.buffer = new Uint8Array(param);
|
|
3581
|
-
}
|
|
3582
|
-
else {
|
|
3583
|
-
this.buffer = new ArrayBuffer(0);
|
|
3584
|
-
}
|
|
3585
|
-
}
|
|
3586
|
-
}
|
|
3587
|
-
get byteLength() {
|
|
3588
|
-
return this.buffer.byteLength;
|
|
3589
|
-
}
|
|
3590
|
-
get byteOffset() {
|
|
3591
|
-
return 0;
|
|
3592
|
-
}
|
|
3593
|
-
fromASN(asn) {
|
|
3594
|
-
if (!(asn instanceof OctetString$1)) {
|
|
3595
|
-
throw new TypeError("Argument 'asn' is not instance of ASN.1 OctetString");
|
|
3596
|
-
}
|
|
3597
|
-
this.buffer = asn.valueBlock.valueHex;
|
|
3598
|
-
return this;
|
|
3599
|
-
}
|
|
3600
|
-
toASN() {
|
|
3601
|
-
return new OctetString$1({ valueHex: this.buffer });
|
|
3602
|
-
}
|
|
3603
|
-
toSchema(name) {
|
|
3604
|
-
return new OctetString$1({ name });
|
|
3605
|
-
}
|
|
3606
|
-
}
|
|
3607
|
-
|
|
3608
3612
|
function isConvertible(target) {
|
|
3609
3613
|
if (typeof target === "function" && target.prototype) {
|
|
3610
3614
|
if (target.prototype.toASN && target.prototype.fromASN) {
|
|
@@ -3794,7 +3798,7 @@ class AsnSchemaStorage {
|
|
|
3794
3798
|
return this;
|
|
3795
3799
|
}
|
|
3796
3800
|
findParentSchema(target) {
|
|
3797
|
-
const parent = target
|
|
3801
|
+
const parent = Object.getPrototypeOf(target);
|
|
3798
3802
|
if (parent) {
|
|
3799
3803
|
const schema = this.items.get(parent);
|
|
3800
3804
|
return schema || this.findParentSchema(parent);
|
|
@@ -6070,11 +6074,14 @@ __decorate([
|
|
|
6070
6074
|
let Time = class Time {
|
|
6071
6075
|
constructor(time) {
|
|
6072
6076
|
if (time) {
|
|
6073
|
-
if (typeof time === "string" || typeof time === "number") {
|
|
6074
|
-
|
|
6075
|
-
|
|
6076
|
-
|
|
6077
|
-
|
|
6077
|
+
if (typeof time === "string" || typeof time === "number" || time instanceof Date) {
|
|
6078
|
+
const date = new Date(time);
|
|
6079
|
+
if (date.getUTCFullYear() > 2049) {
|
|
6080
|
+
this.generalTime = date;
|
|
6081
|
+
}
|
|
6082
|
+
else {
|
|
6083
|
+
this.utcTime = date;
|
|
6084
|
+
}
|
|
6078
6085
|
}
|
|
6079
6086
|
else {
|
|
6080
6087
|
Object.assign(this, time);
|
|
@@ -10235,10 +10242,11 @@ class CryptoProvider {
|
|
|
10235
10242
|
CryptoProvider.DEFAULT = 'default';
|
|
10236
10243
|
const cryptoProvider = new CryptoProvider();
|
|
10237
10244
|
|
|
10238
|
-
const
|
|
10239
|
-
|
|
10240
|
-
.
|
|
10241
|
-
|
|
10245
|
+
const base64Re = /-----BEGIN [^-]+-----([A-Za-z0-9+/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+/=\s]+)====/;
|
|
10246
|
+
const base64Clarify = (base64) => {
|
|
10247
|
+
const execArray = base64Re.exec(base64);
|
|
10248
|
+
return execArray ? (execArray[1] || execArray[2]) : base64;
|
|
10249
|
+
};
|
|
10242
10250
|
const hexFormat = (hex) => (hex
|
|
10243
10251
|
.replace(/(.{32})/g, '$1\n')
|
|
10244
10252
|
.replace(/(.{4})/g, '$1 ')
|
|
@@ -10965,15 +10973,15 @@ let EncryptedContent = class EncryptedContent {
|
|
|
10965
10973
|
}
|
|
10966
10974
|
};
|
|
10967
10975
|
__decorate([
|
|
10968
|
-
AsnProp({ type: OctetString })
|
|
10969
|
-
], EncryptedContent.prototype, "
|
|
10976
|
+
AsnProp({ type: OctetString, context: 0, implicit: true, optional: true })
|
|
10977
|
+
], EncryptedContent.prototype, "value", void 0);
|
|
10970
10978
|
__decorate([
|
|
10971
|
-
AsnProp({ type:
|
|
10972
|
-
], EncryptedContent.prototype, "
|
|
10979
|
+
AsnProp({ type: OctetString, converter: AsnConstructedOctetStringConverter, context: 0, implicit: true, optional: true, repeated: "sequence" })
|
|
10980
|
+
], EncryptedContent.prototype, "constructedValue", void 0);
|
|
10973
10981
|
EncryptedContent = __decorate([
|
|
10974
10982
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
10975
10983
|
], EncryptedContent);
|
|
10976
|
-
class
|
|
10984
|
+
class EncryptedContentInfo {
|
|
10977
10985
|
constructor(params = {}) {
|
|
10978
10986
|
this.contentType = "";
|
|
10979
10987
|
this.contentEncryptionAlgorithm = new ContentEncryptionAlgorithmIdentifier();
|
|
@@ -10982,43 +10990,13 @@ class ImplicitEncryptedContentInfo {
|
|
|
10982
10990
|
}
|
|
10983
10991
|
__decorate([
|
|
10984
10992
|
AsnProp({ type: AsnPropTypes.ObjectIdentifier })
|
|
10985
|
-
],
|
|
10993
|
+
], EncryptedContentInfo.prototype, "contentType", void 0);
|
|
10986
10994
|
__decorate([
|
|
10987
10995
|
AsnProp({ type: ContentEncryptionAlgorithmIdentifier })
|
|
10988
|
-
],
|
|
10996
|
+
], EncryptedContentInfo.prototype, "contentEncryptionAlgorithm", void 0);
|
|
10989
10997
|
__decorate([
|
|
10990
|
-
AsnProp({ type:
|
|
10991
|
-
],
|
|
10992
|
-
class ExplicitEncryptedContentInfo {
|
|
10993
|
-
constructor(params = {}) {
|
|
10994
|
-
this.contentType = "";
|
|
10995
|
-
this.contentEncryptionAlgorithm = new ContentEncryptionAlgorithmIdentifier();
|
|
10996
|
-
Object.assign(this, params);
|
|
10997
|
-
}
|
|
10998
|
-
}
|
|
10999
|
-
__decorate([
|
|
11000
|
-
AsnProp({ type: AsnPropTypes.ObjectIdentifier })
|
|
11001
|
-
], ExplicitEncryptedContentInfo.prototype, "contentType", void 0);
|
|
11002
|
-
__decorate([
|
|
11003
|
-
AsnProp({ type: ContentEncryptionAlgorithmIdentifier })
|
|
11004
|
-
], ExplicitEncryptedContentInfo.prototype, "contentEncryptionAlgorithm", void 0);
|
|
11005
|
-
__decorate([
|
|
11006
|
-
AsnProp({ type: EncryptedContent, context: 0, optional: true })
|
|
11007
|
-
], ExplicitEncryptedContentInfo.prototype, "encryptedContent", void 0);
|
|
11008
|
-
let EncryptedContentInfo = class EncryptedContentInfo {
|
|
11009
|
-
constructor(params = {}) {
|
|
11010
|
-
Object.assign(this, params);
|
|
11011
|
-
}
|
|
11012
|
-
};
|
|
11013
|
-
__decorate([
|
|
11014
|
-
AsnProp({ type: ImplicitEncryptedContentInfo, optional: true })
|
|
11015
|
-
], EncryptedContentInfo.prototype, "implicitEncryptedContentInfo", void 0);
|
|
11016
|
-
__decorate([
|
|
11017
|
-
AsnProp({ type: ExplicitEncryptedContentInfo, optional: true })
|
|
11018
|
-
], EncryptedContentInfo.prototype, "explicitEncryptedContentInfo", void 0);
|
|
11019
|
-
EncryptedContentInfo = __decorate([
|
|
11020
|
-
AsnType({ type: AsnTypeTypes.Choice })
|
|
11021
|
-
], EncryptedContentInfo);
|
|
10998
|
+
AsnProp({ type: EncryptedContent, optional: true })
|
|
10999
|
+
], EncryptedContentInfo.prototype, "encryptedContent", void 0);
|
|
11022
11000
|
|
|
11023
11001
|
class IssuerAndSerialNumber {
|
|
11024
11002
|
constructor(params = {}) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { A as AsnData, n as Attribute$1, o as id_pkcs9_at_extensionRequest, p as AsnParser, q as ExtensionRequest, E as Extension, f as AsnConvert, r as id_pkcs9_at_unstructuredName, U as UnstructuredName, s as id_pkcs9_at_challengePassword, t as ChallengePassword, u as id_ValuationRanking, V as ValuationRanking, v as id_InsuranceValue, I as InsuranceValue, w as id_WebGDPR, W as WebGDPR, x as id_ActivityDescription, y as ActivityDescription, z as id_TypeRelationship, T as TypeRelationship, B as id_DomainNameTechnicalOperator, D as DomainNameTechnicalOperator, F as id_DomainNameOwner, G as DomainNameOwner, H as id_DomainNameLegalRepresentative, J as DomainNameLegalRepresentative, K as id_DomainNameBeneficiary, L as DomainNameBeneficiary, e as certificateRawToBuffer, M as AttributeCertificate, m as getCertificateThumbprint, k as hexFormat, l as base64Format, O as CertificationRequest, N as Name, g as id_ecPublicKey, h as ECParameters, j as id_rsaEncryption, R as RSAPublicKey, P as CertificateList } from './certification_request-
|
|
4
|
+
import { A as AsnData, n as Attribute$1, o as id_pkcs9_at_extensionRequest, p as AsnParser, q as ExtensionRequest, E as Extension, f as AsnConvert, r as id_pkcs9_at_unstructuredName, U as UnstructuredName, s as id_pkcs9_at_challengePassword, t as ChallengePassword, u as id_ValuationRanking, V as ValuationRanking, v as id_InsuranceValue, I as InsuranceValue, w as id_WebGDPR, W as WebGDPR, x as id_ActivityDescription, y as ActivityDescription, z as id_TypeRelationship, T as TypeRelationship, B as id_DomainNameTechnicalOperator, D as DomainNameTechnicalOperator, F as id_DomainNameOwner, G as DomainNameOwner, H as id_DomainNameLegalRepresentative, J as DomainNameLegalRepresentative, K as id_DomainNameBeneficiary, L as DomainNameBeneficiary, e as certificateRawToBuffer, M as AttributeCertificate, m as getCertificateThumbprint, k as hexFormat, l as base64Format, O as CertificationRequest, N as Name, g as id_ecPublicKey, h as ECParameters, j as id_rsaEncryption, R as RSAPublicKey, P as CertificateList } from './certification_request-5b5c2fa2.js';
|
|
5
5
|
import { b as build, D as Download } from './download-67ac9120.js';
|
|
6
|
-
import { d as dateDiff } from './l10n-
|
|
6
|
+
import { d as dateDiff } from './l10n-116c79fa.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* @license
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import { c as createCommonjsModule, a as commonjsGlobal } from './download-67ac9120.js';
|
|
5
|
+
|
|
6
|
+
var dayjs_min = createCommonjsModule(function (module, exports) {
|
|
7
|
+
!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",l="Invalid Date",$=/^(\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("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return "["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},m=function(t,e,n){var r=String(t);return !r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},v={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}},g="en",D={};D[g]=M;var p=function(t){return t instanceof _},S=function t(e,n,r){var i;if(!e)return g;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&&(g=i),i||!r&&g},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=v;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($);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()===l)},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),l=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)},$=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,v="set"+(this.$u?"UTC":"");switch(h){case c:return r?l(1,0):l(31,11);case f:return r?l(1,M):l(0,M+1);case o:var g=this.$locale().weekStart||0,D=(y<g?y+7:y)-g;return l(r?m-D:m+(6-D),M);case a:case d:return $(v+"Hours",0);case u:return $(v+"Minutes",1);case s:return $(v+"Seconds",2);case i:return $(v+"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":""),l=(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],$=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 l&&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,l=this;r=Number(r);var $=O.p(h),y=function(t){var e=w(l);return O.w(e.date(e.date()+Math.round(t*r)),l)};if($===f)return this.set(f,this.$M+r);if($===c)return this.set(c,this.$y+r);if($===a)return y(1);if($===o)return y(7);var M=(d={},d[s]=e,d[u]=n,d[i]=t,d)[$]||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||l;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},$={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||$[t]||i.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,d,l){var $,y=O.p(d),M=w(r),m=(M.utcOffset()-this.utcOffset())*e,v=this-M,g=O.m(this,M);return g=($={},$[c]=g/12,$[f]=g,$[h]=g/3,$[o]=(v-m)/6048e5,$[a]=(v-m)/864e5,$[u]=v/n,$[s]=v/e,$[i]=v/t,$)[y]||v,l?g:O.a(g)},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[g],w.Ls=D,w.p={},w}));
|
|
8
|
+
});
|
|
9
|
+
|
|
10
|
+
var relativeTime = createCommonjsModule(function (module, exports) {
|
|
11
|
+
!function(r,e){module.exports=e();}(commonjsGlobal,(function(){return function(r,e,t){r=r||{};var n=e.prototype,o={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function i(r,e,t,o){return n.fromToBase(r,e,t,o)}t.en.relativeTime=o,n.fromToBase=function(e,n,i,d,u){for(var f,a,s,l=i.$locale().relativeTime||o,h=r.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],m=h.length,c=0;c<m;c+=1){var y=h[c];y.d&&(f=d?t(e).diff(i,y.d,!0):i.diff(e,y.d,!0));var p=(r.rounding||Math.round)(Math.abs(f));if(s=f>0,p<=y.r||!y.r){p<=1&&c>0&&(y=h[c-1]);var v=l[y.l];u&&(p=u(""+p)),a="string"==typeof v?v.replace("%d",p):v(p,n,y.l,s);break}}if(n)return a;var M=s?l.future:l.past;return "function"==typeof M?M(a):M.replace("%s",a)},n.to=function(r,e){return i(r,e,this,!0)},n.from=function(r,e){return i(r,e,this)};var d=function(r){return r.$u?t.utc():t()};n.toNow=function(r){return this.to(d(this),r)},n.fromNow=function(r){return this.from(d(this),r)};}}));
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* @license
|
|
16
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
17
|
+
*
|
|
18
|
+
* This source code is licensed under the MIT license found in the
|
|
19
|
+
* LICENSE file in the root directory of this source tree.
|
|
20
|
+
*/
|
|
21
|
+
dayjs_min.extend(relativeTime);
|
|
22
|
+
const dateShort = (date) => (new Date(date).toUTCString());
|
|
23
|
+
const dateDiff = (dateStart, dateEnd) => {
|
|
24
|
+
if (!dateStart || !dateEnd) {
|
|
25
|
+
return '';
|
|
26
|
+
}
|
|
27
|
+
const start = dayjs_min(dateStart);
|
|
28
|
+
const end = dayjs_min(dateEnd);
|
|
29
|
+
return start.to(end, true);
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
const basicInformation = "Basic Information";
|
|
33
|
+
const subjectName = "Subject Name";
|
|
34
|
+
const issuerName = "Issuer Name";
|
|
35
|
+
const publicKeyInfo = "Public Key Info";
|
|
36
|
+
const signature = "Signature";
|
|
37
|
+
const extensions = "Extensions";
|
|
38
|
+
const miscellaneous = "Miscellaneous";
|
|
39
|
+
const download = "Download";
|
|
40
|
+
const serialNumber = "Serial Number";
|
|
41
|
+
const version = "Version";
|
|
42
|
+
const validity = "Validity";
|
|
43
|
+
const issued = "Issued";
|
|
44
|
+
const expired = "Expired";
|
|
45
|
+
const lastUpdate = "Last Update";
|
|
46
|
+
const nextUpdate = "Next Update";
|
|
47
|
+
const algorithm = "Algorithm";
|
|
48
|
+
const namedCurve = "Named Curve";
|
|
49
|
+
const exponent = "Exponent";
|
|
50
|
+
const modulus = "Modulus";
|
|
51
|
+
const value = "Value";
|
|
52
|
+
const valid = "Valid";
|
|
53
|
+
const revoked = "Revoked";
|
|
54
|
+
const issuer = "Issuer";
|
|
55
|
+
const name = "Name";
|
|
56
|
+
const publicKey = "Public Key";
|
|
57
|
+
const fingerprint = "Fingerprint";
|
|
58
|
+
const fingerprints = "Fingerprints";
|
|
59
|
+
const actions = "Actions";
|
|
60
|
+
const details = "Details";
|
|
61
|
+
const testURLs = "Test URLs";
|
|
62
|
+
const certificateDetails = "Certificate Details";
|
|
63
|
+
const holder = "Holder";
|
|
64
|
+
const digestInfo = "Digest Info";
|
|
65
|
+
const type = "Type";
|
|
66
|
+
const revokedCertificates = "Revoked Certificates";
|
|
67
|
+
const revocation = "Revocation";
|
|
68
|
+
const yes = "Yes";
|
|
69
|
+
const no = "No";
|
|
70
|
+
const onlyUserCertificates = "Only User Certificates";
|
|
71
|
+
const onlyAttributeCertificates = "Only Attribute Certificates";
|
|
72
|
+
const onlyCACertificates = "Only CA Certificates";
|
|
73
|
+
const indirectCRL = "Indirect CRL";
|
|
74
|
+
const onlyReasons = "Only Reasons";
|
|
75
|
+
const en = {
|
|
76
|
+
basicInformation: basicInformation,
|
|
77
|
+
subjectName: subjectName,
|
|
78
|
+
issuerName: issuerName,
|
|
79
|
+
publicKeyInfo: publicKeyInfo,
|
|
80
|
+
signature: signature,
|
|
81
|
+
extensions: extensions,
|
|
82
|
+
miscellaneous: miscellaneous,
|
|
83
|
+
download: download,
|
|
84
|
+
"download.pem": "Download PEM",
|
|
85
|
+
"download.der": "Download DER",
|
|
86
|
+
serialNumber: serialNumber,
|
|
87
|
+
version: version,
|
|
88
|
+
validity: validity,
|
|
89
|
+
issued: issued,
|
|
90
|
+
expired: expired,
|
|
91
|
+
lastUpdate: lastUpdate,
|
|
92
|
+
nextUpdate: nextUpdate,
|
|
93
|
+
algorithm: algorithm,
|
|
94
|
+
namedCurve: namedCurve,
|
|
95
|
+
exponent: exponent,
|
|
96
|
+
modulus: modulus,
|
|
97
|
+
value: value,
|
|
98
|
+
valid: valid,
|
|
99
|
+
revoked: revoked,
|
|
100
|
+
issuer: issuer,
|
|
101
|
+
name: name,
|
|
102
|
+
publicKey: publicKey,
|
|
103
|
+
fingerprint: fingerprint,
|
|
104
|
+
fingerprints: fingerprints,
|
|
105
|
+
actions: actions,
|
|
106
|
+
details: details,
|
|
107
|
+
testURLs: testURLs,
|
|
108
|
+
certificateDetails: certificateDetails,
|
|
109
|
+
holder: holder,
|
|
110
|
+
digestInfo: digestInfo,
|
|
111
|
+
type: type,
|
|
112
|
+
revokedCertificates: revokedCertificates,
|
|
113
|
+
revocation: revocation,
|
|
114
|
+
yes: yes,
|
|
115
|
+
no: no,
|
|
116
|
+
onlyUserCertificates: onlyUserCertificates,
|
|
117
|
+
onlyAttributeCertificates: onlyAttributeCertificates,
|
|
118
|
+
onlyCACertificates: onlyCACertificates,
|
|
119
|
+
indirectCRL: indirectCRL,
|
|
120
|
+
onlyReasons: onlyReasons
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* @license
|
|
125
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
126
|
+
*
|
|
127
|
+
* This source code is licensed under the MIT license found in the
|
|
128
|
+
* LICENSE file in the root directory of this source tree.
|
|
129
|
+
*/
|
|
130
|
+
const MESSAGES_ALL = {
|
|
131
|
+
en,
|
|
132
|
+
};
|
|
133
|
+
class Localization {
|
|
134
|
+
constructor() {
|
|
135
|
+
this.setLocale = (locale) => {
|
|
136
|
+
this.locale = locale && MESSAGES_ALL[locale] ? locale : 'en';
|
|
137
|
+
};
|
|
138
|
+
this.getLocale = () => this.locale;
|
|
139
|
+
const language = window.navigator.language.slice(0, 2).toLowerCase();
|
|
140
|
+
this.setLocale(language);
|
|
141
|
+
}
|
|
142
|
+
getString(id, replacer) {
|
|
143
|
+
const value = MESSAGES_ALL[this.locale][id];
|
|
144
|
+
if (!value) {
|
|
145
|
+
return '';
|
|
146
|
+
}
|
|
147
|
+
if (!replacer) {
|
|
148
|
+
return value;
|
|
149
|
+
}
|
|
150
|
+
const splitted = value.split(replacer.pattern);
|
|
151
|
+
if (splitted.length > 1) {
|
|
152
|
+
return [
|
|
153
|
+
splitted[0],
|
|
154
|
+
replacer.replacer,
|
|
155
|
+
splitted[1],
|
|
156
|
+
];
|
|
157
|
+
}
|
|
158
|
+
return value;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
const l10n = new Localization();
|
|
162
|
+
|
|
163
|
+
export { dateShort as a, dateDiff as d, l10n as l };
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { h, r as registerInstance, H as Host } from './index-bbd484d9.js';
|
|
5
|
-
import { Q as OIDs, S as Name, y as ActivityDescription, W as WebGDPR, I as InsuranceValue, T as TypeRelationship, V as ValuationRanking, U as UnstructuredName, t as ChallengePassword } from './certification_request-
|
|
5
|
+
import { Q as OIDs, S as Name, y as ActivityDescription, W as WebGDPR, I as InsuranceValue, T as TypeRelationship, V as ValuationRanking, U as UnstructuredName, t as ChallengePassword } from './certification_request-5b5c2fa2.js';
|
|
6
6
|
import { b as build } from './download-67ac9120.js';
|
|
7
|
-
import { l as l10n, a as dateShort } from './l10n-
|
|
8
|
-
import { X as X509AttributeCertificate, a as CRL, C as CSR } from './crl-
|
|
9
|
-
import { g as getStringByOID, R as RowValue, G as GeneralNamePart, a as RowTitle, B as BasicInformation, S as Signature, T as Thumbprints, b as getLEILink, c as getDNSNameLink, d as getIPAddressLink, E as Extensions, M as Miscellaneous, I as IssuerName, e as SubjectName, P as PublicKey } from './public_key-
|
|
7
|
+
import { l as l10n, a as dateShort } from './l10n-116c79fa.js';
|
|
8
|
+
import { X as X509AttributeCertificate, a as CRL, C as CSR } from './crl-10d4db54.js';
|
|
9
|
+
import { g as getStringByOID, R as RowValue, G as GeneralNamePart, a as RowTitle, B as BasicInformation, S as Signature, T as Thumbprints, b as getLEILink, c as getDNSNameLink, d as getIPAddressLink, E as Extensions, M as Miscellaneous, I as IssuerName, e as SubjectName, P as PublicKey } from './public_key-c1e6801e.js';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* @license
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-bbd484d9.js';
|
|
5
|
-
import { i as isPem, a as isX509Pem, b as isPkcs10Pem, c as isX509AttributePem, d as isX509CRLPem } from './certification_request-
|
|
6
|
-
import './l10n-
|
|
5
|
+
import { i as isPem, a as isX509Pem, b as isPkcs10Pem, c as isX509AttributePem, d as isX509CRLPem } from './certification_request-5b5c2fa2.js';
|
|
6
|
+
import './l10n-116c79fa.js';
|
|
7
7
|
import './download-67ac9120.js';
|
|
8
|
-
import { X as X509Certificate } from './x509_certificate-
|
|
9
|
-
import { X as X509AttributeCertificate, C as CSR, a as CRL } from './crl-
|
|
8
|
+
import { X as X509Certificate } from './x509_certificate-61126913.js';
|
|
9
|
+
import { X as X509AttributeCertificate, C as CSR, a as CRL } from './crl-10d4db54.js';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* @license
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-bbd484d9.js';
|
|
5
|
-
import { l as l10n, a as dateShort } from './l10n-
|
|
5
|
+
import { l as l10n, a as dateShort } from './l10n-116c79fa.js';
|
|
6
6
|
import './download-67ac9120.js';
|
|
7
7
|
|
|
8
8
|
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%}}";
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { r as registerInstance, h, H as Host } from './index-bbd484d9.js';
|
|
5
|
-
import { X as X509Certificate } from './x509_certificate-
|
|
6
|
-
import './certification_request-
|
|
5
|
+
import { X as X509Certificate } from './x509_certificate-61126913.js';
|
|
6
|
+
import './certification_request-5b5c2fa2.js';
|
|
7
7
|
import './download-67ac9120.js';
|
|
8
|
-
import './l10n-
|
|
9
|
-
import { B as BasicInformation, e as SubjectName, I as IssuerName, P as PublicKey, S as Signature, T as Thumbprints, E as Extensions, b as getLEILink, c as getDNSNameLink, d as getIPAddressLink, M as Miscellaneous } from './public_key-
|
|
8
|
+
import './l10n-116c79fa.js';
|
|
9
|
+
import { B as BasicInformation, e as SubjectName, I as IssuerName, P as PublicKey, S as Signature, T as Thumbprints, E as Extensions, b as getLEILink, c as getDNSNameLink, d as getIPAddressLink, M as Miscellaneous } from './public_key-c1e6801e.js';
|
|
10
10
|
|
|
11
11
|
const certificateViewerCss = ":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;position:relative;min-width:280px;min-height:300px;background:white;background:rgba(var(--pv-color-light-rgb), 1)}th,td{border:none}table{width:100%;margin-bottom:30px;border-spacing:0;border-collapse:collapse}table .title td{border-color:rgba(209, 213, 217, 0.5);border-color:rgba(var(--pv-color-grey_3-rgb), 0.5);padding-top:60px;padding-bottom:15px;border-bottom-width:1px;border-bottom-style:solid}table td:first-child{padding-left:30px;width:130px;padding-right:10px}table td:last-child{padding-right:30px;width:calc(100% - 130px)}table td{vertical-align:top;padding-top:5px;padding-bottom:5px}table td.vertical_align_middle{vertical-align:middle}table .title:first-child td{padding-top:15px}table .title+tr td{padding-top:15px}table td.monospace{max-width:0}table .divider{padding-top:15px;padding-bottom:15px}.divider .bg_fill{background-color:rgba(209, 213, 217, 0.5);background-color:rgba(var(--pv-color-grey_3-rgb), 0.5)}table tr:last-child .divider{padding-top:0;opacity:0}.divider span{display:block;height:1px}.status_wrapper{min-height:inherit;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.interaction_text{padding:15px 0;width:300px;margin:auto;text-align:center}@media (max-width: 900px){table,tr,td{display:block}table td:last-child,table td:first-child{padding-right:15px;padding-left:15px;width:100%}table .title+tr td{padding-top:5px}table .title+tr td:first-child{padding-top:15px}table td.monospace{width:100%;max-width:none}}:host([data-view=mobile]) table,:host([data-view=mobile]) tr,:host([data-view=mobile]) td{display:block}:host([data-view=mobile]) table td:last-child,:host([data-view=mobile]) table td:first-child{padding-right:15px;padding-left:15px;width:100%}:host([data-view=mobile]) table .title+tr td{padding-top:5px}:host([data-view=mobile]) table .title+tr td:first-child{padding-top:15px}:host([data-view=mobile]) table td.monospace{width:100%;max-width:none}";
|
|
12
12
|
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-bbd484d9.js';
|
|
5
|
-
import { X as X509Certificate } from './x509_certificate-
|
|
6
|
-
import { Q as OIDs } from './certification_request-
|
|
5
|
+
import { X as X509Certificate } from './x509_certificate-61126913.js';
|
|
6
|
+
import { Q as OIDs } from './certification_request-5b5c2fa2.js';
|
|
7
7
|
import './download-67ac9120.js';
|
|
8
|
-
import { l as l10n } from './l10n-
|
|
8
|
+
import { l as l10n } from './l10n-116c79fa.js';
|
|
9
9
|
|
|
10
10
|
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::-webkit-input-placeholder{color:#d1d5d9;color:rgba(var(--pv-color-grey_3-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::-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}}";
|
|
11
11
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { h } from './index-bbd484d9.js';
|
|
5
5
|
import { b as build } from './download-67ac9120.js';
|
|
6
|
-
import { l as l10n, a as dateShort } from './l10n-
|
|
7
|
-
import { Q as OIDs, S as Name, X as OtherName, p as AsnParser, Y as DisplayText, Z as UserNotice, _ as EDIPartyName, $ as AsnIntegerArrayBufferConverter, a0 as KeyUsage, a1 as BasicConstraints, a2 as ExtendedKeyUsage, a3 as SubjectKeyIdentifier, a4 as AuthorityKeyIdentifier, a5 as CRLDistributionPoints, a6 as AuthorityInfoAccessSyntax, a7 as SubjectInfoAccessSyntax, a8 as SubjectAlternativeName, a9 as CertificatePolicies, aa as CertificateTransparency, ab as NameConstraints, ac as CertificateTemplate, ad as EnrollCertTypeChoice, ae as CaVersion, af as QCStatements, ag as NetscapeComment, ah as NetscapeCertType, ai as LeiRole, aj as LeiChoice, ak as Timestamp, al as ArchiveRevInfo, am as CRLReason, an as SubjectDirectoryAttributes, ao as PrivateKeyUsagePeriod, ap as EntrustVersionInfo, aq as BiometricSyntax, ar as LogotypeExtn, as as TNAuthorizationList, at as PolicyConstraints, au as PolicyMappings, av as CRLNumber, aw as IssuingDistributionPoint } from './certification_request-
|
|
6
|
+
import { l as l10n, a as dateShort } from './l10n-116c79fa.js';
|
|
7
|
+
import { Q as OIDs, S as Name, X as OtherName, p as AsnParser, Y as DisplayText, Z as UserNotice, _ as EDIPartyName, $ as AsnIntegerArrayBufferConverter, a0 as KeyUsage, a1 as BasicConstraints, a2 as ExtendedKeyUsage, a3 as SubjectKeyIdentifier, a4 as AuthorityKeyIdentifier, a5 as CRLDistributionPoints, a6 as AuthorityInfoAccessSyntax, a7 as SubjectInfoAccessSyntax, a8 as SubjectAlternativeName, a9 as CertificatePolicies, aa as CertificateTransparency, ab as NameConstraints, ac as CertificateTemplate, ad as EnrollCertTypeChoice, ae as CaVersion, af as QCStatements, ag as NetscapeComment, ah as NetscapeCertType, ai as LeiRole, aj as LeiChoice, ak as Timestamp, al as ArchiveRevInfo, am as CRLReason, an as SubjectDirectoryAttributes, ao as PrivateKeyUsagePeriod, ap as EntrustVersionInfo, aq as BiometricSyntax, ar as LogotypeExtn, as as TNAuthorizationList, at as PolicyConstraints, au as PolicyMappings, av as CRLNumber, aw as IssuingDistributionPoint } from './certification_request-5b5c2fa2.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @license
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { A as AsnData, e as certificateRawToBuffer, C as Certificate, N as Name, E as Extension, f as AsnConvert, g as id_ecPublicKey, h as ECParameters, j as id_rsaEncryption, R as RSAPublicKey, k as hexFormat, l as base64Format, m as getCertificateThumbprint } from './certification_request-
|
|
4
|
+
import { A as AsnData, e as certificateRawToBuffer, C as Certificate, N as Name, E as Extension, f as AsnConvert, g as id_ecPublicKey, h as ECParameters, j as id_rsaEncryption, R as RSAPublicKey, k as hexFormat, l as base64Format, m as getCertificateThumbprint } from './certification_request-5b5c2fa2.js';
|
|
5
5
|
import { b as build, D as Download } from './download-67ac9120.js';
|
|
6
|
-
import { d as dateDiff } from './l10n-
|
|
6
|
+
import { d as dateDiff } from './l10n-116c79fa.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* @license
|