import { ASN1Element as _Element } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; import { OsiBind_mode_selector } from "../OSIProtocolSpecification/OsiBind-mode-selector.ta.mjs"; import { OsiBind_normal_mode_parameters } from "../OSIProtocolSpecification/OsiBind-normal-mode-parameters.ta.mjs"; /** * @summary OsiBind * @description * * ### ASN.1 Definition: * * ```asn1 * OsiBind{APPLICATION-CONTEXT:Protocols} ::= SET { * mode-selector [0] IMPLICIT SET { * mode-value [0] IMPLICIT INTEGER(1)}, * normal-mode-parameters [2] IMPLICIT SEQUENCE { * protocol-version [0] IMPLICIT BIT STRING {version-1(0)} * DEFAULT {version-1}, * calling-presentation-selector [1] IMPLICIT Presentation-selector OPTIONAL, * called-presentation-selector [2] IMPLICIT Presentation-selector OPTIONAL, * presentation-context-definition-list * [4] IMPLICIT Context-list, * user-data CHOICE { * fully-encoded-data [APPLICATION 1] IMPLICIT SEQUENCE SIZE (1) OF SEQUENCE { * transfer-syntax-name Transfer-syntax-name OPTIONAL, * presentation-context-identifier Presentation-context-identifier, * presentation-data-values CHOICE { * single-ASN1-type [0] ABSTRACT-SYNTAX.&Type * (AARQ-apdu{{Protocols}})}}}}} * ``` * */ export declare class OsiBind { /** * @summary `mode_selector`. * @public * @readonly */ readonly mode_selector: OsiBind_mode_selector; /** * @summary `normal_mode_parameters`. * @public * @readonly */ readonly normal_mode_parameters: OsiBind_normal_mode_parameters; constructor( /** * @summary `mode_selector`. * @public * @readonly */ mode_selector: OsiBind_mode_selector, /** * @summary `normal_mode_parameters`. * @public * @readonly */ normal_mode_parameters: OsiBind_normal_mode_parameters); /** * @summary Restructures an object into a OsiBind * @description * * This takes an `object` and converts it to a `OsiBind`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `OsiBind`. * @returns {OsiBind} */ static _from_object(_o: { [_K in keyof OsiBind]: OsiBind[_K]; }): OsiBind; } /** * @summary The Leading Root Component Types of OsiBind * @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_OsiBind: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of OsiBind * @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_OsiBind: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of OsiBind * @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_OsiBind: $.ComponentSpec[]; /** * @summary Decodes an ASN.1 element into a(n) OsiBind * @function * @param {_Element} el The element being decoded. * @returns {OsiBind} The decoded data structure. */ export declare function _decode_OsiBind(el: _Element): OsiBind; /** * @summary Encodes a(n) OsiBind 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 OsiBind, encoded as an ASN.1 Element. */ export declare function _encode_OsiBind(value: OsiBind, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=OsiBind.ta.d.mts.map