import { OPTIONAL, ASN1Element as _Element } from '@wildboar/asn1'; import * as $ from '@wildboar/asn1/functional'; import { EnforcementAction, _enum_for_EnforcementAction } from '../AccessControl-ASN1Module/EnforcementAction.ta.mjs'; /** * @summary DefaultAccess * @description * * ### ASN.1 Definition: * * ```asn1 * DefaultAccess ::= SEQUENCE { * action [0] IMPLICIT EnforcementAction DEFAULT deny, * create [1] IMPLICIT EnforcementAction DEFAULT deny, * delete [2] IMPLICIT EnforcementAction DEFAULT deny, * get [3] IMPLICIT EnforcementAction DEFAULT deny, * replace [4] IMPLICIT EnforcementAction DEFAULT deny, * addMember [5] IMPLICIT EnforcementAction DEFAULT deny, * removeMember [6] IMPLICIT EnforcementAction DEFAULT deny, * replaceWithDefault [7] IMPLICIT EnforcementAction DEFAULT deny, * multipleObjectSelection [8] IMPLICIT EnforcementAction DEFAULT deny, * filter [9] IMPLICIT EnforcementAction DEFAULT deny * } * ``` * */ export declare class DefaultAccess { /** * @summary `action`. * @public * @readonly */ readonly action?: OPTIONAL; /** * @summary `create`. * @public * @readonly */ readonly create?: OPTIONAL; /** * @summary `delete_`. * @public * @readonly */ readonly delete_?: OPTIONAL; /** * @summary `get_`. * @public * @readonly */ readonly get_?: OPTIONAL; /** * @summary `replace`. * @public * @readonly */ readonly replace?: OPTIONAL; /** * @summary `addMember`. * @public * @readonly */ readonly addMember?: OPTIONAL; /** * @summary `removeMember`. * @public * @readonly */ readonly removeMember?: OPTIONAL; /** * @summary `replaceWithDefault`. * @public * @readonly */ readonly replaceWithDefault?: OPTIONAL; /** * @summary `multipleObjectSelection`. * @public * @readonly */ readonly multipleObjectSelection?: OPTIONAL; /** * @summary `filter`. * @public * @readonly */ readonly filter?: OPTIONAL; constructor( /** * @summary `action`. * @public * @readonly */ action?: OPTIONAL, /** * @summary `create`. * @public * @readonly */ create?: OPTIONAL, /** * @summary `delete_`. * @public * @readonly */ delete_?: OPTIONAL, /** * @summary `get_`. * @public * @readonly */ get_?: OPTIONAL, /** * @summary `replace`. * @public * @readonly */ replace?: OPTIONAL, /** * @summary `addMember`. * @public * @readonly */ addMember?: OPTIONAL, /** * @summary `removeMember`. * @public * @readonly */ removeMember?: OPTIONAL, /** * @summary `replaceWithDefault`. * @public * @readonly */ replaceWithDefault?: OPTIONAL, /** * @summary `multipleObjectSelection`. * @public * @readonly */ multipleObjectSelection?: OPTIONAL, /** * @summary `filter`. * @public * @readonly */ filter?: OPTIONAL); /** * @summary Restructures an object into a DefaultAccess * @description * * This takes an `object` and converts it to a `DefaultAccess`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `DefaultAccess`. * @returns {DefaultAccess} */ static _from_object(_o: { [_K in keyof DefaultAccess]: DefaultAccess[_K]; }): DefaultAccess; /** * @summary Getter that returns the default value for `action`. * @public * @static * @method */ static get _default_value_for_action(): EnforcementAction; /** * @summary Getter that returns the default value for `create`. * @public * @static * @method */ static get _default_value_for_create(): EnforcementAction; /** * @summary Getter that returns the default value for `delete_`. * @public * @static * @method */ static get _default_value_for_delete_(): EnforcementAction; /** * @summary Getter that returns the default value for `get_`. * @public * @static * @method */ static get _default_value_for_get_(): EnforcementAction; /** * @summary Getter that returns the default value for `replace`. * @public * @static * @method */ static get _default_value_for_replace(): EnforcementAction; /** * @summary Getter that returns the default value for `addMember`. * @public * @static * @method */ static get _default_value_for_addMember(): EnforcementAction; /** * @summary Getter that returns the default value for `removeMember`. * @public * @static * @method */ static get _default_value_for_removeMember(): EnforcementAction; /** * @summary Getter that returns the default value for `replaceWithDefault`. * @public * @static * @method */ static get _default_value_for_replaceWithDefault(): EnforcementAction; /** * @summary Getter that returns the default value for `multipleObjectSelection`. * @public * @static * @method */ static get _default_value_for_multipleObjectSelection(): EnforcementAction; /** * @summary Getter that returns the default value for `filter`. * @public * @static * @method */ static get _default_value_for_filter(): EnforcementAction; /** * @summary The enum used as the type of the component `action` * @public * @static */ static _enum_for_action: typeof _enum_for_EnforcementAction; /** * @summary The enum used as the type of the component `create` * @public * @static */ static _enum_for_create: typeof _enum_for_EnforcementAction; /** * @summary The enum used as the type of the component `delete_` * @public * @static */ static _enum_for_delete_: typeof _enum_for_EnforcementAction; /** * @summary The enum used as the type of the component `get_` * @public * @static */ static _enum_for_get_: typeof _enum_for_EnforcementAction; /** * @summary The enum used as the type of the component `replace` * @public * @static */ static _enum_for_replace: typeof _enum_for_EnforcementAction; /** * @summary The enum used as the type of the component `addMember` * @public * @static */ static _enum_for_addMember: typeof _enum_for_EnforcementAction; /** * @summary The enum used as the type of the component `removeMember` * @public * @static */ static _enum_for_removeMember: typeof _enum_for_EnforcementAction; /** * @summary The enum used as the type of the component `replaceWithDefault` * @public * @static */ static _enum_for_replaceWithDefault: typeof _enum_for_EnforcementAction; /** * @summary The enum used as the type of the component `multipleObjectSelection` * @public * @static */ static _enum_for_multipleObjectSelection: typeof _enum_for_EnforcementAction; /** * @summary The enum used as the type of the component `filter` * @public * @static */ static _enum_for_filter: typeof _enum_for_EnforcementAction; } /** * @summary The Leading Root Component Types of DefaultAccess * @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_DefaultAccess: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of DefaultAccess * @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_DefaultAccess: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of DefaultAccess * @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_DefaultAccess: $.ComponentSpec[]; /** * @summary Decodes an ASN.1 element into a(n) DefaultAccess * @function * @param {_Element} el The element being decoded. * @returns {DefaultAccess} The decoded data structure. */ export declare function _decode_DefaultAccess(el: _Element): DefaultAccess; /** * @summary Encodes a(n) DefaultAccess 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 DefaultAccess, encoded as an ASN.1 Element. */ export declare function _encode_DefaultAccess(value: DefaultAccess, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=DefaultAccess.ta.d.mts.map