@wildboar/acse
Version:
Association Control Service Element PDUs in TypeScript
147 lines • 4.4 kB
text/typescript
import { OPTIONAL, ASN1Element as _Element } from '@wildboar/asn1';
import * as $ from '@wildboar/asn1/functional';
import { Release_request_reason } from '../ACSE-1/Release-request-reason.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 RLRQ_apdu
* @description
*
* ### ASN.1 Definition:
*
* ```asn1
* RLRQ-apdu ::= [APPLICATION 2] IMPLICIT SEQUENCE {
* reason [0] IMPLICIT Release-request-reason OPTIONAL,
* ...,
* -- 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 RLRQ_apdu {
/**
* @summary `reason`.
* @public
* @readonly
*/
readonly reason: OPTIONAL<Release_request_reason>;
/**
* @summary `aso_qualifier`.
* @public
* @readonly
*/
readonly aso_qualifier: OPTIONAL<ASO_qualifier>;
/**
* @summary `asoi_identifier`.
* @public
* @readonly
*/
readonly asoi_identifier: OPTIONAL<ASOI_identifier>;
/**
* @summary Extensions that are not recognized.
* @public
* @readonly
*/
readonly _unrecognizedExtensionsList: _Element[];
/**
* @summary `user_information`.
* @public
* @readonly
*/
readonly user_information: OPTIONAL<Association_data>;
constructor(
/**
* @summary `reason`.
* @public
* @readonly
*/
reason: OPTIONAL<Release_request_reason>,
/**
* @summary `aso_qualifier`.
* @public
* @readonly
*/
aso_qualifier: OPTIONAL<ASO_qualifier>,
/**
* @summary `asoi_identifier`.
* @public
* @readonly
*/
asoi_identifier: OPTIONAL<ASOI_identifier>,
/**
* @summary Extensions that are not recognized.
* @public
* @readonly
*/
_unrecognizedExtensionsList: _Element[],
/**
* @summary `user_information`.
* @public
* @readonly
*/
user_information: OPTIONAL<Association_data>);
/**
* @summary Restructures an object into a RLRQ_apdu
* @description
*
* This takes an `object` and converts it to a `RLRQ_apdu`.
*
* @public
* @static
* @method
* @param {Object} _o An object having all of the keys and values of a `RLRQ_apdu`.
* @returns {RLRQ_apdu}
*/
static _from_object(_o: {
[_K in keyof RLRQ_apdu]: RLRQ_apdu[_K];
}): RLRQ_apdu;
}
/**
* @summary The Leading Root Component Types of RLRQ_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_RLRQ_apdu: $.ComponentSpec[];
/**
* @summary The Trailing Root Component Types of RLRQ_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_RLRQ_apdu: $.ComponentSpec[];
/**
* @summary The Extension Addition Component Types of RLRQ_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_RLRQ_apdu: $.ComponentSpec[];
/**
* @summary Decodes an ASN.1 element into a(n) RLRQ_apdu
* @function
* @param {_Element} el The element being decoded.
* @returns {RLRQ_apdu} The decoded data structure.
*/
export declare function _decode_RLRQ_apdu(el: _Element): RLRQ_apdu;
/**
* @summary Encodes a(n) RLRQ_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 RLRQ_apdu, encoded as an ASN.1 Element.
*/
export declare function _encode_RLRQ_apdu(value: RLRQ_apdu, elGetter: $.ASN1Encoder<RLRQ_apdu>): _Element;
//# sourceMappingURL=RLRQ-apdu.ta.d.mts.map