/** * @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. */ import { CertificateList, Time } from '@peculiar/asn1-x509'; import { AsnData } from './asn_data'; import { type IParsedExtension } from './extension-parsers'; import { INameJSON } from './name'; interface ISignature { algorithm: string; value: BufferSource; } export interface IRevokedCertificate { userCertificate: ArrayBuffer; revocationDate: Time; crlEntryExtensions?: IParsedExtension[]; } export declare class X509Crl extends AsnData { readonly issuer: INameJSON[]; readonly version: number; readonly lastUpdate: Date; readonly nextUpdate: Date; extensions: IParsedExtension[]; revokedCertificates: IRevokedCertificate[]; thumbprints: Record; readonly type = "X.509 Certificate Revocation List"; readonly tag: string; constructor(raw: string); getThumbprint(algorithm?: string): Promise; get signature(): ISignature; get commonName(): string; parseExtensions(): void; toString(format?: 'pem' | 'base64' | 'base64url'): string; downloadAsPEM(name?: string): void; downloadAsDER(name?: string): void; } export {};