import { ASN1Element as _Element } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; import { SpecificallyIdentified } from "../EnhancedSecurity/SpecificallyIdentified.ta.mjs"; import { ThisEntry } from "../EnhancedSecurity/ThisEntry.ta.mjs"; /** * @summary Signer * @description * * ### ASN.1 Definition: * * ```asn1 * Signer ::= CHOICE { * thisEntry [0] EXPLICIT ThisEntry, * thirdParty [1] SpecificallyIdentified, * ... } * ``` */ export type Signer = { thisEntry: ThisEntry; } | { thirdParty: SpecificallyIdentified; } | _Element; /** * @summary Decodes an ASN.1 element into a(n) Signer * @function * @param {_Element} el The element being decoded. * @returns {Signer} The decoded data structure. */ export declare function _decode_Signer(el: _Element): Signer; /** * @summary Encodes a(n) Signer 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 Signer, encoded as an ASN.1 Element. */ export declare function _encode_Signer(value: Signer, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=Signer.ta.d.mts.map