import { ASN1Element as _Element, EXTERNAL } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; import { AuthenticationLevel_basicLevels } from "../BasicAccessControl/AuthenticationLevel-basicLevels.ta.mjs"; /** * @summary AuthenticationLevel * @description * * ### ASN.1 Definition: * * ```asn1 * AuthenticationLevel ::= CHOICE { * basicLevels SEQUENCE { * level ENUMERATED {none(0), simple(1), strong(2),...}, * localQualifier INTEGER OPTIONAL, * signed BOOLEAN DEFAULT FALSE, * ...}, * other EXTERNAL, * ... } * ``` */ export type AuthenticationLevel = { basicLevels: AuthenticationLevel_basicLevels; } | { other: EXTERNAL; } | _Element; /** * @summary Decodes an ASN.1 element into a(n) AuthenticationLevel * @function * @param {_Element} el The element being decoded. * @returns {AuthenticationLevel} The decoded data structure. */ export declare function _decode_AuthenticationLevel(el: _Element): AuthenticationLevel; /** * @summary Encodes a(n) AuthenticationLevel 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 AuthenticationLevel, encoded as an ASN.1 Element. */ export declare function _encode_AuthenticationLevel(value: AuthenticationLevel, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=AuthenticationLevel.ta.d.mts.map