UNPKG

pkcs-ts

Version:

PKCS #1 through #15 (Except #11) - Private and Public Keys, Certificates, and More

29 lines 2.07 kB
import { ASN1Element as _Element, OPTIONAL } from "asn1-ts"; import * as $ from "asn1-ts/dist/node/functional"; import { Attributes } from "../PKCS7/Attributes.ta"; import { EncryptedContentInfo } from "../PKCS7/EncryptedContentInfo.ta"; import { OriginatorInfo } from "../PKCS7/OriginatorInfo.ta"; import { RecipientInfos } from "../PKCS7/RecipientInfos.ta"; import { Version } from "../PKCS7/Version.ta"; export { Attributes, _decode_Attributes, _encode_Attributes, } from "../PKCS7/Attributes.ta"; export { EncryptedContentInfo, _decode_EncryptedContentInfo, _encode_EncryptedContentInfo, } from "../PKCS7/EncryptedContentInfo.ta"; export { OriginatorInfo, _decode_OriginatorInfo, _encode_OriginatorInfo, } from "../PKCS7/OriginatorInfo.ta"; export { RecipientInfos, _decode_RecipientInfos, _encode_RecipientInfos, } from "../PKCS7/RecipientInfos.ta"; export { Version, _decode_Version, _encode_Version } from "../PKCS7/Version.ta"; export declare class EnvelopedData { readonly version: Version; readonly originatorInfo: OPTIONAL<OriginatorInfo>; readonly recipientInfos: RecipientInfos; readonly encryptedContentInfo: EncryptedContentInfo; readonly unprotectedAttributes: OPTIONAL<Attributes>; constructor(version: Version, originatorInfo: OPTIONAL<OriginatorInfo>, recipientInfos: RecipientInfos, encryptedContentInfo: EncryptedContentInfo, unprotectedAttributes: OPTIONAL<Attributes>); static _from_object(_o: { [_K in keyof EnvelopedData]: EnvelopedData[_K]; }): EnvelopedData; } export declare const _root_component_type_list_1_spec_for_EnvelopedData: $.ComponentSpec[]; export declare const _root_component_type_list_2_spec_for_EnvelopedData: $.ComponentSpec[]; export declare const _extension_additions_list_spec_for_EnvelopedData: $.ComponentSpec[]; export declare function _decode_EnvelopedData(el: _Element): EnvelopedData; export declare function _encode_EnvelopedData(value: EnvelopedData, elGetter: $.ASN1Encoder<EnvelopedData>): _Element; //# sourceMappingURL=EnvelopedData.ta.d.ts.map