import { ASN1Element as _Element } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; import { OtherRevocationInfoFormat } from "../CryptographicMessageSyntax-2010/OtherRevocationInfoFormat.ta.mjs"; import { CertificateList } from "@wildboar/x500/AuthenticationFramework"; /** * @summary RevocationInfoChoice * @description * * ### ASN.1 Definition: * * ```asn1 * RevocationInfoChoice ::= CHOICE { * crl CertificateList, * ..., * [[5: other [1] IMPLICIT OtherRevocationInfoFormat ]] } * ``` */ export type RevocationInfoChoice = { crl: CertificateList; } | { other: OtherRevocationInfoFormat; } | _Element; /** * @summary Decodes an ASN.1 element into a(n) RevocationInfoChoice * @function * @param {_Element} el The element being decoded. * @returns {RevocationInfoChoice} The decoded data structure. */ export declare function _decode_RevocationInfoChoice(el: _Element): RevocationInfoChoice; /** * @summary Encodes a(n) RevocationInfoChoice 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 RevocationInfoChoice, encoded as an ASN.1 Element. */ export declare function _encode_RevocationInfoChoice(value: RevocationInfoChoice, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=RevocationInfoChoice.ta.d.mts.map