import { BOOLEAN, OBJECT_IDENTIFIER } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; import { type ATTRIBUTE } from "../InformationFramework/ATTRIBUTE.oca.mjs"; /** * @summary MAPPING_BASED_MATCHING * @description * * ### ASN.1 Definition: * * ```asn1 * MAPPING-BASED-MATCHING * {SelectedBy, BOOLEAN:combinable, MappingResult, OBJECT IDENTIFIER:matchingRule} ::= CLASS { * &selectBy SelectedBy OPTIONAL, * &ApplicableTo ATTRIBUTE, * &subtypesIncluded BOOLEAN DEFAULT TRUE, * &combinable BOOLEAN(combinable), * &mappingResults MappingResult OPTIONAL, * &userControl BOOLEAN DEFAULT FALSE, * &exclusive BOOLEAN DEFAULT TRUE, * &matching-rule MATCHING-RULE.&id(matchingRule), * &id OBJECT IDENTIFIER UNIQUE } * WITH SYNTAX { * [SELECT BY &selectBy] * APPLICABLE TO &ApplicableTo * [SUBTYPES INCLUDED &subtypesIncluded] * COMBINABLE &combinable * [MAPPING RESULTS &mappingResults] * [USER CONTROL &userControl] * [EXCLUSIVE &exclusive] * MATCHING RULE &matching-rule * ID &id } * ``` * * @interface */ export interface MAPPING_BASED_MATCHING { /** * @summary A fixed string that can be used for external programs to determine the object class of this object. */ readonly class: "MAPPING-BASED-MATCHING"; /** * @summary A map of type fields to their corresponding decoders. */ readonly decoderFor: Partial<{ [_K in keyof MAPPING_BASED_MATCHING]: $.ASN1Decoder[_K]>; }>; /** * @summary A map of type fields to their corresponding encoders. */ readonly encoderFor: Partial<{ [_K in keyof MAPPING_BASED_MATCHING]: $.ASN1Encoder[_K]>; }>; /** * @summary &selectBy */ readonly "&selectBy"?: SelectedBy; /** * @summary &ApplicableTo */ readonly "&ApplicableTo"?: ATTRIBUTE[]; /** * @summary &subtypesIncluded */ readonly "&subtypesIncluded"?: BOOLEAN; /** * @summary &combinable */ readonly "&combinable"?: BOOLEAN; /** * @summary &mappingResults */ readonly "&mappingResults"?: MappingResult; /** * @summary &userControl */ readonly "&userControl"?: BOOLEAN; /** * @summary &exclusive */ readonly "&exclusive"?: BOOLEAN; /** * @summary &matching-rule */ readonly "&matching-rule"?: OBJECT_IDENTIFIER; /** * @summary &id */ readonly "&id"?: OBJECT_IDENTIFIER; } //# sourceMappingURL=MAPPING-BASED-MATCHING.oca.d.mts.map