import { ASN1Element as _Element, OPTIONAL } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; import { Name } from "../InformationFramework/Name.ta.mjs"; import { RelativeDistinguishedName } from "../InformationFramework/RelativeDistinguishedName.ta.mjs"; import { AAREerr_apdu_protocol_version } from "../OSIProtocolSpecification/AAREerr-apdu-protocol-version.ta.mjs"; import { AE_invocation_identifier } from "../OSIProtocolSpecification/AE-invocation-identifier.ta.mjs"; import { AP_invocation_identifier } from "../OSIProtocolSpecification/AP-invocation-identifier.ta.mjs"; import { Application_context_name } from "../OSIProtocolSpecification/Application-context-name.ta.mjs"; import { Associate_result } from "../OSIProtocolSpecification/Associate-result.ta.mjs"; import { Associate_source_diagnostic } from "../OSIProtocolSpecification/Associate-source-diagnostic.ta.mjs"; import { Association_informationBindErr } from "../OSIProtocolSpecification/Association-informationBindErr.ta.mjs"; import { Implementation_data } from "../OSIProtocolSpecification/Implementation-data.ta.mjs"; /** * @summary AAREerr_apdu * @description * * ### ASN.1 Definition: * * ```asn1 * AAREerr-apdu{APPLICATION-CONTEXT:Protocols} ::= [APPLICATION 1] IMPLICIT SEQUENCE { * protocol-version [0] IMPLICIT BIT STRING {version1(0)} * DEFAULT {version1}, * application-context-name [1] Application-context-name, * result [2] Associate-result * (rejected-permanent..rejected-transient), * result-source-diagnostic [3] Associate-source-diagnostic, * responding-AP-title [4] Name OPTIONAL, * responding-AE-qualifier [5] RelativeDistinguishedName OPTIONAL, * responding-AP-invocation-identifier [6] AP-invocation-identifier OPTIONAL, * responding-AE-invocation-identifier [7] AE-invocation-identifier OPTIONAL, * implementation-information [29] IMPLICIT Implementation-data OPTIONAL, * user-information [30] IMPLICIT * Association-informationBindErr{{Protocols}} OPTIONAL } * ``` * */ export declare class AAREerr_apdu { /** * @summary `protocol_version`. * @public * @readonly */ readonly protocol_version: OPTIONAL; /** * @summary `application_context_name`. * @public * @readonly */ readonly application_context_name: Application_context_name; /** * @summary `result`. * @public * @readonly */ readonly result: Associate_result; /** * @summary `result_source_diagnostic`. * @public * @readonly */ readonly result_source_diagnostic: Associate_source_diagnostic; /** * @summary `responding_AP_title`. * @public * @readonly */ readonly responding_AP_title?: OPTIONAL; /** * @summary `responding_AE_qualifier`. * @public * @readonly */ readonly responding_AE_qualifier?: OPTIONAL; /** * @summary `responding_AP_invocation_identifier`. * @public * @readonly */ readonly responding_AP_invocation_identifier?: OPTIONAL; /** * @summary `responding_AE_invocation_identifier`. * @public * @readonly */ readonly responding_AE_invocation_identifier?: OPTIONAL; /** * @summary `implementation_information`. * @public * @readonly */ readonly implementation_information?: OPTIONAL; /** * @summary `user_information`. * @public * @readonly */ readonly user_information?: OPTIONAL; constructor( /** * @summary `protocol_version`. * @public * @readonly */ protocol_version: OPTIONAL, /** * @summary `application_context_name`. * @public * @readonly */ application_context_name: Application_context_name, /** * @summary `result`. * @public * @readonly */ result: Associate_result, /** * @summary `result_source_diagnostic`. * @public * @readonly */ result_source_diagnostic: Associate_source_diagnostic, /** * @summary `responding_AP_title`. * @public * @readonly */ responding_AP_title?: OPTIONAL, /** * @summary `responding_AE_qualifier`. * @public * @readonly */ responding_AE_qualifier?: OPTIONAL, /** * @summary `responding_AP_invocation_identifier`. * @public * @readonly */ responding_AP_invocation_identifier?: OPTIONAL, /** * @summary `responding_AE_invocation_identifier`. * @public * @readonly */ responding_AE_invocation_identifier?: OPTIONAL, /** * @summary `implementation_information`. * @public * @readonly */ implementation_information?: OPTIONAL, /** * @summary `user_information`. * @public * @readonly */ user_information?: OPTIONAL); /** * @summary Restructures an object into a AAREerr_apdu * @description * * This takes an `object` and converts it to a `AAREerr_apdu`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `AAREerr_apdu`. * @returns {AAREerr_apdu} */ static _from_object(_o: { [_K in keyof AAREerr_apdu]: AAREerr_apdu[_K]; }): AAREerr_apdu; /** * @summary Getter that returns the default value for `protocol_version`. * @public * @static * @method */ static get _default_value_for_protocol_version(): AAREerr_apdu_protocol_version; } /** * @summary The Leading Root Component Types of AAREerr_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_AAREerr_apdu: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of AAREerr_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_AAREerr_apdu: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of AAREerr_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_AAREerr_apdu: $.ComponentSpec[]; /** * @summary Decodes an ASN.1 element into a(n) AAREerr_apdu * @function * @param {_Element} el The element being decoded. * @returns {AAREerr_apdu} The decoded data structure. */ export declare function _decode_AAREerr_apdu(el: _Element): AAREerr_apdu; /** * @summary Encodes a(n) AAREerr_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 AAREerr_apdu, encoded as an ASN.1 Element. */ export declare function _encode_AAREerr_apdu(value: AAREerr_apdu, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=AAREerr-apdu.ta.d.mts.map