import { ASN1Element as _Element } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; import { GeneralName } from "../CertificateExtensions/GeneralName.ta.mjs"; import { NumberRange } from "../CertificateExtensions/NumberRange.ta.mjs"; /** * @summary RevokedCertificateGroup * @description * * ### ASN.1 Definition: * * ```asn1 * RevokedCertificateGroup ::= CHOICE { * serialNumberRange NumberRange, * nameSubtree GeneralName } * ``` */ export type RevokedCertificateGroup = { serialNumberRange: NumberRange; } | { nameSubtree: GeneralName; }; /** * @summary Decodes an ASN.1 element into a(n) RevokedCertificateGroup * @function * @param {_Element} el The element being decoded. * @returns {RevokedCertificateGroup} The decoded data structure. */ export declare function _decode_RevokedCertificateGroup(el: _Element): RevokedCertificateGroup; /** * @summary Encodes a(n) RevokedCertificateGroup 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 RevokedCertificateGroup, encoded as an ASN.1 Element. */ export declare function _encode_RevokedCertificateGroup(value: RevokedCertificateGroup, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=RevokedCertificateGroup.ta.d.mts.map