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

29 lines
760 B
Plaintext

import { AsnArray, OctetString } from "@peculiar/asn1-schema";
/**
* ```asn1
* Extension ::= SEQUENCE {
* extnID OBJECT IDENTIFIER,
* critical BOOLEAN DEFAULT FALSE,
* extnValue OCTET STRING
* -- contains the DER encoding of an ASN.1 value
* -- corresponding to the extension type identified
* -- by extnID
* }
* ```
*/
export declare class Extension {
static CRITICAL: boolean;
extnID: string;
critical: boolean;
extnValue: OctetString;
constructor(params?: Partial<Extension>);
}
/**
* ```asn1
* Extensions ::= SEQUENCE SIZE (1..MAX) OF Extension
* ```
*/
export declare class Extensions extends AsnArray<Extension> {
constructor(items?: Extension[]);
}