Files
NapCatQQ/.pnpm-store/v3/files/5a/57530b21031a4b5b68996480253aedc2c3d44fb890280440fe7c4009f0a13381e5848f0a180c1d6caefae11062ceeb91ef2403389f24d3842ae221ced52952
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

58 lines
1.8 KiB
Plaintext

import { AlgorithmIdentifier } from "./algorithm_identifier";
import { Name } from "./name";
import { Time } from "./time";
import { Extension } from "./extension";
import { Version } from "./types";
/**
* Revoked certificate
* ```asn1
* SEQUENCE {
* userCertificate CertificateSerialNumber,
* revocationDate Time,
* crlEntryExtensions Extensions OPTIONAL
* -- if present, version MUST be v2
* }
* ```
*/
export declare class RevokedCertificate {
/**
* Serial number of the certificate
*/
userCertificate: ArrayBuffer;
/**
* Revocation date
*/
revocationDate: Time;
crlEntryExtensions?: Extension[];
constructor(params?: Partial<RevokedCertificate>);
}
/**
* ```asn1
* TBSCertList ::= SEQUENCE {
* version Version OPTIONAL,
* -- if present, MUST be v2
* signature AlgorithmIdentifier,
* issuer Name,
* thisUpdate Time,
* nextUpdate Time OPTIONAL,
* revokedCertificates SEQUENCE OF SEQUENCE {
* userCertificate CertificateSerialNumber,
* revocationDate Time,
* crlEntryExtensions Extensions OPTIONAL
* -- if present, version MUST be v2
* } OPTIONAL,
* crlExtensions [0] Extensions OPTIONAL }
* -- if present, version MUST be v2
* ```
*/
export declare class TBSCertList {
version?: Version;
signature: AlgorithmIdentifier;
issuer: Name;
thisUpdate: Time;
nextUpdate?: Time;
revokedCertificates?: RevokedCertificate[];
crlExtensions?: Extension[];
constructor(params?: Partial<TBSCertList>);
}