import { ASN1Element as _Element, BOOLEAN, OPTIONAL } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; import { SecurityParameters } from "../DirectoryAbstractService/SecurityParameters.ta.mjs"; import { Attribute } from "../InformationFramework/Attribute.ta.mjs"; import { AttributeType } from "../InformationFramework/AttributeType.ta.mjs"; import { DistinguishedName } from "../InformationFramework/DistinguishedName.ta.mjs"; import { Name } from "../InformationFramework/Name.ta.mjs"; import { CommonResults } from "../DirectoryAbstractService/CommonResults.ta.mjs"; /** * @summary CompareResultData * @description * * ### ASN.1 Definition: * * ```asn1 * CompareResultData ::= SET { * name Name OPTIONAL, * matched [0] BOOLEAN, * fromEntry [1] BOOLEAN DEFAULT TRUE, * matchedSubtype [2] AttributeType OPTIONAL, * ..., * ..., * COMPONENTS OF CommonResults } * ``` * */ export declare class CompareResultData implements CommonResults { /** * @summary `name`. * @public * @readonly */ readonly name: OPTIONAL; /** * @summary `matched`. * @public * @readonly */ readonly matched: BOOLEAN; /** * @summary `fromEntry`. * @public * @readonly */ readonly fromEntry?: OPTIONAL; /** * @summary `matchedSubtype`. * @public * @readonly */ readonly matchedSubtype?: OPTIONAL; /** * @summary Extensions that are not recognized. * @public * @readonly */ readonly _unrecognizedExtensionsList: _Element[]; /** * @summary `securityParameters`. * @public * @readonly */ readonly securityParameters?: OPTIONAL; /** * @summary `performer`. * @public * @readonly */ readonly performer?: OPTIONAL; /** * @summary `aliasDereferenced`. * @public * @readonly */ readonly aliasDereferenced?: OPTIONAL; /** * @summary `notification`. * @public * @readonly */ readonly notification?: OPTIONAL; constructor( /** * @summary `name`. * @public * @readonly */ name: OPTIONAL, /** * @summary `matched`. * @public * @readonly */ matched: BOOLEAN, /** * @summary `fromEntry`. * @public * @readonly */ fromEntry?: OPTIONAL, /** * @summary `matchedSubtype`. * @public * @readonly */ matchedSubtype?: OPTIONAL, /** * @summary Extensions that are not recognized. * @public * @readonly */ _unrecognizedExtensionsList?: _Element[], /** * @summary `securityParameters`. * @public * @readonly */ securityParameters?: OPTIONAL, /** * @summary `performer`. * @public * @readonly */ performer?: OPTIONAL, /** * @summary `aliasDereferenced`. * @public * @readonly */ aliasDereferenced?: OPTIONAL, /** * @summary `notification`. * @public * @readonly */ notification?: OPTIONAL); /** * @summary Restructures an object into a CompareResultData * @description * * This takes an `object` and converts it to a `CompareResultData`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `CompareResultData`. * @returns {CompareResultData} */ static _from_object(_o: { [_K in keyof CompareResultData]: CompareResultData[_K]; }): CompareResultData; /** * @summary Getter that returns the default value for `fromEntry`. * @public * @static * @method */ static get _default_value_for_fromEntry(): BOOLEAN; /** * @summary Getter that returns the default value for `aliasDereferenced`. * @public * @static * @method */ static get _default_value_for_aliasDereferenced(): BOOLEAN; } /** * @summary The Leading Root Component Types of CompareResultData * @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_CompareResultData: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of CompareResultData * @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_CompareResultData: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of CompareResultData * @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_CompareResultData: $.ComponentSpec[]; /** * @summary Decodes an ASN.1 element into a(n) CompareResultData * @function * @param {_Element} el The element being decoded. * @returns {CompareResultData} The decoded data structure. */ export declare function _decode_CompareResultData(el: _Element): CompareResultData; /** * @summary Encodes a(n) CompareResultData 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 CompareResultData, encoded as an ASN.1 Element. */ export declare function _encode_CompareResultData(value: CompareResultData, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=CompareResultData.ta.d.mts.map