import { OBJECT_IDENTIFIER, OCTET_STRING, OPTIONAL } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; /** * @summary EncryptedContentInfoType * @description * * ### ASN.1 Definition: * * ```asn1 * EncryptedContentInfoType { AlgorithmIdentifierType } ::= SEQUENCE { * contentType CONTENT-TYPE.&id({ContentSet}), * contentEncryptionAlgorithm AlgorithmIdentifierType, * encryptedContent [0] IMPLICIT OCTET STRING OPTIONAL } * ``` * */ export declare class EncryptedContentInfoType { /** * @summary `contentType`. * @public * @readonly */ readonly contentType: OBJECT_IDENTIFIER; /** * @summary `contentEncryptionAlgorithm`. * @public * @readonly */ readonly contentEncryptionAlgorithm: AlgorithmIdentifierType; /** * @summary `encryptedContent`. * @public * @readonly */ readonly encryptedContent?: OPTIONAL; constructor( /** * @summary `contentType`. * @public * @readonly */ contentType: OBJECT_IDENTIFIER, /** * @summary `contentEncryptionAlgorithm`. * @public * @readonly */ contentEncryptionAlgorithm: AlgorithmIdentifierType, /** * @summary `encryptedContent`. * @public * @readonly */ encryptedContent?: OPTIONAL); /** * @summary Restructures an object into a EncryptedContentInfoType * @description * * This takes an `object` and converts it to a `EncryptedContentInfoType`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `EncryptedContentInfoType`. * @returns {EncryptedContentInfoType} */ static _from_object(_o: { [_K in keyof EncryptedContentInfoType]: EncryptedContentInfoType[_K]; }): EncryptedContentInfoType; } /** * @summary The Leading Root Component Types of EncryptedContentInfoType * @description * * This is an array of `ComponentSpec`s that define how to decode the leading root component type list of a SET or SEQUENCE. * * @constant */ export declare const _root_component_type_list_1_spec_for_EncryptedContentInfoType: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of EncryptedContentInfoType * @description * * This is an array of `ComponentSpec`s that define how to decode the trailing root component type list of a SET or SEQUENCE. * * @constant */ export declare const _root_component_type_list_2_spec_for_EncryptedContentInfoType: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of EncryptedContentInfoType * @description * * This is an array of `ComponentSpec`s that define how to decode the extension addition component type list of a SET or SEQUENCE. * * @constant */ export declare const _extension_additions_list_spec_for_EncryptedContentInfoType: $.ComponentSpec[]; /** * @summary Returns a function that will decode an ASN.1 element into a(n) EncryptedContentInfoType * @function * @param {_Element} el The element being decoded. * @returns A function that will decode an ASN.1 element. */ export declare function _get_decoder_for_EncryptedContentInfoType(_decode_AlgorithmIdentifierType: $.ASN1Decoder): $.ASN1Decoder>; /** * @summary Returns a function that will encode a(n) EncryptedContentInfoType into an ASN.1 Element. * @function * @returns A function that will encode a(n) EncryptedContentInfoType as an ASN.1 element. */ export declare function _get_encoder_for_EncryptedContentInfoType(_encode_AlgorithmIdentifierType: $.ASN1Encoder): $.ASN1Encoder>; //# sourceMappingURL=EncryptedContentInfoType.ta.d.mts.map