import { ASN1Element as _Element } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; import { CertReplaceOK_Item } from "../CaSubscription/CertReplaceOK-Item.ta.mjs"; /** * @summary CertReplaceOK * @description * * ### ASN.1 Definition: * * ```asn1 * CertReplaceOK ::= SEQUENCE (SIZE (1..MAX)) OF CHOICE { * ok [0] SEQUENCE { * issuer Name, * serialNumber CertificateSerialNumber, * ... }, * not-ok [1] SEQUENCE { * status CASP-CertStatusCode, * ... }, * ... } * ``` */ export type CertReplaceOK = CertReplaceOK_Item[]; /** * @summary Decodes an ASN.1 element into a(n) CertReplaceOK * @function * @param {_Element} el The element being decoded. * @returns {CertReplaceOK} The decoded data structure. */ export declare function _decode_CertReplaceOK(el: _Element): CertReplaceOK; /** * @summary Encodes a(n) CertReplaceOK 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 CertReplaceOK, encoded as an ASN.1 Element. */ export declare function _encode_CertReplaceOK(value: CertReplaceOK, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=CertReplaceOK.ta.d.mts.map