import { ASN1Element as _Element } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; import { OsiBindResult_mode_selector } from "../OSIProtocolSpecification/OsiBindResult-mode-selector.ta.mjs"; import { OsiBindResult_normal_mode_parameters } from "../OSIProtocolSpecification/OsiBindResult-normal-mode-parameters.ta.mjs"; /** * @summary OsiBindResult * @description * * ### ASN.1 Definition: * * ```asn1 * OsiBindResult{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}, * responding-presentation-selector [3] IMPLICIT Presentation-selector OPTIONAL, * presentation-context-definition-result-list * [5] IMPLICIT SEQUENCE SIZE (2) OF SEQUENCE { * result [0] IMPLICIT Result(acceptance), * transfer-syntax-name [1] IMPLICIT Transfer-syntax-name }, * 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(AARE-apdu{{Protocols}} * )}}}}} * ``` * */ export declare class OsiBindResult { /** * @summary `mode_selector`. * @public * @readonly */ readonly mode_selector: OsiBindResult_mode_selector; /** * @summary `normal_mode_parameters`. * @public * @readonly */ readonly normal_mode_parameters: OsiBindResult_normal_mode_parameters; constructor( /** * @summary `mode_selector`. * @public * @readonly */ mode_selector: OsiBindResult_mode_selector, /** * @summary `normal_mode_parameters`. * @public * @readonly */ normal_mode_parameters: OsiBindResult_normal_mode_parameters); /** * @summary Restructures an object into a OsiBindResult * @description * * This takes an `object` and converts it to a `OsiBindResult`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `OsiBindResult`. * @returns {OsiBindResult} */ static _from_object(_o: { [_K in keyof OsiBindResult]: OsiBindResult[_K]; }): OsiBindResult; } /** * @summary The Leading Root Component Types of OsiBindResult * @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_OsiBindResult: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of OsiBindResult * @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_OsiBindResult: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of OsiBindResult * @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_OsiBindResult: $.ComponentSpec[]; /** * @summary Decodes an ASN.1 element into a(n) OsiBindResult * @function * @param {_Element} el The element being decoded. * @returns {OsiBindResult} The decoded data structure. */ export declare function _decode_OsiBindResult(el: _Element): OsiBindResult; /** * @summary Encodes a(n) OsiBindResult 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 OsiBindResult, encoded as an ASN.1 Element. */ export declare function _encode_OsiBindResult(value: OsiBindResult, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=OsiBindResult.ta.d.mts.map