import { ASN1Element as _Element } from '@wildboar/asn1'; import * as $ from '@wildboar/asn1/functional'; import { CertificateList } from '@wildboar/x500/AuthenticationFramework'; import { OCSPResponse } from '@wildboar/ocsp'; import { OtherRevInfo } from '../SCVP-2009/OtherRevInfo.ta.mjs'; /** * @summary RevocationInfo * @description * * ### ASN.1 Definition: * * ```asn1 * RevocationInfo ::= CHOICE { * crl [0] CertificateList, * delta-crl [1] CertificateList, * ocsp [2] OCSPResponse, * other [3] OtherRevInfo * } * ``` */ export type RevocationInfo = { crl: CertificateList; } | { delta_crl: CertificateList; } | { ocsp: OCSPResponse; } | { other: OtherRevInfo; }; /** * @summary Decodes an ASN.1 element into a(n) RevocationInfo * @function * @param {_Element} el The element being decoded. * @returns {RevocationInfo} The decoded data structure. */ export declare function _decode_RevocationInfo(el: _Element): RevocationInfo; /** * @summary Encodes a(n) RevocationInfo 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 RevocationInfo, encoded as an ASN.1 Element. */ export declare function _encode_RevocationInfo(value: RevocationInfo, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=RevocationInfo.ta.d.mts.map