import { ASN1Element as _Element } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; import { SubstringAssertion_Item } from "../SelectedAttributeTypes/SubstringAssertion-Item.ta.mjs"; /** * @summary SubstringAssertion * @description * * ### ASN.1 Definition: * * ```asn1 * SubstringAssertion ::= SEQUENCE OF CHOICE { * initial [0] UnboundedDirectoryString, * any [1] UnboundedDirectoryString, * final [2] UnboundedDirectoryString, * -- at most one initial and one final component * control Attribute{{SupportedAttributes}}, * -- Used to specify interpretation of the following items * ... } * ``` */ export type SubstringAssertion = SubstringAssertion_Item[]; /** * @summary Decodes an ASN.1 element into a(n) SubstringAssertion * @function * @param {_Element} el The element being decoded. * @returns {SubstringAssertion} The decoded data structure. */ export declare function _decode_SubstringAssertion(el: _Element): SubstringAssertion; /** * @summary Encodes a(n) SubstringAssertion 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 SubstringAssertion, encoded as an ASN.1 Element. */ export declare function _encode_SubstringAssertion(value: SubstringAssertion, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=SubstringAssertion.ta.d.mts.map