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

42 lines
956 B
Plaintext

import { AsnArray, OctetString } from "@peculiar/asn1-schema";
import { AlgorithmIdentifier, Attribute } from "@peculiar/asn1-x509";
/**
* ```asn1
* Version ::= INTEGER {v1(0)} (v1,...)
* ```
*/
export declare enum Version {
v1 = 0
}
/**
* ```asn1
* PrivateKey ::= OCTET STRING
* ```
*/
export declare class PrivateKey extends OctetString {
}
/**
* ```asn1
* Attributes ::= SET OF Attribute
* ```
*/
export declare class Attributes extends AsnArray<Attribute> {
constructor(items?: Attribute[]);
}
/**
* ```asn1
* PrivateKeyInfo ::= SEQUENCE {
* version Version,
* privateKeyAlgorithm AlgorithmIdentifier {{PrivateKeyAlgorithms}},
* privateKey PrivateKey,
* attributes [0] Attributes OPTIONAL }
* ```
*/
export declare class PrivateKeyInfo {
version: Version;
privateKeyAlgorithm: AlgorithmIdentifier;
privateKey: PrivateKey;
attributes?: Attributes;
constructor(params?: Partial<PrivateKeyInfo>);
}