import { ASN1Element as _Element, INTEGER, NULL, OPTIONAL, OBJECT_IDENTIFIER } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; import { MaxValueCount } from "../BasicAccessControl/MaxValueCount.ta.mjs"; import { RestrictedValue } from "../BasicAccessControl/RestrictedValue.ta.mjs"; import { Filter } from "../DirectoryAbstractService/Filter.ta.mjs"; import { AttributeType } from "../InformationFramework/AttributeType.ta.mjs"; import { AttributeTypeAndValue } from "../InformationFramework/AttributeTypeAndValue.ta.mjs"; import { ContextAssertion } from "../InformationFramework/ContextAssertion.ta.mjs"; import { Refinement } from "../InformationFramework/Refinement.ta.mjs"; /** * @summary ProtectedItems * @description * * ### ASN.1 Definition: * * ```asn1 * ProtectedItems ::= SEQUENCE { * entry [0] NULL OPTIONAL, * allUserAttributeTypes [1] NULL OPTIONAL, * attributeType [2] SET SIZE (1..MAX) OF AttributeType * OPTIONAL, * allAttributeValues [3] SET SIZE (1..MAX) OF AttributeType * OPTIONAL, * allUserAttributeTypesAndValues [4] NULL OPTIONAL, * attributeValue [5] SET SIZE (1..MAX) OF AttributeTypeAndValue * OPTIONAL, * selfValue [6] SET SIZE (1..MAX) OF AttributeType * OPTIONAL, * rangeOfValues [7] Filter OPTIONAL, * maxValueCount [8] SET SIZE (1..MAX) OF MaxValueCount * OPTIONAL, * maxImmSub [9] INTEGER OPTIONAL, * restrictedBy [10] SET SIZE (1..MAX) OF RestrictedValue * OPTIONAL, * contexts [11] SET SIZE (1..MAX) OF ContextAssertion * OPTIONAL, * classes [12] Refinement OPTIONAL, * entryMethods [30] SET OF OBJECT IDENTIFIER OPTIONAL, * ... } * ``` * */ export declare class ProtectedItems { /** * @summary `entry`. * @public * @readonly */ readonly entry?: OPTIONAL; /** * @summary `allUserAttributeTypes`. * @public * @readonly */ readonly allUserAttributeTypes?: OPTIONAL; /** * @summary `attributeType`. * @public * @readonly */ readonly attributeType?: OPTIONAL; /** * @summary `allAttributeValues`. * @public * @readonly */ readonly allAttributeValues?: OPTIONAL; /** * @summary `allUserAttributeTypesAndValues`. * @public * @readonly */ readonly allUserAttributeTypesAndValues?: OPTIONAL; /** * @summary `attributeValue`. * @public * @readonly */ readonly attributeValue?: OPTIONAL; /** * @summary `selfValue`. * @public * @readonly */ readonly selfValue?: OPTIONAL; /** * @summary `rangeOfValues`. * @public * @readonly */ readonly rangeOfValues?: OPTIONAL; /** * @summary `maxValueCount`. * @public * @readonly */ readonly maxValueCount?: OPTIONAL; /** * @summary `maxImmSub`. * @public * @readonly */ readonly maxImmSub?: OPTIONAL; /** * @summary `restrictedBy`. * @public * @readonly */ readonly restrictedBy?: OPTIONAL; /** * @summary `contexts`. * @public * @readonly */ readonly contexts?: OPTIONAL; /** * @summary `classes`. * @public * @readonly */ readonly classes?: OPTIONAL; /** * @summary `entryMethods`. * @public * @readonly */ readonly entryMethods?: OPTIONAL; /** * @summary Extensions that are not recognized. * @public * @readonly */ readonly _unrecognizedExtensionsList: _Element[]; constructor( /** * @summary `entry`. * @public * @readonly */ entry?: OPTIONAL, /** * @summary `allUserAttributeTypes`. * @public * @readonly */ allUserAttributeTypes?: OPTIONAL, /** * @summary `attributeType`. * @public * @readonly */ attributeType?: OPTIONAL, /** * @summary `allAttributeValues`. * @public * @readonly */ allAttributeValues?: OPTIONAL, /** * @summary `allUserAttributeTypesAndValues`. * @public * @readonly */ allUserAttributeTypesAndValues?: OPTIONAL, /** * @summary `attributeValue`. * @public * @readonly */ attributeValue?: OPTIONAL, /** * @summary `selfValue`. * @public * @readonly */ selfValue?: OPTIONAL, /** * @summary `rangeOfValues`. * @public * @readonly */ rangeOfValues?: OPTIONAL, /** * @summary `maxValueCount`. * @public * @readonly */ maxValueCount?: OPTIONAL, /** * @summary `maxImmSub`. * @public * @readonly */ maxImmSub?: OPTIONAL, /** * @summary `restrictedBy`. * @public * @readonly */ restrictedBy?: OPTIONAL, /** * @summary `contexts`. * @public * @readonly */ contexts?: OPTIONAL, /** * @summary `classes`. * @public * @readonly */ classes?: OPTIONAL, /** * @summary `entryMethods`. * @public * @readonly */ entryMethods?: OPTIONAL, /** * @summary Extensions that are not recognized. * @public * @readonly */ _unrecognizedExtensionsList?: _Element[]); /** * @summary Restructures an object into a ProtectedItems * @description * * This takes an `object` and converts it to a `ProtectedItems`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `ProtectedItems`. * @returns {ProtectedItems} */ static _from_object(_o: { [_K in keyof ProtectedItems]: ProtectedItems[_K]; }): ProtectedItems; } /** * @summary The Leading Root Component Types of ProtectedItems * @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_ProtectedItems: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of ProtectedItems * @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_ProtectedItems: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of ProtectedItems * @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_ProtectedItems: $.ComponentSpec[]; /** * @summary Decodes an ASN.1 element into a(n) ProtectedItems * @function * @param {_Element} el The element being decoded. * @returns {ProtectedItems} The decoded data structure. */ export declare function _decode_ProtectedItems(el: _Element): ProtectedItems; /** * @summary Encodes a(n) ProtectedItems 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 ProtectedItems, encoded as an ASN.1 Element. */ export declare function _encode_ProtectedItems(value: ProtectedItems, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=ProtectedItems.ta.d.mts.map