micro509 0.12.0 → 0.14.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 +78 -30
- package/dist/crypto/crypto.d.ts +73 -0
- package/dist/crypto/crypto.js +74 -0
- package/dist/crypto/crypto.js.map +1 -0
- package/dist/crypto.d.ts +4 -0
- package/dist/crypto.js +2 -0
- package/dist/der/der.d.ts +127 -0
- package/dist/der/der.js +171 -0
- package/dist/der/der.js.map +1 -0
- package/dist/der.d.ts +4 -0
- package/dist/der.js +4 -0
- package/dist/index.d.ts +13 -9
- package/dist/index.js +17 -15
- package/dist/internal/asn1/asn1.d.ts +20 -0
- package/dist/internal/asn1/asn1.js +80 -37
- package/dist/internal/asn1/asn1.js.map +1 -1
- package/dist/internal/asn1/der.d.ts +173 -0
- package/dist/internal/asn1/der.js +116 -38
- package/dist/internal/asn1/der.js.map +1 -1
- package/dist/internal/asn1/oids.js +7 -1
- package/dist/internal/asn1/oids2.js +9 -2
- package/dist/internal/asn1/oids2.js.map +1 -1
- package/dist/internal/crypto/algorithm-names.js +4 -0
- package/dist/internal/crypto/algorithm-names.js.map +1 -1
- package/dist/internal/crypto/pbes2.d.ts +38 -0
- package/dist/internal/crypto/pbes2.js +9 -10
- package/dist/internal/crypto/pbes2.js.map +1 -1
- package/dist/internal/crypto/rsa-pss.js +2 -0
- package/dist/internal/crypto/rsa-pss.js.map +1 -1
- package/dist/internal/crypto/sig-verify.d.ts +31 -0
- package/dist/internal/crypto/sig-verify.js +10 -8
- package/dist/internal/crypto/sig-verify.js.map +1 -1
- package/dist/internal/shared/base64.js +7 -1
- package/dist/internal/shared/base64.js.map +1 -1
- package/dist/internal/shared/dn.d.ts +16 -0
- package/dist/internal/shared/dn.js +149 -12
- package/dist/internal/shared/dn.js.map +1 -1
- package/dist/internal/shared/ip.d.ts +69 -0
- package/dist/internal/shared/ip.js +18 -1
- package/dist/internal/shared/ip.js.map +1 -1
- package/dist/internal/shared/rfc3454-tables.js +1782 -0
- package/dist/internal/shared/rfc3454-tables.js.map +1 -0
- package/dist/internal/verify/name-constraints-engine.js +47 -15
- package/dist/internal/verify/name-constraints-engine.js.map +1 -1
- package/dist/internal/verify/policy-engine.js +85 -94
- package/dist/internal/verify/policy-engine.js.map +1 -1
- package/dist/internal/verify/verify-path.d.ts +7 -0
- package/dist/internal/verify/verify-path.js +49 -45
- package/dist/internal/verify/verify-path.js.map +1 -1
- package/dist/internal/x509/directory-name.js +24 -0
- package/dist/internal/x509/directory-name.js.map +1 -0
- package/dist/internal/x509/extension-bits.js +14 -11
- package/dist/internal/x509/extension-bits.js.map +1 -1
- package/dist/internal/x509/extension-errors.d.ts +6 -0
- package/dist/internal/x509/extension-errors.js +20 -0
- package/dist/internal/x509/extension-errors.js.map +1 -0
- package/dist/internal/x509/extension-registry.js +113 -55
- package/dist/internal/x509/extension-registry.js.map +1 -1
- package/dist/internal/x509/general-name-tags.js +28 -0
- package/dist/internal/x509/general-name-tags.js.map +1 -0
- package/dist/internal/x509/general-name.js +97 -0
- package/dist/internal/x509/general-name.js.map +1 -0
- package/dist/internal/x509/name-fields.js +20 -10
- package/dist/internal/x509/name-fields.js.map +1 -1
- package/dist/keys/keys.d.ts +16 -2
- package/dist/keys/keys.js +311 -170
- package/dist/keys/keys.js.map +1 -1
- package/dist/keys.d.ts +3 -2
- package/dist/keys.js +3 -2
- package/dist/pem/pem.d.ts +3 -2
- package/dist/pem/pem.js +112 -30
- package/dist/pem/pem.js.map +1 -1
- package/dist/pkcs/pkcs12-mac.js +3 -3
- package/dist/pkcs/pkcs12-mac.js.map +1 -1
- package/dist/pkcs/pkcs7.d.ts +85 -21
- package/dist/pkcs/pkcs7.js +261 -186
- package/dist/pkcs/pkcs7.js.map +1 -1
- package/dist/pkcs.d.ts +2 -2
- package/dist/result/result.d.ts +18 -10
- package/dist/result/result.js +20 -12
- package/dist/result/result.js.map +1 -1
- package/dist/result.d.ts +2 -2
- package/dist/result.js +2 -2
- package/dist/revocation/chain.js +154 -103
- package/dist/revocation/chain.js.map +1 -1
- package/dist/revocation/crl.d.ts +13 -2
- package/dist/revocation/crl.js +415 -236
- package/dist/revocation/crl.js.map +1 -1
- package/dist/revocation/ocsp.d.ts +58 -17
- package/dist/revocation/ocsp.js +186 -174
- package/dist/revocation/ocsp.js.map +1 -1
- package/dist/revocation/revocation.d.ts +4 -4
- package/dist/revocation/revocation.js +48 -30
- package/dist/revocation/revocation.js.map +1 -1
- package/dist/revocation.d.ts +4 -4
- package/dist/revocation.js +5 -5
- package/dist/verify/identity.d.ts +2 -1
- package/dist/verify/identity.js +2 -1
- package/dist/verify/identity.js.map +1 -1
- package/dist/verify/policy.d.ts +6 -1
- package/dist/verify/verify.d.ts +18 -3
- package/dist/verify/verify.js +66 -41
- package/dist/verify/verify.js.map +1 -1
- package/dist/verify.d.ts +2 -1
- package/dist/verify.js +4 -3
- package/dist/x509/certificate.d.ts +36 -13
- package/dist/x509/certificate.js +36 -19
- package/dist/x509/certificate.js.map +1 -1
- package/dist/x509/csr.d.ts +6 -3
- package/dist/x509/extensions.d.ts +59 -22
- package/dist/x509/extensions.js +384 -117
- package/dist/x509/extensions.js.map +1 -1
- package/dist/x509/name-text.js +2 -0
- package/dist/x509/name-text.js.map +1 -1
- package/dist/x509/name.d.ts +8 -5
- package/dist/x509/name.js +17 -12
- package/dist/x509/name.js.map +1 -1
- package/dist/x509/parse.d.ts +104 -18
- package/dist/x509/parse.js +127 -163
- package/dist/x509/parse.js.map +1 -1
- package/dist/x509.d.ts +8 -5
- package/dist/x509.js +10 -8
- package/package.json +52 -34
package/dist/x509/parse.d.ts
CHANGED
|
@@ -15,6 +15,11 @@ type ParseCertificateResult<TMap extends ExtensionDecoderMap = Record<never, nev
|
|
|
15
15
|
readonly ok: true;
|
|
16
16
|
readonly value: ParsedCertificate<TMap>;
|
|
17
17
|
} | ErrorResult<ParseCertificateErrorCode, Record<never, never>, ParseCertificateFailure>;
|
|
18
|
+
/** Success-or-failure result from {@linkcode parseCertificateChainPem}. */
|
|
19
|
+
type ParseCertificateChainResult<TMap extends ExtensionDecoderMap = Record<never, never>> = {
|
|
20
|
+
readonly ok: true;
|
|
21
|
+
readonly value: readonly ParsedCertificate<TMap>[];
|
|
22
|
+
} | ErrorResult<ParseCertificateErrorCode, Record<never, never>, ParseCertificateFailure>;
|
|
18
23
|
/** Machine-readable failure reason for the CSR parsers. */
|
|
19
24
|
type ParseCertificateSigningRequestErrorCode = "malformed";
|
|
20
25
|
/** Structured failure payload for CSR parsing. */
|
|
@@ -73,15 +78,21 @@ interface ParsedRelativeDistinguishedName {
|
|
|
73
78
|
readonly values: Readonly<Partial<Record<NameFieldKey, string>>>;
|
|
74
79
|
}
|
|
75
80
|
/**
|
|
76
|
-
* The name component of a CRL Distribution Point
|
|
77
|
-
*
|
|
81
|
+
* The name component of a CRL Distribution Point, mirroring RFC 5280 §4.2.1.13
|
|
82
|
+
* `DistributionPointName ::= CHOICE { fullName [0] GeneralNames,
|
|
83
|
+
* nameRelativeToCRLIssuer [1] RelativeDistinguishedName }`.
|
|
78
84
|
*/
|
|
79
|
-
|
|
85
|
+
type ParsedDistributionPointName = {
|
|
86
|
+
/** The `fullName [0]` alternative. */
|
|
87
|
+
readonly type: "fullName";
|
|
80
88
|
/** Absolute GeneralName(s) identifying the distribution point. */
|
|
81
|
-
readonly fullName
|
|
89
|
+
readonly fullName: readonly GeneralName[];
|
|
90
|
+
} | {
|
|
91
|
+
/** The `nameRelativeToCRLIssuer [1]` alternative. */
|
|
92
|
+
readonly type: "relativeName";
|
|
82
93
|
/** Name relative to the CRL issuer's distinguished name. */
|
|
83
|
-
readonly relativeName
|
|
84
|
-
}
|
|
94
|
+
readonly relativeName: ParsedRelativeDistinguishedName;
|
|
95
|
+
};
|
|
85
96
|
/** A decoded DistributionPoint from the CRL Distribution Points extension. */
|
|
86
97
|
interface ParsedDistributionPoint {
|
|
87
98
|
/** Where to fetch the CRL — a fullName URI or relativeName. */
|
|
@@ -95,20 +106,53 @@ interface ParsedDistributionPoint {
|
|
|
95
106
|
* Decoded Issuing Distribution Point CRL extension (RFC 5280 §5.2.5).
|
|
96
107
|
* Constrains which certificates a CRL covers (scope, reasons, indirection).
|
|
97
108
|
*/
|
|
98
|
-
|
|
109
|
+
type ParsedIssuingDistributionPoint = ParsedIssuingDistributionPointBase & ParsedIssuingDistributionPointScope;
|
|
110
|
+
/** Scope-independent fields of a decoded Issuing Distribution Point. */
|
|
111
|
+
interface ParsedIssuingDistributionPointBase {
|
|
99
112
|
/** Where to fetch this CRL, if specified. */
|
|
100
113
|
readonly distributionPoint?: ParsedDistributionPointName;
|
|
101
|
-
/** When true, this CRL only covers end-entity certificates. Default false. */
|
|
102
|
-
readonly onlyContainsUserCerts?: boolean;
|
|
103
|
-
/** When true, this CRL only covers CA certificates. Default false. */
|
|
104
|
-
readonly onlyContainsCACerts?: boolean;
|
|
105
114
|
/** Limits the CRL to these revocation reasons. Absent means all reasons. */
|
|
106
115
|
readonly onlySomeReasons?: ParsedBitFlags<DistributionPointReason>;
|
|
107
116
|
/** When true, this CRL may contain entries from CAs other than the issuer. Default false. */
|
|
108
117
|
readonly indirectCrl?: boolean;
|
|
109
|
-
/** When true, this CRL only covers attribute certificates. Default false. */
|
|
110
|
-
readonly onlyContainsAttributeCerts?: boolean;
|
|
111
118
|
}
|
|
119
|
+
/**
|
|
120
|
+
* Which certificate kind a CRL is scoped to. RFC 5280 §5.2.5 allows at most one
|
|
121
|
+
* of `onlyContainsUserCerts`, `onlyContainsCACerts`, and
|
|
122
|
+
* `onlyContainsAttributeCerts` to be TRUE, so the union admits one at a time.
|
|
123
|
+
*
|
|
124
|
+
* A flag is absent when the encoding omitted it and `false` when the encoding
|
|
125
|
+
* carried an explicit FALSE.
|
|
126
|
+
*/
|
|
127
|
+
type ParsedIssuingDistributionPointScope = {
|
|
128
|
+
/** No scope restriction; this CRL covers every certificate kind. */
|
|
129
|
+
readonly onlyContainsUserCerts?: false;
|
|
130
|
+
/** No scope restriction. */
|
|
131
|
+
readonly onlyContainsCACerts?: false;
|
|
132
|
+
/** No scope restriction. */
|
|
133
|
+
readonly onlyContainsAttributeCerts?: false;
|
|
134
|
+
} | {
|
|
135
|
+
/** This CRL only covers end-entity certificates. */
|
|
136
|
+
readonly onlyContainsUserCerts: true;
|
|
137
|
+
/** Excluded by the user-cert scope. */
|
|
138
|
+
readonly onlyContainsCACerts?: false;
|
|
139
|
+
/** Excluded by the user-cert scope. */
|
|
140
|
+
readonly onlyContainsAttributeCerts?: false;
|
|
141
|
+
} | {
|
|
142
|
+
/** Excluded by the CA-cert scope. */
|
|
143
|
+
readonly onlyContainsUserCerts?: false;
|
|
144
|
+
/** This CRL only covers CA certificates. */
|
|
145
|
+
readonly onlyContainsCACerts: true;
|
|
146
|
+
/** Excluded by the CA-cert scope. */
|
|
147
|
+
readonly onlyContainsAttributeCerts?: false;
|
|
148
|
+
} | {
|
|
149
|
+
/** Excluded by the attribute-cert scope. */
|
|
150
|
+
readonly onlyContainsUserCerts?: false;
|
|
151
|
+
/** Excluded by the attribute-cert scope. */
|
|
152
|
+
readonly onlyContainsCACerts?: false;
|
|
153
|
+
/** This CRL only covers attribute certificates. */
|
|
154
|
+
readonly onlyContainsAttributeCerts: true;
|
|
155
|
+
};
|
|
112
156
|
/** A raw X.509v3 extension before type-specific decoding. */
|
|
113
157
|
interface ParsedExtension {
|
|
114
158
|
/** Dotted-decimal OID identifying this extension. */
|
|
@@ -224,6 +268,8 @@ interface ParsedCertificate<TMap extends ExtensionDecoderMap = Record<never, nev
|
|
|
224
268
|
readonly extendedKeyUsage?: readonly ExtendedKeyUsage[];
|
|
225
269
|
/** Decoded Subject Alternative Names (RFC 5280 §4.2.1.6). */
|
|
226
270
|
readonly subjectAltNames?: readonly SubjectAltName[];
|
|
271
|
+
/** Decoded Issuer Alternative Names (RFC 5280 §4.2.1.7). */
|
|
272
|
+
readonly issuerAltNames?: readonly SubjectAltName[];
|
|
227
273
|
/** Decoded Name Constraints (RFC 5280 §4.2.1.10). */
|
|
228
274
|
readonly nameConstraints?: NameConstraints<ParsedNameConstraintForm>;
|
|
229
275
|
/** Decoded Certificate Policies (RFC 5280 §4.2.1.4). */
|
|
@@ -234,7 +280,7 @@ interface ParsedCertificate<TMap extends ExtensionDecoderMap = Record<never, nev
|
|
|
234
280
|
readonly policyConstraints?: PolicyConstraints;
|
|
235
281
|
/** Decoded Inhibit anyPolicy (RFC 5280 §4.2.1.14). */
|
|
236
282
|
readonly inhibitAnyPolicy?: InhibitAnyPolicy;
|
|
237
|
-
/** Decoded Authority Information Access —
|
|
283
|
+
/** Decoded Authority Information Access — GeneralName access locations (RFC 5280 §4.2.2.1). */
|
|
238
284
|
readonly authorityInfoAccess?: readonly AuthorityInformationAccess[];
|
|
239
285
|
/** Decoded CRL Distribution Points (RFC 5280 §4.2.1.13). */
|
|
240
286
|
readonly crlDistributionPoints?: readonly ParsedDistributionPoint[];
|
|
@@ -254,7 +300,7 @@ interface ParsedCertificate<TMap extends ExtensionDecoderMap = Record<never, nev
|
|
|
254
300
|
* CSR's extensionRequest attribute rather than the v3 extensions block.
|
|
255
301
|
*/
|
|
256
302
|
interface ParsedCertificateSigningRequest<TMap extends ExtensionDecoderMap = Record<never, never>> {
|
|
257
|
-
/** PKCS#10 version
|
|
303
|
+
/** PKCS#10 version, normalized to the v1 ordinal `1`. The encoded CertificationRequestInfo version INTEGER is `0` (RFC 2986 §4.1). */
|
|
258
304
|
readonly version: number;
|
|
259
305
|
/** DER encoding of the CertificationRequestInfo, used for signature verification. */
|
|
260
306
|
readonly certificationRequestInfoDer: Uint8Array;
|
|
@@ -368,15 +414,29 @@ declare function parseCertificatePemOrThrow<TMap extends ExtensionDecoderMap = R
|
|
|
368
414
|
* @param options Custom extension decoders to apply during parsing.
|
|
369
415
|
*/
|
|
370
416
|
declare function parseCertificatePem<TMap extends ExtensionDecoderMap = Record<never, never>>(pem: string, options?: ParseOptions<TMap>): ParseCertificateResult<TMap>;
|
|
417
|
+
/** Normalizes a PEM bundle or single DER certificate source into parsed certificates. */
|
|
418
|
+
declare function parseCertificatesFromSource<TMap extends ExtensionDecoderMap = Record<never, never>>(source: string | Uint8Array, options?: ParseOptions<TMap>): readonly ParsedCertificate<TMap>[];
|
|
419
|
+
/** Normalizes a PEM, DER, or already-parsed certificate source into one parsed certificate. */
|
|
420
|
+
declare function parseCertificateFromSource<TMap extends ExtensionDecoderMap = Record<never, never>>(source: ParsedCertificate<TMap> | string | Uint8Array, options?: ParseOptions<TMap>): ParsedCertificate<TMap>;
|
|
371
421
|
/**
|
|
372
|
-
* Decode a PEM bundle containing one or more certificates.
|
|
422
|
+
* Decode a PEM bundle containing one or more certificates, throwing on malformed input.
|
|
373
423
|
*
|
|
374
424
|
* Non-CERTIFICATE blocks (e.g. private keys) are silently skipped.
|
|
375
425
|
*
|
|
376
426
|
* @param pemBundle PEM text that may contain multiple CERTIFICATE blocks.
|
|
377
427
|
* @param options Custom extension decoders to apply during parsing.
|
|
378
428
|
*/
|
|
379
|
-
declare function
|
|
429
|
+
declare function parseCertificateChainPemOrThrow<TMap extends ExtensionDecoderMap = Record<never, never>>(pemBundle: string, options?: ParseOptions<TMap>): readonly ParsedCertificate<TMap>[];
|
|
430
|
+
/**
|
|
431
|
+
* Decode a PEM bundle containing one or more certificates.
|
|
432
|
+
*
|
|
433
|
+
* Non-CERTIFICATE blocks (e.g. private keys) are silently skipped. Returns a
|
|
434
|
+
* typed `malformed` failure for invalid PEM or certificate DER.
|
|
435
|
+
*
|
|
436
|
+
* @param pemBundle PEM text that may contain multiple CERTIFICATE blocks.
|
|
437
|
+
* @param options Custom extension decoders to apply during parsing.
|
|
438
|
+
*/
|
|
439
|
+
declare function parseCertificateChainPem<TMap extends ExtensionDecoderMap = Record<never, never>>(pemBundle: string, options?: ParseOptions<TMap>): ParseCertificateChainResult<TMap>;
|
|
380
440
|
/**
|
|
381
441
|
* Decode a DER-encoded PKCS#10 CSR into a {@linkcode ParsedCertificateSigningRequest}.
|
|
382
442
|
*
|
|
@@ -573,6 +633,32 @@ declare function decodeExtensions(extensions: readonly ParsedExtension[], decode
|
|
|
573
633
|
* @param decoderMap Named decoders. Results are keyed by the same map keys.
|
|
574
634
|
*/
|
|
575
635
|
declare function decodeExtensionMap<TMap extends ExtensionDecoderMap>(extensions: readonly ParsedExtension[], decoderMap: TMap): DecodedExtensionMap<TMap>;
|
|
636
|
+
/** Decodes the Basic Constraints extension value DER. */
|
|
637
|
+
declare function parseBasicConstraints(bytes: Uint8Array): BasicConstraints;
|
|
638
|
+
/** Decodes the Key Usage BIT STRING extension value. */
|
|
639
|
+
declare function parseKeyUsage(bytes: Uint8Array): ParsedBitFlags<KeyUsage>;
|
|
640
|
+
/** Decodes the Extended Key Usage SEQUENCE OF OIDs. */
|
|
641
|
+
declare function parseExtendedKeyUsage(bytes: Uint8Array): readonly ExtendedKeyUsage[];
|
|
642
|
+
/** Decodes the Certificate Policies extension value. */
|
|
643
|
+
declare function parseCertificatePolicies(bytes: Uint8Array): CertificatePolicies;
|
|
644
|
+
/** Decodes the Policy Mappings extension value. */
|
|
645
|
+
declare function parsePolicyMappings(bytes: Uint8Array): PolicyMappings;
|
|
646
|
+
/** Decodes the Policy Constraints extension value. */
|
|
647
|
+
declare function parsePolicyConstraints(bytes: Uint8Array): PolicyConstraints;
|
|
648
|
+
/** Decodes the Inhibit anyPolicy extension (single INTEGER). */
|
|
649
|
+
declare function parseInhibitAnyPolicy(bytes: Uint8Array): InhibitAnyPolicy;
|
|
650
|
+
/** Decodes a subjectAltName or issuerAltName SEQUENCE OF GeneralName. */
|
|
651
|
+
declare function parseSubjectAltNames(bytes: Uint8Array, label?: string): readonly SubjectAltName[];
|
|
652
|
+
/** Decodes a bare DER-encoded X.501 Name, as carried in a `directoryName` GeneralName. */
|
|
653
|
+
declare function parseDistinguishedNameDer(bytes: Uint8Array): ParsedName;
|
|
654
|
+
/** Decodes the Authority Information Access extension value. */
|
|
655
|
+
declare function parseAuthorityInfoAccess(bytes: Uint8Array): readonly AuthorityInformationAccess[];
|
|
656
|
+
/** Decodes the CRL Distribution Points extension value. */
|
|
657
|
+
declare function parseCrlDistributionPoints(bytes: Uint8Array): readonly ParsedDistributionPoint[];
|
|
658
|
+
/** Decodes the Name Constraints extension value. */
|
|
659
|
+
declare function parseNameConstraints(bytes: Uint8Array): NameConstraints<ParsedNameConstraintForm>;
|
|
660
|
+
/** Decodes the Authority Key Identifier extension, returning the keyIdentifier hex or undefined. */
|
|
661
|
+
declare function parseAuthorityKeyIdentifier(bytes: Uint8Array): string | undefined;
|
|
576
662
|
//#endregion
|
|
577
|
-
export { DecodedExtensionMap, DecodedExtensionValue, ExtensionDecoder, ExtensionDecoderMap, MatchCertificatePrivateKeyErrorCode, MatchCertificatePrivateKeyFailure, MatchCertificatePrivateKeyFailureResult, MatchCertificatePrivateKeyResult, MatchCertificatePrivateKeySuccess, ParseCertificateErrorCode, ParseCertificateFailure, ParseCertificateResult, ParseCertificateSigningRequestErrorCode, ParseCertificateSigningRequestFailure, ParseCertificateSigningRequestResult, ParseOptions, type ParsedBitFlags, ParsedCertificate, ParsedCertificateSigningRequest, ParsedDistributionPoint, ParsedDistributionPointName, ParsedExtension, ParsedIssuingDistributionPoint, ParsedName, ParsedNameAttribute, ParsedRelativeDistinguishedName, certificateMatchesPrivateKey, decodeExtension, decodeExtensionMap, decodeExtensions, defineExtensionDecoder, defineExtensionDecoderMap, findExtension, getSubjectPublicKey, getSubjectPublicKeyOrThrow, matchCertificatePrivateKey, parseCertificateChainPem, parseCertificateDer, parseCertificateDerOrThrow, parseCertificatePem, parseCertificatePemOrThrow, parseCertificateSigningRequestDer, parseCertificateSigningRequestDerOrThrow, parseCertificateSigningRequestPem, parseCertificateSigningRequestPemOrThrow };
|
|
663
|
+
export { DecodedExtensionMap, DecodedExtensionValue, ExtensionDecoder, ExtensionDecoderMap, MatchCertificatePrivateKeyErrorCode, MatchCertificatePrivateKeyFailure, MatchCertificatePrivateKeyFailureResult, MatchCertificatePrivateKeyResult, MatchCertificatePrivateKeySuccess, ParseCertificateChainResult, ParseCertificateErrorCode, ParseCertificateFailure, ParseCertificateResult, ParseCertificateSigningRequestErrorCode, ParseCertificateSigningRequestFailure, ParseCertificateSigningRequestResult, ParseOptions, type ParsedBitFlags, ParsedCertificate, ParsedCertificateSigningRequest, ParsedDistributionPoint, ParsedDistributionPointName, ParsedExtension, ParsedIssuingDistributionPoint, ParsedIssuingDistributionPointBase, ParsedIssuingDistributionPointScope, ParsedName, ParsedNameAttribute, ParsedRelativeDistinguishedName, certificateMatchesPrivateKey, decodeExtension, decodeExtensionMap, decodeExtensions, defineExtensionDecoder, defineExtensionDecoderMap, findExtension, getSubjectPublicKey, getSubjectPublicKeyOrThrow, matchCertificatePrivateKey, parseAuthorityInfoAccess, parseAuthorityKeyIdentifier, parseBasicConstraints, parseCertificateChainPem, parseCertificateChainPemOrThrow, parseCertificateDer, parseCertificateDerOrThrow, parseCertificateFromSource, parseCertificatePem, parseCertificatePemOrThrow, parseCertificatePolicies, parseCertificateSigningRequestDer, parseCertificateSigningRequestDerOrThrow, parseCertificateSigningRequestPem, parseCertificateSigningRequestPemOrThrow, parseCertificatesFromSource, parseCrlDistributionPoints, parseDistinguishedNameDer, parseExtendedKeyUsage, parseInhibitAnyPolicy, parseKeyUsage, parseNameConstraints, parsePolicyConstraints, parsePolicyMappings, parseSubjectAltNames };
|
|
578
664
|
//# sourceMappingURL=parse.d.ts.map
|