@wildboar/acse
Version:
Association Control Service Element PDUs in TypeScript
173 lines • 5.28 kB
text/typescript
import { OPTIONAL, ASN1Element as _Element } from '@wildboar/asn1';
import * as $ from '@wildboar/asn1/functional';
import { ASO_qualifier } from '../ACSE-1/ASO-qualifier.ta.mjs';
import { ASOI_identifier } from '../ACSE-1/ASOI-identifier.ta.mjs';
import { ASO_context_name } from '../ACSE-1/ASO-context-name.ta.mjs';
import { ASO_context_name_list } from '../ACSE-1/ASO-context-name-list.ta.mjs';
import { Syntactic_context_list } from '../ACSE-1/Syntactic-context-list.ta.mjs';
import { User_information } from '../ACSE-1/User-information.ta.mjs';
/**
* @summary ACRQ_apdu
* @description
*
* ### ASN.1 Definition:
*
* ```asn1
* ACRQ-apdu ::= [APPLICATION 6] IMPLICIT SEQUENCE {
* aso-qualifier [0] IMPLICIT ASO-qualifier OPTIONAL,
* asoi-identifier [1] IMPLICIT ASOI-identifier OPTIONAL,
* aSO-context-name [3] IMPLICIT ASO-context-name OPTIONAL,
* aSO-context-name-list [4] IMPLICIT ASO-context-name-list OPTIONAL,
* p-context-definition-list [5] Syntactic-context-list OPTIONAL,
* ...,
* ...,
* user-information [30] IMPLICIT User-information OPTIONAL
* }
* ```
*
*/
export declare class ACRQ_apdu {
/**
* @summary `aso_qualifier`.
* @public
* @readonly
*/
readonly aso_qualifier: OPTIONAL<ASO_qualifier>;
/**
* @summary `asoi_identifier`.
* @public
* @readonly
*/
readonly asoi_identifier: OPTIONAL<ASOI_identifier>;
/**
* @summary `aSO_context_name`.
* @public
* @readonly
*/
readonly aSO_context_name: OPTIONAL<ASO_context_name>;
/**
* @summary `aSO_context_name_list`.
* @public
* @readonly
*/
readonly aSO_context_name_list: OPTIONAL<ASO_context_name_list>;
/**
* @summary `p_context_definition_list`.
* @public
* @readonly
*/
readonly p_context_definition_list: OPTIONAL<Syntactic_context_list>;
/**
* @summary Extensions that are not recognized.
* @public
* @readonly
*/
readonly _unrecognizedExtensionsList: _Element[];
/**
* @summary `user_information`.
* @public
* @readonly
*/
readonly user_information: OPTIONAL<User_information>;
constructor(
/**
* @summary `aso_qualifier`.
* @public
* @readonly
*/
aso_qualifier: OPTIONAL<ASO_qualifier>,
/**
* @summary `asoi_identifier`.
* @public
* @readonly
*/
asoi_identifier: OPTIONAL<ASOI_identifier>,
/**
* @summary `aSO_context_name`.
* @public
* @readonly
*/
aSO_context_name: OPTIONAL<ASO_context_name>,
/**
* @summary `aSO_context_name_list`.
* @public
* @readonly
*/
aSO_context_name_list: OPTIONAL<ASO_context_name_list>,
/**
* @summary `p_context_definition_list`.
* @public
* @readonly
*/
p_context_definition_list: OPTIONAL<Syntactic_context_list>,
/**
* @summary Extensions that are not recognized.
* @public
* @readonly
*/
_unrecognizedExtensionsList: _Element[],
/**
* @summary `user_information`.
* @public
* @readonly
*/
user_information: OPTIONAL<User_information>);
/**
* @summary Restructures an object into a ACRQ_apdu
* @description
*
* This takes an `object` and converts it to a `ACRQ_apdu`.
*
* @public
* @static
* @method
* @param {Object} _o An object having all of the keys and values of a `ACRQ_apdu`.
* @returns {ACRQ_apdu}
*/
static _from_object(_o: {
[_K in keyof ACRQ_apdu]: ACRQ_apdu[_K];
}): ACRQ_apdu;
}
/**
* @summary The Leading Root Component Types of ACRQ_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_ACRQ_apdu: $.ComponentSpec[];
/**
* @summary The Trailing Root Component Types of ACRQ_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_ACRQ_apdu: $.ComponentSpec[];
/**
* @summary The Extension Addition Component Types of ACRQ_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_ACRQ_apdu: $.ComponentSpec[];
/**
* @summary Decodes an ASN.1 element into a(n) ACRQ_apdu
* @function
* @param {_Element} el The element being decoded.
* @returns {ACRQ_apdu} The decoded data structure.
*/
export declare function _decode_ACRQ_apdu(el: _Element): ACRQ_apdu;
/**
* @summary Encodes a(n) ACRQ_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 ACRQ_apdu, encoded as an ASN.1 Element.
*/
export declare function _encode_ACRQ_apdu(value: ACRQ_apdu, elGetter: $.ASN1Encoder<ACRQ_apdu>): _Element;
//# sourceMappingURL=ACRQ-apdu.ta.d.mts.map