import { OPTIONAL, BIT_STRING, ASN1Element as _Element } from '@wildboar/asn1'; import * as $ from '@wildboar/asn1/functional'; import { AbortReason } from '../Reliable-Transfer-APDU/AbortReason.ta.mjs'; /** * @summary RTABapdu * @description * * ### ASN.1 Definition: * * ```asn1 * RTABapdu ::= SET { * abortReason [0] IMPLICIT AbortReason OPTIONAL, * reflectedParameter [1] IMPLICIT BIT STRING OPTIONAL, * -- 8 bits maximum, only if abortReason is invalidParameter * userdataAB * [2] OPEN.&Type OPTIONAL -- only in normal mode and if abortReason-- * -- is userError * } * ``` * */ export declare class RTABapdu { /** * @summary `abortReason`. * @public * @readonly */ readonly abortReason?: OPTIONAL; /** * @summary `reflectedParameter`. * @public * @readonly */ readonly reflectedParameter?: OPTIONAL; /** * @summary `userdataAB`. * @public * @readonly */ readonly userdataAB?: OPTIONAL<_Element>; constructor( /** * @summary `abortReason`. * @public * @readonly */ abortReason?: OPTIONAL, /** * @summary `reflectedParameter`. * @public * @readonly */ reflectedParameter?: OPTIONAL, /** * @summary `userdataAB`. * @public * @readonly */ userdataAB?: OPTIONAL<_Element>); /** * @summary Restructures an object into a RTABapdu * @description * * This takes an `object` and converts it to a `RTABapdu`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `RTABapdu`. * @returns {RTABapdu} */ static _from_object(_o: { [_K in keyof RTABapdu]: RTABapdu[_K]; }): RTABapdu; } /** * @summary The Leading Root Component Types of RTABapdu * @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_RTABapdu: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of RTABapdu * @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_RTABapdu: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of RTABapdu * @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_RTABapdu: $.ComponentSpec[]; /** * @summary Decodes an ASN.1 element into a(n) RTABapdu * @function * @param {_Element} el The element being decoded. * @returns {RTABapdu} The decoded data structure. */ export declare function _decode_RTABapdu(el: _Element): RTABapdu; /** * @summary Encodes a(n) RTABapdu 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 RTABapdu, encoded as an ASN.1 Element. */ export declare function _encode_RTABapdu(value: RTABapdu, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=RTABapdu.ta.d.mts.map