import { OPTIONAL, ASN1Element as _Element } from '@wildboar/asn1'; import * as $ from '@wildboar/asn1/functional'; import { ABRT_source } from '../ACSE-1/ABRT-source.ta.mjs'; import { ABRT_diagnostic, _enum_for_ABRT_diagnostic } from '../ACSE-1/ABRT-diagnostic.ta.mjs'; import { Association_data } from '../ACSE-1/Association-data.ta.mjs'; import { ASO_qualifier } from '../ACSE-1/ASO-qualifier.ta.mjs'; import { ASOI_identifier } from '../ACSE-1/ASOI-identifier.ta.mjs'; /** * @summary ABRT_apdu * @description * * ### ASN.1 Definition: * * ```asn1 * ABRT-apdu ::= [APPLICATION 4] IMPLICIT SEQUENCE { * abort-source [0] IMPLICIT ABRT-source, * abort-diagnostic [1] IMPLICIT ABRT-diagnostic OPTIONAL, * -- This field shall not be present if only the Kernel is used. * ..., * -- Extensions for higher level association FU * aso-qualifier [13] ASO-qualifier OPTIONAL, * asoi-identifier [14] IMPLICIT ASOI-identifier OPTIONAL, * -- End of extensions for higher level association FU * ..., * user-information [30] IMPLICIT Association-data OPTIONAL * } * ``` * */ export declare class ABRT_apdu { /** * @summary `abort_source`. * @public * @readonly */ readonly abort_source: ABRT_source; /** * @summary `abort_diagnostic`. * @public * @readonly */ readonly abort_diagnostic?: OPTIONAL; /** * @summary `aso_qualifier`. * @public * @readonly */ readonly aso_qualifier?: OPTIONAL; /** * @summary `asoi_identifier`. * @public * @readonly */ readonly asoi_identifier?: OPTIONAL; /** * @summary Extensions that are not recognized. * @public * @readonly */ readonly _unrecognizedExtensionsList: _Element[]; /** * @summary `user_information`. * @public * @readonly */ readonly user_information?: OPTIONAL; constructor( /** * @summary `abort_source`. * @public * @readonly */ abort_source: ABRT_source, /** * @summary `abort_diagnostic`. * @public * @readonly */ abort_diagnostic?: OPTIONAL, /** * @summary `aso_qualifier`. * @public * @readonly */ aso_qualifier?: OPTIONAL, /** * @summary `asoi_identifier`. * @public * @readonly */ asoi_identifier?: OPTIONAL, /** * @summary Extensions that are not recognized. * @public * @readonly */ _unrecognizedExtensionsList?: _Element[], /** * @summary `user_information`. * @public * @readonly */ user_information?: OPTIONAL); /** * @summary Restructures an object into a ABRT_apdu * @description * * This takes an `object` and converts it to a `ABRT_apdu`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `ABRT_apdu`. * @returns {ABRT_apdu} */ static _from_object(_o: { [_K in keyof ABRT_apdu]: ABRT_apdu[_K]; }): ABRT_apdu; /** * @summary The enum used as the type of the component `abort_diagnostic` * @public * @static */ static _enum_for_abort_diagnostic: typeof _enum_for_ABRT_diagnostic; } /** * @summary The Leading Root Component Types of ABRT_apdu * @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_ABRT_apdu: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of ABRT_apdu * @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_ABRT_apdu: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of ABRT_apdu * @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_ABRT_apdu: $.ComponentSpec[]; /** * @summary Decodes an ASN.1 element into a(n) ABRT_apdu * @function * @param {_Element} el The element being decoded. * @returns {ABRT_apdu} The decoded data structure. */ export declare function _decode_ABRT_apdu(el: _Element): ABRT_apdu; /** * @summary Encodes a(n) ABRT_apdu into an ASN.1 Element. * @function * @param value The element being encoded. * @param elGetter A function that can be used to get new ASN.1 elements. * @returns {_Element} The ABRT_apdu, encoded as an ASN.1 Element. */ export declare function _encode_ABRT_apdu(value: ABRT_apdu, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=ABRT-apdu.ta.d.mts.map