import { OPTIONAL, OCTET_STRING, ASN1Element as _Element } from '@wildboar/asn1'; import * as $ from '@wildboar/asn1/functional'; import { LDAPResult } from '../Lightweight-Directory-Access-Protocol-V3/LDAPResult.ta.mjs'; import { LDAPOID } from '../Lightweight-Directory-Access-Protocol-V3/LDAPOID.ta.mjs'; import { LDAPResult_resultCode, _enum_for_LDAPResult_resultCode } from '../Lightweight-Directory-Access-Protocol-V3/LDAPResult-resultCode.ta.mjs'; import { LDAPDN } from '../Lightweight-Directory-Access-Protocol-V3/LDAPDN.ta.mjs'; import { LDAPString } from '../Lightweight-Directory-Access-Protocol-V3/LDAPString.ta.mjs'; import { Referral } from '../Lightweight-Directory-Access-Protocol-V3/Referral.ta.mjs'; /** * @summary ExtendedResponse * @description * * ### ASN.1 Definition: * * ```asn1 * ExtendedResponse ::= [APPLICATION 24] SEQUENCE { * COMPONENTS OF LDAPResult, * responseName [10] LDAPOID OPTIONAL, * responseValue [11] OCTET STRING OPTIONAL * } * ``` * */ export declare class ExtendedResponse implements LDAPResult { /** * @summary `resultCode`. * @public * @readonly */ readonly resultCode: LDAPResult_resultCode; /** * @summary `matchedDN`. * @public * @readonly */ readonly matchedDN: LDAPDN; /** * @summary `diagnosticMessage`. * @public * @readonly */ readonly diagnosticMessage: LDAPString; /** * @summary `referral`. * @public * @readonly */ readonly referral?: OPTIONAL; /** * @summary `responseName`. * @public * @readonly */ readonly responseName?: OPTIONAL; /** * @summary `responseValue`. * @public * @readonly */ readonly responseValue?: OPTIONAL; /** * @summary Extensions that are not recognized. * @public * @readonly */ readonly _unrecognizedExtensionsList: _Element[]; constructor( /** * @summary `resultCode`. * @public * @readonly */ resultCode: LDAPResult_resultCode, /** * @summary `matchedDN`. * @public * @readonly */ matchedDN: LDAPDN, /** * @summary `diagnosticMessage`. * @public * @readonly */ diagnosticMessage: LDAPString, /** * @summary `referral`. * @public * @readonly */ referral?: OPTIONAL, /** * @summary `responseName`. * @public * @readonly */ responseName?: OPTIONAL, /** * @summary `responseValue`. * @public * @readonly */ responseValue?: OPTIONAL, /** * @summary Extensions that are not recognized. * @public * @readonly */ _unrecognizedExtensionsList?: _Element[]); /** * @summary Restructures an object into a ExtendedResponse * @description * * This takes an `object` and converts it to a `ExtendedResponse`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `ExtendedResponse`. * @returns {ExtendedResponse} */ static _from_object(_o: { [_K in keyof ExtendedResponse]: ExtendedResponse[_K]; }): ExtendedResponse; /** * @summary The enum used as the type of the component `resultCode` * @public * @static */ static _enum_for_resultCode: typeof _enum_for_LDAPResult_resultCode; } /** * @summary The Leading Root Component Types of ExtendedResponse * @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_ExtendedResponse: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of ExtendedResponse * @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_ExtendedResponse: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of ExtendedResponse * @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_ExtendedResponse: $.ComponentSpec[]; /** * @summary Decodes an ASN.1 element into a(n) ExtendedResponse * @function * @param {_Element} el The element being decoded. * @returns {ExtendedResponse} The decoded data structure. */ export declare function _decode_ExtendedResponse(el: _Element): ExtendedResponse; /** * @summary Encodes a(n) ExtendedResponse 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 ExtendedResponse, encoded as an ASN.1 Element. */ export declare function _encode_ExtendedResponse(value: ExtendedResponse, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=ExtendedResponse.ta.d.mts.map