import { OPTIONAL, INTEGER, ASN1Element as _Element } from '@wildboar/asn1'; import * as $ from '@wildboar/asn1/functional'; import { RTORQapdu_dialogueMode } from '../Reliable-Transfer-APDU/RTORQapdu-dialogueMode.ta.mjs'; import { ConnectionData } from '../Reliable-Transfer-APDU/ConnectionData.ta.mjs'; /** * @summary RTORQapdu * @description * * ### ASN.1 Definition: * * ```asn1 * RTORQapdu ::= SET { * checkpointSize [0] IMPLICIT INTEGER DEFAULT 0, * windowSize [1] IMPLICIT INTEGER DEFAULT 3, * dialogueMode * [2] IMPLICIT INTEGER {monologue(0), twa(1)} DEFAULT monologue, * connectionDataRQ [3] ConnectionData, * applicationProtocol * [4] IMPLICIT INTEGER OPTIONAL --solely in X.410-1984 mode-- * } * ``` * */ export declare class RTORQapdu { /** * @summary `checkpointSize`. * @public * @readonly */ readonly checkpointSize: OPTIONAL; /** * @summary `windowSize`. * @public * @readonly */ readonly windowSize: OPTIONAL; /** * @summary `dialogueMode`. * @public * @readonly */ readonly dialogueMode: OPTIONAL; /** * @summary `connectionDataRQ`. * @public * @readonly */ readonly connectionDataRQ: ConnectionData; /** * @summary `applicationProtocol`. * @public * @readonly */ readonly applicationProtocol?: OPTIONAL; constructor( /** * @summary `checkpointSize`. * @public * @readonly */ checkpointSize: OPTIONAL, /** * @summary `windowSize`. * @public * @readonly */ windowSize: OPTIONAL, /** * @summary `dialogueMode`. * @public * @readonly */ dialogueMode: OPTIONAL, /** * @summary `connectionDataRQ`. * @public * @readonly */ connectionDataRQ: ConnectionData, /** * @summary `applicationProtocol`. * @public * @readonly */ applicationProtocol?: OPTIONAL); /** * @summary Restructures an object into a RTORQapdu * @description * * This takes an `object` and converts it to a `RTORQapdu`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `RTORQapdu`. * @returns {RTORQapdu} */ static _from_object(_o: { [_K in keyof RTORQapdu]: RTORQapdu[_K]; }): RTORQapdu; /** * @summary Getter that returns the default value for `checkpointSize`. * @public * @static * @method */ static get _default_value_for_checkpointSize(): INTEGER; /** * @summary Getter that returns the default value for `windowSize`. * @public * @static * @method */ static get _default_value_for_windowSize(): INTEGER; /** * @summary Getter that returns the default value for `dialogueMode`. * @public * @static * @method */ static get _default_value_for_dialogueMode(): RTORQapdu_dialogueMode; } /** * @summary The Leading Root Component Types of RTORQapdu * @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_RTORQapdu: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of RTORQapdu * @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_RTORQapdu: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of RTORQapdu * @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_RTORQapdu: $.ComponentSpec[]; /** * @summary Decodes an ASN.1 element into a(n) RTORQapdu * @function * @param {_Element} el The element being decoded. * @returns {RTORQapdu} The decoded data structure. */ export declare function _decode_RTORQapdu(el: _Element): RTORQapdu; /** * @summary Encodes a(n) RTORQapdu 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 RTORQapdu, encoded as an ASN.1 Element. */ export declare function _encode_RTORQapdu(value: RTORQapdu, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=RTORQapdu.ta.d.mts.map