import { ASN1Element as _Element, UTF8String } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; import { UserPwd_encrypted } from "../PasswordPolicy/UserPwd-encrypted.ta.mjs"; /** * @summary UserPwd * @description * * ### ASN.1 Definition: * * ```asn1 * UserPwd ::= CHOICE { * clear UTF8String, * encrypted SEQUENCE { * algorithmIdentifier AlgorithmIdentifier{{SupportedAlgorithms}}, * encryptedString OCTET STRING, * ...}, * ...} * ``` */ export type UserPwd = { clear: UTF8String; } | { encrypted: UserPwd_encrypted; } | _Element; /** * @summary Decodes an ASN.1 element into a(n) UserPwd * @function * @param {_Element} el The element being decoded. * @returns {UserPwd} The decoded data structure. */ export declare function _decode_UserPwd(el: _Element): UserPwd; /** * @summary Encodes a(n) UserPwd 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 UserPwd, encoded as an ASN.1 Element. */ export declare function _encode_UserPwd(value: UserPwd, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=UserPwd.ta.d.mts.map