pkcs-ts
Version:
PKCS #1 through #15 (Except #11) - Private and Public Keys, Certificates, and More
23 lines • 1.55 kB
TypeScript
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 { 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 { Version, _decode_Version, _encode_Version } from "../PKCS7/Version.ta";
export declare class EncryptedData {
readonly version: Version;
readonly encryptedContentInfo: EncryptedContentInfo;
readonly unprotectedAttributes: OPTIONAL<Attributes>;
constructor(version: Version, encryptedContentInfo: EncryptedContentInfo, unprotectedAttributes: OPTIONAL<Attributes>);
static _from_object(_o: {
[_K in keyof EncryptedData]: EncryptedData[_K];
}): EncryptedData;
}
export declare const _root_component_type_list_1_spec_for_EncryptedData: $.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_EncryptedData: $.ComponentSpec[];
export declare const _extension_additions_list_spec_for_EncryptedData: $.ComponentSpec[];
export declare function _decode_EncryptedData(el: _Element): EncryptedData;
export declare function _encode_EncryptedData(value: EncryptedData, elGetter: $.ASN1Encoder<EncryptedData>): _Element;
//# sourceMappingURL=EncryptedData.ta.d.ts.map