import { ASN1Element as _Element, NULL, OBJECT_IDENTIFIER } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; import { ContextProfile } from "../ServiceAdministration/ContextProfile.ta.mjs"; /** * @summary RESULT_ATTRIBUTE * @description * * ### ASN.1 Definition: * * ```asn1 * RESULT-ATTRIBUTE ::= CLASS { * &attributeType ATTRIBUTE.&id, * &outputValues CHOICE { * selectedValues SEQUENCE OF ATTRIBUTE.&Type, * matchedValuesOnly NULL } OPTIONAL, * &contexts ContextProfile OPTIONAL } * WITH SYNTAX { * ATTRIBUTE TYPE &attributeType * [OUTPUT VALUES &outputValues] * [CONTEXTS &contexts] } * ``` * * @interface */ export interface RESULT_ATTRIBUTE { /** * @summary A fixed string that can be used for external programs to determine the object class of this object. */ readonly class: "RESULT-ATTRIBUTE"; /** * @summary A map of type fields to their corresponding decoders. */ readonly decoderFor: Partial<{ [_K in keyof RESULT_ATTRIBUTE]: $.ASN1Decoder; }>; /** * @summary A map of type fields to their corresponding encoders. */ readonly encoderFor: Partial<{ [_K in keyof RESULT_ATTRIBUTE]: $.ASN1Encoder; }>; /** * @summary &attributeType */ readonly "&attributeType"?: OBJECT_IDENTIFIER; /** * @summary &outputValues */ readonly "&outputValues"?: { selectedValues: _Element[]; } | { matchedValuesOnly: NULL; }; /** * @summary &contexts */ readonly "&contexts"?: ContextProfile; } //# sourceMappingURL=RESULT-ATTRIBUTE.oca.d.mts.map