import type { OPTIONAL, INTEGER, BIT_STRING, BOOLEAN } from "@wildboar/asn1"; import { ASN1Element as _Element } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; import { DistinguishedName } from "../InformationFramework/DistinguishedName.ta.mjs"; import { UserPwd } from "../PasswordPolicy/UserPwd.ta.mjs"; import { SecurityParameters } from "../DirectoryAbstractService/SecurityParameters.ta.mjs"; import { ServiceControls } from "../DirectoryAbstractService/ServiceControls.ta.mjs"; import { Exclusions } from "../DistributedOperations/Exclusions.ta.mjs"; import { OperationProgress } from "../DistributedOperations/OperationProgress.ta.mjs"; import { ReferenceType, _enum_for_ReferenceType } from "../DistributedOperations/ReferenceType.ta.mjs"; import { ContextSelection } from "../DirectoryAbstractService/ContextSelection.ta.mjs"; import { FamilyGrouping, _enum_for_FamilyGrouping } from "../DirectoryAbstractService/FamilyGrouping.ta.mjs"; import { CommonArguments } from "../DirectoryAbstractService/CommonArguments.ta.mjs"; /** * @summary ChangePasswordArgumentData * @description * * Note that the official ASN.1 SEQUENCE does NOT include the * `COMPONENTS OF CommonArguments`. Since I believe this to be a mistake, I * have added this component to the sequence here. Since the common * arguments have such high-numbered context-specific tags, it is unlikely * that they will accidentally collide with a future definition of the * specification. * * ### ASN.1 Definition: * * ```asn1 * ChangePasswordArgumentData ::= SEQUENCE { * object [0] DistinguishedName, * oldPwd [1] UserPwd, * newPwd [2] UserPwd, * ... } * ``` * */ export declare class ChangePasswordArgumentData implements CommonArguments { /** * @summary `object`. * @public * @readonly */ readonly object: DistinguishedName; /** * @summary `oldPwd`. * @public * @readonly */ readonly oldPwd: UserPwd; /** * @summary `newPwd`. * @public * @readonly */ readonly newPwd: UserPwd; /** * @summary Extensions that are not recognized. * @public * @readonly */ readonly _unrecognizedExtensionsList: _Element[]; /** * @summary `serviceControls`. * @public * @readonly */ readonly serviceControls?: OPTIONAL; /** * @summary `securityParameters`. * @public * @readonly */ readonly securityParameters?: OPTIONAL; /** * @summary `requestor`. * @public * @readonly */ readonly requestor?: OPTIONAL; /** * @summary `operationProgress`. * @public * @readonly */ readonly operationProgress?: OPTIONAL; /** * @summary `aliasedRDNs`. * @public * @readonly */ readonly aliasedRDNs?: OPTIONAL; /** * @summary `criticalExtensions`. * @public * @readonly */ readonly criticalExtensions?: OPTIONAL; /** * @summary `referenceType`. * @public * @readonly */ readonly referenceType?: OPTIONAL; /** * @summary `entryOnly`. * @public * @readonly */ readonly entryOnly?: OPTIONAL; /** * @summary `exclusions`. * @public * @readonly */ readonly exclusions?: OPTIONAL; /** * @summary `nameResolveOnMaster`. * @public * @readonly */ readonly nameResolveOnMaster?: OPTIONAL; /** * @summary `operationContexts`. * @public * @readonly */ readonly operationContexts?: OPTIONAL; /** * @summary `familyGrouping`. * @public * @readonly */ readonly familyGrouping?: OPTIONAL; constructor( /** * @summary `object`. * @public * @readonly */ object: DistinguishedName, /** * @summary `oldPwd`. * @public * @readonly */ oldPwd: UserPwd, /** * @summary `newPwd`. * @public * @readonly */ newPwd: UserPwd, /** * @summary Extensions that are not recognized. * @public * @readonly */ _unrecognizedExtensionsList?: _Element[], /** * @summary `serviceControls`. * @public * @readonly */ serviceControls?: OPTIONAL, /** * @summary `securityParameters`. * @public * @readonly */ securityParameters?: OPTIONAL, /** * @summary `requestor`. * @public * @readonly */ requestor?: OPTIONAL, /** * @summary `operationProgress`. * @public * @readonly */ operationProgress?: OPTIONAL, /** * @summary `aliasedRDNs`. * @public * @readonly */ aliasedRDNs?: OPTIONAL, /** * @summary `criticalExtensions`. * @public * @readonly */ criticalExtensions?: OPTIONAL, /** * @summary `referenceType`. * @public * @readonly */ referenceType?: OPTIONAL, /** * @summary `entryOnly`. * @public * @readonly */ entryOnly?: OPTIONAL, /** * @summary `exclusions`. * @public * @readonly */ exclusions?: OPTIONAL, /** * @summary `nameResolveOnMaster`. * @public * @readonly */ nameResolveOnMaster?: OPTIONAL, /** * @summary `operationContexts`. * @public * @readonly */ operationContexts?: OPTIONAL, /** * @summary `familyGrouping`. * @public * @readonly */ familyGrouping?: OPTIONAL); /** * @summary Restructures an object into a ChangePasswordArgumentData * @description * * This takes an `object` and converts it to a `ChangePasswordArgumentData`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `ChangePasswordArgumentData`. * @returns {ChangePasswordArgumentData} */ static _from_object(_o: Partial<{ [_K in keyof ChangePasswordArgumentData]: ChangePasswordArgumentData[_K]; }>): ChangePasswordArgumentData; /** * @summary Getter that returns the default value for `serviceControls`. * @public * @static * @method */ static get _default_value_for_serviceControls(): ServiceControls; /** * @summary Getter that returns the default value for `operationProgress`. * @public * @static * @method */ static get _default_value_for_operationProgress(): OperationProgress; /** * @summary Getter that returns the default value for `entryOnly`. * @public * @static * @method */ static get _default_value_for_entryOnly(): BOOLEAN; /** * @summary Getter that returns the default value for `nameResolveOnMaster`. * @public * @static * @method */ static get _default_value_for_nameResolveOnMaster(): BOOLEAN; /** * @summary Getter that returns the default value for `familyGrouping`. * @public * @static * @method */ static get _default_value_for_familyGrouping(): FamilyGrouping; /** * @summary The enum used as the type of the component `referenceType` * @public * @static */ static _enum_for_referenceType: typeof _enum_for_ReferenceType; /** * @summary The enum used as the type of the component `familyGrouping` * @public * @static */ static _enum_for_familyGrouping: typeof _enum_for_FamilyGrouping; } /** * @summary The Leading Root Component Types of ChangePasswordArgumentData * @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_ChangePasswordArgumentData: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of ChangePasswordArgumentData * @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_ChangePasswordArgumentData: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of ChangePasswordArgumentData * @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_ChangePasswordArgumentData: $.ComponentSpec[]; /** * @summary Decodes an ASN.1 element into a(n) ChangePasswordArgumentData * @function * @param {_Element} el The element being decoded. * @returns {ChangePasswordArgumentData} The decoded data structure. */ export declare function _decode_ChangePasswordArgumentData(el: _Element): ChangePasswordArgumentData; /** * @summary Encodes a(n) ChangePasswordArgumentData 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 ChangePasswordArgumentData, encoded as an ASN.1 Element. */ export declare function _encode_ChangePasswordArgumentData(value: ChangePasswordArgumentData, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=ChangePasswordArgumentData.ta.d.mts.map