import { OPTIONAL, INTEGER, ASN1Element as _Element } from '@wildboar/asn1'; import * as $ from '@wildboar/asn1/functional'; import { ConnectionData } from '../Reliable-Transfer-APDU/ConnectionData.ta.mjs'; /** * @summary RTOACapdu * @description * * ### ASN.1 Definition: * * ```asn1 * RTOACapdu ::= SET { * checkpointSize [0] IMPLICIT INTEGER DEFAULT 0, * windowSize [1] IMPLICIT INTEGER DEFAULT 3, * connectionDataAC [2] ConnectionData * } * ``` * */ export declare class RTOACapdu { /** * @summary `checkpointSize`. * @public * @readonly */ readonly checkpointSize: OPTIONAL; /** * @summary `windowSize`. * @public * @readonly */ readonly windowSize: OPTIONAL; /** * @summary `connectionDataAC`. * @public * @readonly */ readonly connectionDataAC: ConnectionData; constructor( /** * @summary `checkpointSize`. * @public * @readonly */ checkpointSize: OPTIONAL, /** * @summary `windowSize`. * @public * @readonly */ windowSize: OPTIONAL, /** * @summary `connectionDataAC`. * @public * @readonly */ connectionDataAC: ConnectionData); /** * @summary Restructures an object into a RTOACapdu * @description * * This takes an `object` and converts it to a `RTOACapdu`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `RTOACapdu`. * @returns {RTOACapdu} */ static _from_object(_o: { [_K in keyof RTOACapdu]: RTOACapdu[_K]; }): RTOACapdu; /** * @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 The Leading Root Component Types of RTOACapdu * @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_RTOACapdu: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of RTOACapdu * @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_RTOACapdu: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of RTOACapdu * @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_RTOACapdu: $.ComponentSpec[]; /** * @summary Decodes an ASN.1 element into a(n) RTOACapdu * @function * @param {_Element} el The element being decoded. * @returns {RTOACapdu} The decoded data structure. */ export declare function _decode_RTOACapdu(el: _Element): RTOACapdu; /** * @summary Encodes a(n) RTOACapdu 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 RTOACapdu, encoded as an ASN.1 Element. */ export declare function _encode_RTOACapdu(value: RTOACapdu, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=RTOACapdu.ta.d.mts.map