@peculiar/certificates-viewer 4.0.2 → 4.2.0
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/README.md +1 -1
- package/components/attribute-certificate-viewer.js +7 -7
- package/components/attribute-certificate-viewer.js.map +1 -1
- package/components/certificate-viewer.js +5 -5
- package/components/certificate-viewer.js.map +1 -1
- package/components/crl-viewer.js +6 -6
- package/components/crl-viewer.js.map +1 -1
- package/components/csr-viewer.js +4 -4
- package/components/csr-viewer.js.map +1 -1
- package/components/download.js +374 -374
- package/components/download.js.map +1 -1
- package/components/index2.js +2 -2
- package/components/index2.js.map +1 -1
- package/components/miscellaneous.js +1320 -810
- package/components/miscellaneous.js.map +1 -1
- package/components/subject_name.js +2 -2
- package/components/subject_name.js.map +1 -1
- package/dist/cjs/{certification_request-c0cafa72.js → certification_request-5672c667.js} +1227 -823
- package/dist/cjs/certification_request-5672c667.js.map +1 -0
- package/dist/cjs/{crl-b4322166.js → crl-3f681d44.js} +14 -14
- package/dist/cjs/{crl-b4322166.js.map → crl-3f681d44.js.map} +1 -1
- package/dist/cjs/{download-972dda8a.js → download-0fa5b33c.js} +377 -377
- package/dist/cjs/download-0fa5b33c.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{miscellaneous-e43aaae5.js → miscellaneous-905ec852.js} +125 -15
- package/dist/cjs/miscellaneous-905ec852.js.map +1 -0
- package/dist/cjs/peculiar-attribute-certificate-viewer_3.cjs.entry.js +8 -8
- package/dist/cjs/peculiar-attribute-certificate-viewer_3.cjs.entry.js.map +1 -1
- package/dist/cjs/peculiar-certificate-decoder.cjs.entry.js +4 -4
- 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/{x509_certificate-989b1435.js → x509_certificate-69764c52.js} +7 -7
- package/dist/cjs/{x509_certificate-989b1435.js.map → x509_certificate-69764c52.js.map} +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/cabforganization_identifier_extension.js +19 -0
- package/dist/collection/components/certificate-details-parts/extensions/cabforganization_identifier_extension.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/extensions/index.js +10 -0
- package/dist/collection/components/certificate-details-parts/extensions/index.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/key_description_extension.js +80 -0
- package/dist/collection/components/certificate-details-parts/extensions/key_description_extension.js.map +1 -0
- package/dist/collection/constants/logs.js +1 -0
- package/dist/collection/constants/logs.js.map +1 -1
- package/dist/collection/constants/oids.js +25 -4
- package/dist/collection/constants/oids.js.map +1 -1
- package/dist/collection/crypto/extension.js +8 -0
- package/dist/collection/crypto/extension.js.map +1 -1
- package/dist/collection/crypto/extensions/cabforganization_identifier.js +49 -0
- package/dist/collection/crypto/extensions/cabforganization_identifier.js.map +1 -0
- package/dist/collection/crypto/extensions/index.js +5 -0
- package/dist/collection/crypto/extensions/index.js.map +1 -0
- package/dist/collection/utils/camel_case_to_words.js +15 -0
- package/dist/collection/utils/camel_case_to_words.js.map +1 -0
- package/dist/collection/utils/index.js +1 -0
- package/dist/collection/utils/index.js.map +1 -1
- package/dist/esm/{certification_request-5cadde9f.js → certification_request-d5ea5973.js} +1217 -817
- package/dist/esm/certification_request-d5ea5973.js.map +1 -0
- package/dist/esm/{crl-11670c3e.js → crl-d13d9ec5.js} +14 -14
- package/dist/esm/{crl-11670c3e.js.map → crl-d13d9ec5.js.map} +1 -1
- package/dist/esm/{download-57c5bf8f.js → download-aacb6eff.js} +375 -375
- package/dist/esm/download-aacb6eff.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/{miscellaneous-7793a310.js → miscellaneous-cdfd8905.js} +125 -15
- package/dist/esm/miscellaneous-cdfd8905.js.map +1 -0
- package/dist/esm/peculiar-attribute-certificate-viewer_3.entry.js +8 -8
- package/dist/esm/peculiar-attribute-certificate-viewer_3.entry.js.map +1 -1
- package/dist/esm/peculiar-certificate-decoder.entry.js +4 -4
- package/dist/esm/peculiar-certificate-viewer.entry.js +4 -4
- package/dist/esm/peculiar-certificates-viewer.entry.js +3 -3
- package/dist/esm/{x509_certificate-dfae6999.js → x509_certificate-a9fcab55.js} +7 -7
- package/dist/esm/{x509_certificate-dfae6999.js.map → x509_certificate-a9fcab55.js.map} +1 -1
- package/dist/esm-es5/certification_request-d5ea5973.js +97 -0
- package/dist/esm-es5/certification_request-d5ea5973.js.map +1 -0
- package/dist/esm-es5/{crl-11670c3e.js → crl-d13d9ec5.js} +6 -6
- package/dist/esm-es5/{crl-11670c3e.js.map → crl-d13d9ec5.js.map} +1 -1
- package/dist/esm-es5/download-aacb6eff.js +43 -0
- package/dist/esm-es5/download-aacb6eff.js.map +1 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/miscellaneous-cdfd8905.js +369 -0
- package/dist/esm-es5/miscellaneous-cdfd8905.js.map +1 -0
- package/dist/esm-es5/peculiar-attribute-certificate-viewer_3.entry.js +3 -3
- package/dist/esm-es5/peculiar-attribute-certificate-viewer_3.entry.js.map +1 -1
- package/dist/esm-es5/peculiar-certificate-decoder.entry.js +1 -1
- package/dist/esm-es5/peculiar-certificate-viewer.entry.js +1 -1
- package/dist/esm-es5/peculiar-certificates-viewer.entry.js +1 -1
- package/dist/esm-es5/x509_certificate-a9fcab55.js +12 -0
- package/dist/esm-es5/{x509_certificate-dfae6999.js.map → x509_certificate-a9fcab55.js.map} +1 -1
- package/dist/peculiar/index.esm.js +1 -1
- package/dist/peculiar/p-14f281b0.system.js +43 -0
- package/dist/peculiar/p-14f281b0.system.js.map +1 -0
- package/dist/peculiar/{p-1844b807.system.entry.js → p-3b395604.system.entry.js} +2 -2
- package/dist/peculiar/p-48474b8d.js +12 -0
- package/dist/peculiar/{p-6e79b9c8.js.map → p-48474b8d.js.map} +1 -1
- package/dist/peculiar/p-4a6ceeda.js +97 -0
- package/dist/peculiar/p-4a6ceeda.js.map +1 -0
- package/dist/peculiar/p-59e5ac12.js +43 -0
- package/dist/peculiar/p-59e5ac12.js.map +1 -0
- package/dist/peculiar/{p-7f9fef87.entry.js → p-609ee9f0.entry.js} +2 -2
- package/dist/peculiar/p-67156853.js +369 -0
- package/dist/peculiar/p-67156853.js.map +1 -0
- package/dist/peculiar/p-6daee4d7.system.js +369 -0
- package/dist/peculiar/p-6daee4d7.system.js.map +1 -0
- package/dist/peculiar/p-6e48afc4.system.js +34 -0
- package/dist/peculiar/{p-6667fe6e.system.js.map → p-6e48afc4.system.js.map} +1 -1
- package/dist/peculiar/{p-0b475f2a.system.entry.js → p-718982f4.system.entry.js} +4 -4
- package/dist/peculiar/{p-0b475f2a.system.entry.js.map → p-718982f4.system.entry.js.map} +1 -1
- package/dist/peculiar/p-80832207.system.js +1 -1
- package/dist/peculiar/p-8fac1d56.js +33 -0
- package/dist/peculiar/{p-43eb3721.js.map → p-8fac1d56.js.map} +1 -1
- package/dist/peculiar/{p-1de0381c.system.js → p-a3eeb94b.system.js} +2 -2
- package/dist/peculiar/{p-441109db.system.entry.js → p-a67b8793.system.entry.js} +2 -2
- package/dist/peculiar/{p-e39de121.system.entry.js → p-a720c0a5.system.entry.js} +2 -2
- package/dist/peculiar/{p-882e1281.entry.js → p-a7386b78.entry.js} +2 -2
- package/dist/peculiar/p-ab7dc738.system.js +13 -0
- package/dist/peculiar/{p-31586b23.system.js.map → p-ab7dc738.system.js.map} +1 -1
- package/dist/peculiar/{p-bcc86979.entry.js → p-c35b180c.entry.js} +2 -2
- package/dist/peculiar/p-e0f4bda5.system.js +97 -0
- package/dist/peculiar/p-e0f4bda5.system.js.map +1 -0
- package/dist/peculiar/{p-673336cf.entry.js → p-f86279f6.entry.js} +5 -5
- package/dist/peculiar/{p-673336cf.entry.js.map → p-f86279f6.entry.js.map} +1 -1
- package/dist/peculiar/peculiar.esm.js +1 -1
- package/dist/types/components/certificate-details-parts/extensions/cabforganization_identifier_extension.d.ts +15 -0
- package/dist/types/components/certificate-details-parts/extensions/key_description_extension.d.ts +15 -0
- package/dist/types/constants/logs.d.ts +1 -0
- package/dist/types/constants/oids.d.ts +24 -4
- package/dist/types/crypto/extension.d.ts +3 -1
- package/dist/types/crypto/extensions/cabforganization_identifier.d.ts +23 -0
- package/dist/types/crypto/extensions/index.d.ts +1 -0
- package/dist/types/utils/camel_case_to_words.d.ts +8 -0
- package/dist/types/utils/index.d.ts +1 -0
- package/hydrate/index.js +1710 -1200
- package/package.json +22 -21
- package/dist/cjs/certification_request-c0cafa72.js.map +0 -1
- package/dist/cjs/download-972dda8a.js.map +0 -1
- package/dist/cjs/miscellaneous-e43aaae5.js.map +0 -1
- package/dist/esm/certification_request-5cadde9f.js.map +0 -1
- package/dist/esm/download-57c5bf8f.js.map +0 -1
- package/dist/esm/miscellaneous-7793a310.js.map +0 -1
- package/dist/esm-es5/certification_request-5cadde9f.js +0 -97
- package/dist/esm-es5/certification_request-5cadde9f.js.map +0 -1
- package/dist/esm-es5/download-57c5bf8f.js +0 -19
- package/dist/esm-es5/download-57c5bf8f.js.map +0 -1
- package/dist/esm-es5/miscellaneous-7793a310.js +0 -348
- package/dist/esm-es5/miscellaneous-7793a310.js.map +0 -1
- package/dist/esm-es5/x509_certificate-dfae6999.js +0 -12
- package/dist/peculiar/p-31586b23.system.js +0 -13
- package/dist/peculiar/p-43eb3721.js +0 -33
- package/dist/peculiar/p-6667fe6e.system.js +0 -34
- package/dist/peculiar/p-6e79b9c8.js +0 -12
- package/dist/peculiar/p-74c241e7.js +0 -97
- package/dist/peculiar/p-74c241e7.js.map +0 -1
- package/dist/peculiar/p-a053c132.js +0 -19
- package/dist/peculiar/p-a053c132.js.map +0 -1
- package/dist/peculiar/p-a6e2e335.js +0 -348
- package/dist/peculiar/p-a6e2e335.js.map +0 -1
- package/dist/peculiar/p-ae9189f6.system.js +0 -19
- package/dist/peculiar/p-ae9189f6.system.js.map +0 -1
- package/dist/peculiar/p-c0a298fd.system.js +0 -97
- package/dist/peculiar/p-c0a298fd.system.js.map +0 -1
- package/dist/peculiar/p-c362dc5e.system.js +0 -348
- package/dist/peculiar/p-c362dc5e.system.js.map +0 -1
- /package/dist/peculiar/{p-1844b807.system.entry.js.map → p-3b395604.system.entry.js.map} +0 -0
- /package/dist/peculiar/{p-7f9fef87.entry.js.map → p-609ee9f0.entry.js.map} +0 -0
- /package/dist/peculiar/{p-1de0381c.system.js.map → p-a3eeb94b.system.js.map} +0 -0
- /package/dist/peculiar/{p-441109db.system.entry.js.map → p-a67b8793.system.entry.js.map} +0 -0
- /package/dist/peculiar/{p-e39de121.system.entry.js.map → p-a720c0a5.system.entry.js.map} +0 -0
- /package/dist/peculiar/{p-882e1281.entry.js.map → p-a7386b78.entry.js.map} +0 -0
- /package/dist/peculiar/{p-bcc86979.entry.js.map → p-c35b180c.entry.js.map} +0 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the MIT license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { FunctionalComponent } from '../../../stencil-public-runtime';
|
|
9
|
+
import { Extension } from '../../../crypto/extension';
|
|
10
|
+
import { CabforganizationIdentifier } from '../../../crypto/extensions';
|
|
11
|
+
interface ICabforganizationIdentifierExtensionProps {
|
|
12
|
+
extension: Extension<CabforganizationIdentifier>;
|
|
13
|
+
}
|
|
14
|
+
export declare const CabforganizationIdentifierExtension: FunctionalComponent<ICabforganizationIdentifierExtensionProps>;
|
|
15
|
+
export {};
|
package/dist/types/components/certificate-details-parts/extensions/key_description_extension.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the MIT license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { FunctionalComponent } from '../../../stencil-public-runtime';
|
|
9
|
+
import { NonStandardKeyDescription } from '@peculiar/asn1-android';
|
|
10
|
+
import { Extension } from '../../../crypto/extension';
|
|
11
|
+
interface IKeyDescriptionExtensionProps {
|
|
12
|
+
extension: Extension<NonStandardKeyDescription>;
|
|
13
|
+
}
|
|
14
|
+
export declare const KeyDescriptionExtension: FunctionalComponent<IKeyDescriptionExtensionProps>;
|
|
15
|
+
export {};
|
|
@@ -41,6 +41,7 @@ declare const _default: {
|
|
|
41
41
|
b21e05cc8ba2cd8a204e8766f92bb98a2520676bdafa70e7b249532def8b905e: string;
|
|
42
42
|
f65c942fd1773022145418083094568ee34d131933bfdf0c2f200bcc4ef164e3: string;
|
|
43
43
|
'2979bef09e393921f056739f63a577e5be577d9c600af8f94d5d265c255dc784': string;
|
|
44
|
+
e83ed0da3ef5063532e75728bc896bc903d3cbd1116beceb69e1777d6d06bd6e: string;
|
|
44
45
|
'68f698f81f6482be3a8ceeb9281d4cfc71515d6793d444d10a67acbb4f4ffbc4': string;
|
|
45
46
|
c3bf03a7e1ca8841c607bae3ff4270fca5ec45b186ebbe4e2cf3fc778630f5f6: string;
|
|
46
47
|
'1d024b8eb1498b344dfd87ea3efc0996f7506f235d1d497061a4773c439c25fb': string;
|
|
@@ -2145,7 +2145,6 @@ export declare const OIDs: {
|
|
|
2145
2145
|
'2.16.840.1.114412.1.11': string;
|
|
2146
2146
|
'2.16.840.1.114412.2.1': string;
|
|
2147
2147
|
'2.16.840.1.114412.2.2': string;
|
|
2148
|
-
'2.23.140.1.1': string;
|
|
2149
2148
|
'2.16.840.1.114412.2.3': string;
|
|
2150
2149
|
'2.16.840.1.114412.2.3.1': string;
|
|
2151
2150
|
'2.16.840.1.114412.2.3.2': string;
|
|
@@ -2289,14 +2288,12 @@ export declare const OIDs: {
|
|
|
2289
2288
|
'2.54.1775.7': string;
|
|
2290
2289
|
'2.54.1775.99': string;
|
|
2291
2290
|
'1.3.6.1.4.1.11129.2.4.3': string;
|
|
2292
|
-
'2.23.140.1.2.1': string;
|
|
2293
|
-
'2.23.140.1.2.2': string;
|
|
2294
|
-
'2.23.140.1.5.2.2': string;
|
|
2295
2291
|
'1.3.6.1.4.1.44947.1.1.1': string;
|
|
2296
2292
|
'1.3.6.1.4.1.4329.7.2.4': string;
|
|
2297
2293
|
'1.3.6.1.4.1.4329.7': string;
|
|
2298
2294
|
'1.3.6.1.4.1.52266.1': string;
|
|
2299
2295
|
'1.3.6.1.4.1.52266.2': string;
|
|
2296
|
+
'1.3.6.1.4.1.11129.2.1.17': string;
|
|
2300
2297
|
'0.4.0.9496.1': string;
|
|
2301
2298
|
'0.4.0.9496.2': string;
|
|
2302
2299
|
'0.4.0.9496.3': string;
|
|
@@ -2314,4 +2311,27 @@ export declare const OIDs: {
|
|
|
2314
2311
|
'1.3.6.1.4.1.18227.999.1.2.1': string;
|
|
2315
2312
|
'1.3.6.1.4.1.18227.999.1.2.2': string;
|
|
2316
2313
|
'1.3.6.1.4.1.18227.999.1.2.3': string;
|
|
2314
|
+
'2.23.140.1.1': string;
|
|
2315
|
+
'2.23.140.1.2': string;
|
|
2316
|
+
'2.23.140.1.2.1': string;
|
|
2317
|
+
'2.23.140.1.2.2': string;
|
|
2318
|
+
'2.23.140.1.2.3': string;
|
|
2319
|
+
'2.23.140.1.3': string;
|
|
2320
|
+
'2.23.140.1.4.1': string;
|
|
2321
|
+
'2.23.140.1.5': string;
|
|
2322
|
+
'2.23.140.1.5.1.1': string;
|
|
2323
|
+
'2.23.140.1.5.1.2': string;
|
|
2324
|
+
'2.23.140.1.5.1.3': string;
|
|
2325
|
+
'2.23.140.1.5.2.1': string;
|
|
2326
|
+
'2.23.140.1.5.2.2': string;
|
|
2327
|
+
'2.23.140.1.5.2.3': string;
|
|
2328
|
+
'2.23.140.1.5.3.1': string;
|
|
2329
|
+
'2.23.140.1.5.3.2': string;
|
|
2330
|
+
'2.23.140.1.5.3.3': string;
|
|
2331
|
+
'2.23.140.1.5.4.1': string;
|
|
2332
|
+
'2.23.140.1.5.4.2': string;
|
|
2333
|
+
'2.23.140.1.5.4.3': string;
|
|
2334
|
+
'2.23.140.1.31': string;
|
|
2335
|
+
'2.23.140.2.1': string;
|
|
2336
|
+
'2.23.140.3.1': string;
|
|
2317
2337
|
};
|
|
@@ -14,8 +14,10 @@ import { CertificateTransparency } from '@peculiar/asn1-cert-transparency';
|
|
|
14
14
|
import { Timestamp, ArchiveRevInfo } from '@peculiar/asn1-adobe-acrobat';
|
|
15
15
|
import { LogotypeExtn } from '@peculiar/asn1-x509-logotype';
|
|
16
16
|
import { TNAuthorizationList } from '@peculiar/asn1-rfc8226';
|
|
17
|
+
import { NonStandardKeyDescription } from '@peculiar/asn1-android';
|
|
18
|
+
import { CabforganizationIdentifier } from './extensions';
|
|
17
19
|
import { AsnData } from './asn_data';
|
|
18
|
-
export type TExtensionValue = AuthorityInfoAccessSyntax | AuthorityKeyIdentifier | BasicConstraints | CertificateIssuer | CertificatePolicies | CRLDistributionPoints | IssuingDistributionPoint | CRLReason | ExtendedKeyUsage | InhibitAnyPolicy | InvalidityDate | NameConstraints | PolicyConstraints | PolicyMappings | SubjectDirectoryAttributes | SubjectKeyIdentifier | QCStatements | CertificateTemplate | EnrollCertTypeChoice | NetscapeComment | LeiChoice | LeiRole | CertificateTransparency | Timestamp | ArchiveRevInfo | KeyUsage | NetscapeCertType | CaVersion | PrivateKeyUsagePeriod | EntrustVersionInfo | BiometricSyntax | LogotypeExtn | TNAuthorizationList | SubjectInfoAccessSyntax | CRLNumber | BaseCRLNumber | string;
|
|
20
|
+
export type TExtensionValue = AuthorityInfoAccessSyntax | AuthorityKeyIdentifier | BasicConstraints | CertificateIssuer | CertificatePolicies | CRLDistributionPoints | IssuingDistributionPoint | CRLReason | ExtendedKeyUsage | InhibitAnyPolicy | InvalidityDate | NameConstraints | PolicyConstraints | PolicyMappings | SubjectDirectoryAttributes | SubjectKeyIdentifier | QCStatements | CertificateTemplate | EnrollCertTypeChoice | NetscapeComment | LeiChoice | LeiRole | CertificateTransparency | Timestamp | ArchiveRevInfo | KeyUsage | NetscapeCertType | CaVersion | PrivateKeyUsagePeriod | EntrustVersionInfo | BiometricSyntax | LogotypeExtn | TNAuthorizationList | SubjectInfoAccessSyntax | CRLNumber | BaseCRLNumber | NonStandardKeyDescription | CabforganizationIdentifier | string;
|
|
19
21
|
export declare class Extension<T extends TExtensionValue> extends AsnData<AsnExtension> {
|
|
20
22
|
readonly value: T;
|
|
21
23
|
private getAsnExtnValue;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Extension OID for CABF organization identifier.
|
|
3
|
+
*/
|
|
4
|
+
export declare const id_cabforganizationIdentifier = "2.23.140.3.1";
|
|
5
|
+
/**
|
|
6
|
+
* Implements ASN.1 enumeration for CABF organization identifier.
|
|
7
|
+
*
|
|
8
|
+
* ```asn
|
|
9
|
+
* CABFOrganizationIdentifier ::= SEQUENCE {
|
|
10
|
+
* registrationSchemeIdentifier PrintableString (SIZE(3)),
|
|
11
|
+
* registrationCountry PrintableString (SIZE(2)),
|
|
12
|
+
* registrationStateOrProvince [0] IMPLICIT PrintableString OPTIONAL (SIZE(0..128)),
|
|
13
|
+
* registrationReference UTF8String
|
|
14
|
+
* }
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare class CabforganizationIdentifier {
|
|
18
|
+
registrationSchemeIdentifier: string;
|
|
19
|
+
registrationCountry: string;
|
|
20
|
+
registrationStateOrProvince?: string;
|
|
21
|
+
registrationReference: string;
|
|
22
|
+
constructor(params?: Partial<CabforganizationIdentifier>);
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './cabforganization_identifier';
|