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"; import { RequestAttribute_defaultValues_Item } from "../ServiceAdministration/RequestAttribute-defaultValues-Item.ta.mjs"; /** * @summary RequestAttribute * @description * * ### ASN.1 Definition: * * ```asn1 * RequestAttribute ::= SEQUENCE { * attributeType ATTRIBUTE.&id({SupportedAttributes}), * includeSubtypes [0] BOOLEAN DEFAULT FALSE, * selectedValues [1] SEQUENCE SIZE (0..MAX) OF ATTRIBUTE.&Type * ({SupportedAttributes}{@attributeType}) OPTIONAL, * defaultValues [2] SEQUENCE SIZE (0..MAX) OF SEQUENCE { * entryType OBJECT-CLASS.&id OPTIONAL, * values SEQUENCE OF ATTRIBUTE.&Type * ({SupportedAttributes}{@attributeType}), * ...} OPTIONAL, * contexts [3] SEQUENCE SIZE (0..MAX) OF ContextProfile OPTIONAL, * contextCombination [4] ContextCombination DEFAULT and:{}, * matchingUse [5] SEQUENCE SIZE (1..MAX) OF MatchingUse OPTIONAL, * ... } * ``` * */ export declare class RequestAttribute { /** * @summary `attributeType`. * @public * @readonly */ readonly attributeType: OBJECT_IDENTIFIER; /** * @summary `includeSubtypes`. * @public * @readonly */ readonly includeSubtypes?: OPTIONAL; /** * @summary `selectedValues`. * @public * @readonly */ readonly selectedValues?: OPTIONAL<_Element[]>; /** * @summary `defaultValues`. * @public * @readonly */ readonly defaultValues?: OPTIONAL; /** * @summary `contexts`. * @public * @readonly */ readonly contexts?: OPTIONAL; /** * @summary `contextCombination`. * @public * @readonly */ readonly contextCombination?: OPTIONAL; /** * @summary `matchingUse`. * @public * @readonly */ readonly matchingUse?: OPTIONAL; /** * @summary Extensions that are not recognized. * @public * @readonly */ readonly _unrecognizedExtensionsList: _Element[]; constructor( /** * @summary `attributeType`. * @public * @readonly */ attributeType: OBJECT_IDENTIFIER, /** * @summary `includeSubtypes`. * @public * @readonly */ includeSubtypes?: OPTIONAL, /** * @summary `selectedValues`. * @public * @readonly */ selectedValues?: OPTIONAL<_Element[]>, /** * @summary `defaultValues`. * @public * @readonly */ defaultValues?: OPTIONAL, /** * @summary `contexts`. * @public * @readonly */ contexts?: OPTIONAL, /** * @summary `contextCombination`. * @public * @readonly */ contextCombination?: OPTIONAL, /** * @summary `matchingUse`. * @public * @readonly */ matchingUse?: OPTIONAL, /** * @summary Extensions that are not recognized. * @public * @readonly */ _unrecognizedExtensionsList?: _Element[]); /** * @summary Restructures an object into a RequestAttribute * @description * * This takes an `object` and converts it to a `RequestAttribute`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `RequestAttribute`. * @returns {RequestAttribute} */ static _from_object(_o: { [_K in keyof RequestAttribute]: RequestAttribute[_K]; }): RequestAttribute; /** * @summary Getter that returns the default value for `includeSubtypes`. * @public * @static * @method */ static get _default_value_for_includeSubtypes(): BOOLEAN; /** * @summary Getter that returns the default value for `contextCombination`. * @public * @static * @method */ static get _default_value_for_contextCombination(): ContextCombination; } /** * @summary The Leading Root Component Types of RequestAttribute * @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_RequestAttribute: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of RequestAttribute * @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_RequestAttribute: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of RequestAttribute * @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_RequestAttribute: $.ComponentSpec[]; /** * @summary Decodes an ASN.1 element into a(n) RequestAttribute * @function * @param {_Element} el The element being decoded. * @returns {RequestAttribute} The decoded data structure. */ export declare function _decode_RequestAttribute(el: _Element): RequestAttribute; /** * @summary Encodes a(n) RequestAttribute 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 RequestAttribute, encoded as an ASN.1 Element. */ export declare function _encode_RequestAttribute(value: RequestAttribute, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=RequestAttribute.ta.d.mts.map