import { ASN1Element as _Element, OCTET_STRING } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; import { HASH } from "../AuthenticationFramework/HASH.ta.mjs"; import { UserPwd } from "../PasswordPolicy/UserPwd.ta.mjs"; /** * @summary SimpleCredentials_password * @description * * ### ASN.1 Definition: * * ```asn1 * SimpleCredentials-password ::= CHOICE { -- REMOVED_FROM_UNNESTING -- } * ``` */ export type SimpleCredentials_password = { unprotected: OCTET_STRING; } | { protected_: HASH; } | { userPwd: UserPwd; } | _Element; /** * @summary Decodes an ASN.1 element into a(n) SimpleCredentials_password * @function * @param {_Element} el The element being decoded. * @returns {SimpleCredentials_password} The decoded data structure. */ export declare function _decode_SimpleCredentials_password(el: _Element): SimpleCredentials_password; /** * @summary Encodes a(n) SimpleCredentials_password 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 SimpleCredentials_password, encoded as an ASN.1 Element. */ export declare function _encode_SimpleCredentials_password(value: SimpleCredentials_password, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=SimpleCredentials-password.ta.d.mts.map