import { ASN1Element as _Element, OPTIONAL } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; /** * @summary AUTHEN_ENCRYPT * @description * * ### ASN.1 Definition: * * ```asn1 * AUTHEN-ENCRYPT{ToBeAuth, ToBeEnciphered} ::= SEQUENCE { * aad [0] ToBeAuth OPTIONAL, * encr [1] ToBeEnciphered, * ... } * ``` * */ export declare class AUTHEN_ENCRYPT { /** * @summary `aad`. * @public * @readonly */ readonly aad: OPTIONAL; /** * @summary `encr`. * @public * @readonly */ readonly encr: ToBeEnciphered; /** * @summary Extensions that are not recognized. * @public * @readonly */ readonly _unrecognizedExtensionsList: _Element[]; constructor( /** * @summary `aad`. * @public * @readonly */ aad: OPTIONAL, /** * @summary `encr`. * @public * @readonly */ encr: ToBeEnciphered, /** * @summary Extensions that are not recognized. * @public * @readonly */ _unrecognizedExtensionsList?: _Element[]); /** * @summary Restructures an object into a AUTHEN_ENCRYPT * @description * * This takes an `object` and converts it to a `AUTHEN_ENCRYPT`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `AUTHEN_ENCRYPT`. * @returns {AUTHEN_ENCRYPT} */ static _from_object(_o: Partial<{ [_K in keyof AUTHEN_ENCRYPT]: AUTHEN_ENCRYPT[_K]; }>): AUTHEN_ENCRYPT; } /** * @summary The Leading Root Component Types of AUTHEN_ENCRYPT * @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_AUTHEN_ENCRYPT: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of AUTHEN_ENCRYPT * @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_AUTHEN_ENCRYPT: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of AUTHEN_ENCRYPT * @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_AUTHEN_ENCRYPT: $.ComponentSpec[]; /** * @summary Returns a function that will decode an ASN.1 element into a(n) AUTHEN_ENCRYPT * @function * @param {_Element} el The element being decoded. * @returns A function that will decode an ASN.1 element. */ export declare function _get_decoder_for_AUTHEN_ENCRYPT(_decode_ToBeAuth: $.ASN1Decoder, _decode_ToBeEnciphered: $.ASN1Decoder): $.ASN1Decoder>; /** * @summary Returns a function that will encode a(n) AUTHEN_ENCRYPT into an ASN.1 Element. * @function * @returns A function that will encode a(n) AUTHEN_ENCRYPT as an ASN.1 element. */ export declare function _get_encoder_for_AUTHEN_ENCRYPT(_encode_ToBeAuth: $.ASN1Encoder, _encode_ToBeEnciphered: $.ASN1Encoder): $.ASN1Encoder>; //# sourceMappingURL=AUTHEN-ENCRYPT.ta.d.mts.map