• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/// <reference types="node" />
2import { ASN1Obj } from '../util/asn1';
3import { SignedCertificateTimestamp } from './sct';
4export declare class x509Extension {
5    protected root: ASN1Obj;
6    constructor(asn1: ASN1Obj);
7    get oid(): string;
8    get critical(): boolean;
9    get value(): Buffer;
10    get valueObj(): ASN1Obj;
11    protected get extnValueObj(): ASN1Obj;
12}
13export declare class x509BasicConstraintsExtension extends x509Extension {
14    get isCA(): boolean;
15    get pathLenConstraint(): bigint | undefined;
16    private get sequence();
17}
18export declare class x509KeyUsageExtension extends x509Extension {
19    get digitalSignature(): boolean;
20    get keyCertSign(): boolean;
21    get crlSign(): boolean;
22    private get bitString();
23}
24export declare class x509SubjectAlternativeNameExtension extends x509Extension {
25    get rfc822Name(): string | undefined;
26    get uri(): string | undefined;
27    otherName(oid: string): string | undefined;
28    private findGeneralName;
29    private get generalNames();
30}
31export declare class x509AuthorityKeyIDExtension extends x509Extension {
32    get keyIdentifier(): Buffer | undefined;
33    private findSequenceMember;
34    private get sequence();
35}
36export declare class x509SubjectKeyIDExtension extends x509Extension {
37    get keyIdentifier(): Buffer;
38}
39export declare class x509SCTExtension extends x509Extension {
40    constructor(asn1: ASN1Obj);
41    get signedCertificateTimestamps(): SignedCertificateTimestamp[];
42}
43