UNPKG

pkcs-ts

Version:

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

18 lines 1.48 kB
import { ASN1Element as _Element, OBJECT_IDENTIFIER, OCTET_STRING, OPTIONAL } from "asn1-ts"; import * as $ from "asn1-ts/dist/node/functional"; import { AlgorithmIdentifier } from "x500-ts/dist/node/modules/AuthenticationFramework/AlgorithmIdentifier.ta"; export declare class EncryptedContentInfo<Type> { readonly contentType: OBJECT_IDENTIFIER; readonly contentEncryptionAlgorithm: AlgorithmIdentifier; readonly encryptedContent: OPTIONAL<OCTET_STRING>; constructor(contentType: OBJECT_IDENTIFIER, contentEncryptionAlgorithm: AlgorithmIdentifier, encryptedContent: OPTIONAL<OCTET_STRING>); static _from_object(_o: { [_K in keyof EncryptedContentInfo<any>]: EncryptedContentInfo<any>[_K]; }): EncryptedContentInfo<any>; } 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 _get_decoder_for_EncryptedContentInfo<Type>(_decode_Type: $.ASN1Decoder<Type>): (el: _Element) => EncryptedContentInfo<Type>; export declare function _get_encoder_for_EncryptedContentInfo<Type>(_encode_Type: $.ASN1Encoder<Type>): (value: EncryptedContentInfo<Type>, elGetter: $.ASN1Encoder<EncryptedContentInfo<Type>>) => _Element; //# sourceMappingURL=EncryptedContentInfo.ta.d.ts.map