import { ASN1Element as _Element } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; import { DirectoryString } from "@wildboar/x500/SelectedAttributeTypes"; /** * @summary X520name * @description * * ### ASN.1 Definition: * * ```asn1 * X520name ::= DirectoryString {ub-name} * ``` */ export type X520name = DirectoryString; /** * @summary Decodes an ASN.1 element into a(n) X520name * @function * @param {_Element} el The element being decoded. * @returns {X520name} The decoded data structure. */ export declare function _decode_X520name(el: _Element): X520name; /** * @summary Encodes a(n) X520name 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 X520name, encoded as an ASN.1 Element. */ export declare function _encode_X520name(value: X520name, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=X520name.ta.d.mts.map