UNPKG

@wildboar/copp

Version:

Connection-oriented presentation protocol (COPP) data structures and business logic in TypeScript

192 lines 6.82 kB
import { OPTIONAL, ASN1Element as _Element } from '@wildboar/asn1'; import * as $ from '@wildboar/asn1/functional'; import { Protocol_version } from '../ISO8823-PRESENTATION/Protocol-version.ta.mjs'; import { Responding_presentation_selector } from '../ISO8823-PRESENTATION/Responding-presentation-selector.ta.mjs'; import { Presentation_context_definition_result_list } from '../ISO8823-PRESENTATION/Presentation-context-definition-result-list.ta.mjs'; import { Presentation_requirements } from '../ISO8823-PRESENTATION/Presentation-requirements.ta.mjs'; import { User_session_requirements } from '../ISO8823-PRESENTATION/User-session-requirements.ta.mjs'; import { Protocol_options } from '../ISO8823-PRESENTATION/Protocol-options.ta.mjs'; import { Presentation_context_identifier } from '../ISO8823-PRESENTATION/Presentation-context-identifier.ta.mjs'; import { User_data } from '../ISO8823-PRESENTATION/User-data.ta.mjs'; /** * @summary CPA_PPDU_normal_mode_parameters * @description * * ### ASN.1 Definition: * * ```asn1 * CPA-PPDU-normal-mode-parameters ::= SEQUENCE { -- REMOVED_FROM_UNNESTING -- } * ``` * */ export declare class CPA_PPDU_normal_mode_parameters { /** * @summary `protocol_version`. * @public * @readonly */ readonly protocol_version?: OPTIONAL<Protocol_version>; /** * @summary `responding_presentation_selector`. * @public * @readonly */ readonly responding_presentation_selector?: OPTIONAL<Responding_presentation_selector>; /** * @summary `presentation_context_definition_result_list`. * @public * @readonly */ readonly presentation_context_definition_result_list?: OPTIONAL<Presentation_context_definition_result_list>; /** * @summary `presentation_requirements`. * @public * @readonly */ readonly presentation_requirements?: OPTIONAL<Presentation_requirements>; /** * @summary `user_session_requirements`. * @public * @readonly */ readonly user_session_requirements?: OPTIONAL<User_session_requirements>; /** * @summary `protocol_options`. * @public * @readonly */ readonly protocol_options?: OPTIONAL<Protocol_options>; /** * @summary `responders_nominated_context`. * @public * @readonly */ readonly responders_nominated_context?: OPTIONAL<Presentation_context_identifier>; /** * @summary `user_data`. * @public * @readonly */ readonly user_data?: OPTIONAL<User_data>; constructor( /** * @summary `protocol_version`. * @public * @readonly */ protocol_version?: OPTIONAL<Protocol_version>, /** * @summary `responding_presentation_selector`. * @public * @readonly */ responding_presentation_selector?: OPTIONAL<Responding_presentation_selector>, /** * @summary `presentation_context_definition_result_list`. * @public * @readonly */ presentation_context_definition_result_list?: OPTIONAL<Presentation_context_definition_result_list>, /** * @summary `presentation_requirements`. * @public * @readonly */ presentation_requirements?: OPTIONAL<Presentation_requirements>, /** * @summary `user_session_requirements`. * @public * @readonly */ user_session_requirements?: OPTIONAL<User_session_requirements>, /** * @summary `protocol_options`. * @public * @readonly */ protocol_options?: OPTIONAL<Protocol_options>, /** * @summary `responders_nominated_context`. * @public * @readonly */ responders_nominated_context?: OPTIONAL<Presentation_context_identifier>, /** * @summary `user_data`. * @public * @readonly */ user_data?: OPTIONAL<User_data>); /** * @summary Restructures an object into a CPA_PPDU_normal_mode_parameters * @description * * This takes an `object` and converts it to a `CPA_PPDU_normal_mode_parameters`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `CPA_PPDU_normal_mode_parameters`. * @returns {CPA_PPDU_normal_mode_parameters} */ static _from_object(_o: { [_K in keyof CPA_PPDU_normal_mode_parameters]: CPA_PPDU_normal_mode_parameters[_K]; }): CPA_PPDU_normal_mode_parameters; /** * @summary Getter that returns the default value for `protocol_version`. * @public * @static * @method */ static get _default_value_for_protocol_version(): Protocol_version; /** * @summary Getter that returns the default value for `protocol_options`. * @public * @static * @method */ static get _default_value_for_protocol_options(): Protocol_options; } /** * @summary The Leading Root Component Types of CPA_PPDU_normal_mode_parameters * @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_CPA_PPDU_normal_mode_parameters: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of CPA_PPDU_normal_mode_parameters * @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_CPA_PPDU_normal_mode_parameters: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of CPA_PPDU_normal_mode_parameters * @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_CPA_PPDU_normal_mode_parameters: $.ComponentSpec[]; /** * @summary Decodes an ASN.1 element into a(n) CPA_PPDU_normal_mode_parameters * @function * @param {_Element} el The element being decoded. * @returns {CPA_PPDU_normal_mode_parameters} The decoded data structure. */ export declare function _decode_CPA_PPDU_normal_mode_parameters(el: _Element): CPA_PPDU_normal_mode_parameters; /** * @summary Encodes a(n) CPA_PPDU_normal_mode_parameters 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 CPA_PPDU_normal_mode_parameters, encoded as an ASN.1 Element. */ export declare function _encode_CPA_PPDU_normal_mode_parameters(value: CPA_PPDU_normal_mode_parameters, elGetter: $.ASN1Encoder<CPA_PPDU_normal_mode_parameters>): _Element; //# sourceMappingURL=CPA-PPDU-normal-mode-parameters.ta.d.mts.map