import { ASN1Element as _Element, INTEGER } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; import { IdmReject_reason, _enum_for_IdmReject_reason } from "../IDMProtocolSpecification/IdmReject-reason.ta.mjs"; /** * @summary IdmReject * @description * * ### ASN.1 Definition: * * ```asn1 * IdmReject ::= SEQUENCE { * invokeID INTEGER, * reason ENUMERATED { * mistypedPDU (0), * duplicateInvokeIDRequest (1), * unsupportedOperationRequest (2), * unknownOperationRequest (3), * mistypedArgumentRequest (4), * resourceLimitationRequest (5), * unknownInvokeIDResult (6), * mistypedResultRequest (7), * unknownInvokeIDError (8), * unknownError (9), * mistypedParameterError (10), * unsupportedIdmVersion (11), * unsuitableIdmVersion (12), * invalidIdmVersion (13), * ...}, * ... } * ``` * */ export declare class IdmReject { /** * @summary `invokeID`. * @public * @readonly */ readonly invokeID: INTEGER; /** * @summary `reason`. * @public * @readonly */ readonly reason: IdmReject_reason; /** * @summary Extensions that are not recognized. * @public * @readonly */ readonly _unrecognizedExtensionsList: _Element[]; constructor( /** * @summary `invokeID`. * @public * @readonly */ invokeID: INTEGER, /** * @summary `reason`. * @public * @readonly */ reason: IdmReject_reason, /** * @summary Extensions that are not recognized. * @public * @readonly */ _unrecognizedExtensionsList?: _Element[]); /** * @summary Restructures an object into a IdmReject * @description * * This takes an `object` and converts it to a `IdmReject`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `IdmReject`. * @returns {IdmReject} */ static _from_object(_o: { [_K in keyof IdmReject]: IdmReject[_K]; }): IdmReject; /** * @summary The enum used as the type of the component `reason` * @public * @static */ static _enum_for_reason: typeof _enum_for_IdmReject_reason; } /** * @summary The Leading Root Component Types of IdmReject * @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_IdmReject: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of IdmReject * @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_IdmReject: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of IdmReject * @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_IdmReject: $.ComponentSpec[]; /** * @summary Decodes an ASN.1 element into a(n) IdmReject * @function * @param {_Element} el The element being decoded. * @returns {IdmReject} The decoded data structure. */ export declare function _decode_IdmReject(el: _Element): IdmReject; /** * @summary Encodes a(n) IdmReject 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 IdmReject, encoded as an ASN.1 Element. */ export declare function _encode_IdmReject(value: IdmReject, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=IdmReject.ta.d.mts.map