pkcs-ts
Version:
PKCS #1 through #15 (Except #11) - Private and Public Keys, Certificates, and More
23 lines • 1.86 kB
TypeScript
import { ASN1Element as _Element, OBJECT_IDENTIFIER, OPTIONAL } from "asn1-ts";
import * as $ from "asn1-ts/dist/node/functional";
import { ContentEncryptionAlgorithmIdentifier } from "../PKCS7/ContentEncryptionAlgorithmIdentifier.ta";
import { ENCRYPTED } from "../PKCS7/ENCRYPTED.ta";
export { ContentEncryptionAlgorithmIdentifier, _decode_ContentEncryptionAlgorithmIdentifier, _encode_ContentEncryptionAlgorithmIdentifier, } from "../PKCS7/ContentEncryptionAlgorithmIdentifier.ta";
export { ENCRYPTED, _get_decoder_for_ENCRYPTED, _get_encoder_for_ENCRYPTED, } from "../PKCS7/ENCRYPTED.ta";
export { PKCS7_CONTENT_TYPE } from "../PKCS7/PKCS7-CONTENT-TYPE.oca";
export { PKCS7ContentTable } from "../PKCS7/PKCS7ContentTable.osa";
export declare class EncryptedContentInfo {
readonly contentType: OBJECT_IDENTIFIER;
readonly contentEncryptionAlgorithm: ContentEncryptionAlgorithmIdentifier;
readonly encryptedContent: OPTIONAL<ENCRYPTED<_Element>>;
constructor(contentType: OBJECT_IDENTIFIER, contentEncryptionAlgorithm: ContentEncryptionAlgorithmIdentifier, encryptedContent: OPTIONAL<ENCRYPTED<_Element>>);
static _from_object(_o: {
[_K in keyof EncryptedContentInfo]: EncryptedContentInfo[_K];
}): EncryptedContentInfo;
}
export declare const _root_component_type_list_1_spec_for_EncryptedContentInfo: $.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_EncryptedContentInfo: $.ComponentSpec[];
export declare const _extension_additions_list_spec_for_EncryptedContentInfo: $.ComponentSpec[];
export declare function _decode_EncryptedContentInfo(el: _Element): EncryptedContentInfo;
export declare function _encode_EncryptedContentInfo(value: EncryptedContentInfo, elGetter: $.ASN1Encoder<EncryptedContentInfo>): _Element;
//# sourceMappingURL=EncryptedContentInfo.ta.d.ts.map