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

33 lines
1.0 KiB
Plaintext

import { AsnArray } from "@peculiar/asn1-schema";
import { CMSVersion } from "./types";
import { Attribute } from "./attribute";
import { RecipientInfos } from "./recipient_infos";
import { OriginatorInfo } from "./originator_info";
import { EncryptedContentInfo } from "./encrypted_content_info";
/**
* ```asn
* UnprotectedAttributes ::= SET SIZE (1..MAX) OF Attribute
* ```
*/
export declare class UnprotectedAttributes extends AsnArray<Attribute> {
constructor(items?: Attribute[]);
}
/**
* ```asn
* EnvelopedData ::= SEQUENCE {
* version CMSVersion,
* originatorInfo [0] IMPLICIT OriginatorInfo OPTIONAL,
* recipientInfos RecipientInfos,
* encryptedContentInfo EncryptedContentInfo,
* unprotectedAttrs [1] IMPLICIT UnprotectedAttributes OPTIONAL }
* ```
*/
export declare class EnvelopedData {
version: CMSVersion;
originatorInfo?: OriginatorInfo;
recipientInfos: RecipientInfos;
encryptedContentInfo: EncryptedContentInfo;
unprotectedAttrs?: UnprotectedAttributes;
constructor(params?: Partial<EnvelopedData>);
}