import { ASN1Element as _Element, BOOLEAN, OBJECT_IDENTIFIER, OPTIONAL } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; import { ContextCombination } from "../ServiceAdministration/ContextCombination.ta.mjs"; import { ContextProfile } from "../ServiceAdministration/ContextProfile.ta.mjs"; import { MatchingUse } from "../ServiceAdministration/MatchingUse.ta.mjs"; /** * @summary REQUEST_ATTRIBUTE * @description * * ### ASN.1 Definition: * * ```asn1 * REQUEST-ATTRIBUTE ::= CLASS { * &attributeType ATTRIBUTE.&id, * &SelectedValues ATTRIBUTE.&Type OPTIONAL, * &DefaultValues SEQUENCE { * entryType OBJECT-CLASS.&id OPTIONAL, * values SEQUENCE OF ATTRIBUTE.&Type } OPTIONAL, * &contexts SEQUENCE OF ContextProfile OPTIONAL, * &contextCombination ContextCombination OPTIONAL, * &MatchingUse MatchingUse OPTIONAL, * &includeSubtypes BOOLEAN DEFAULT FALSE } * WITH SYNTAX { * ATTRIBUTE TYPE &attributeType * [SELECTED VALUES &SelectedValues] * [DEFAULT VALUES &DefaultValues] * [CONTEXTS &contexts] * [CONTEXT COMBINATION &contextCombination] * [MATCHING USE &MatchingUse] * [INCLUDE SUBTYPES &includeSubtypes] } * ``` * * @interface */ export interface REQUEST_ATTRIBUTE { /** * @summary A fixed string that can be used for external programs to determine the object class of this object. */ readonly class: "REQUEST-ATTRIBUTE"; /** * @summary A map of type fields to their corresponding decoders. */ readonly decoderFor: Partial<{ [_K in keyof REQUEST_ATTRIBUTE]: $.ASN1Decoder; }>; /** * @summary A map of type fields to their corresponding encoders. */ readonly encoderFor: Partial<{ [_K in keyof REQUEST_ATTRIBUTE]: $.ASN1Encoder; }>; /** * @summary &attributeType */ readonly "&attributeType"?: OBJECT_IDENTIFIER; /** * @summary &SelectedValues */ readonly "&SelectedValues"?: _Element; /** * @summary &DefaultValues */ readonly "&DefaultValues"?: { entryType: OBJECT_IDENTIFIER; values: OPTIONAL<_Element[]>; }; /** * @summary &contexts */ readonly "&contexts"?: ContextProfile[]; /** * @summary &contextCombination */ readonly "&contextCombination"?: ContextCombination; /** * @summary &MatchingUse */ readonly "&MatchingUse"?: MatchingUse; /** * @summary &includeSubtypes */ readonly "&includeSubtypes"?: BOOLEAN; } //# sourceMappingURL=REQUEST-ATTRIBUTE.oca.d.mts.map