import { ASN1Element as _Element } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; import { CertStatus, _enum_for_CertStatus } from "../CaSubscription/CertStatus.ta.mjs"; import { CertificateSerialNumber } from "@wildboar/pki-stub"; import { Name } from "@wildboar/pki-stub"; /** * @summary CertUpdateReq_certs_Item * @description * * ### ASN.1 Definition: * * ```asn1 * CertUpdateReq-certs-Item ::= SEQUENCE { -- REMOVED_FROM_UNNESTING -- } * ``` * */ export declare class CertUpdateReq_certs_Item { /** * @summary `subject`. * @public * @readonly */ readonly subject: Name; /** * @summary `serialNumber`. * @public * @readonly */ readonly serialNumber: CertificateSerialNumber; /** * @summary `certStatus`. * @public * @readonly */ readonly certStatus: CertStatus; /** * @summary Extensions that are not recognized. * @public * @readonly */ readonly _unrecognizedExtensionsList: _Element[]; constructor( /** * @summary `subject`. * @public * @readonly */ subject: Name, /** * @summary `serialNumber`. * @public * @readonly */ serialNumber: CertificateSerialNumber, /** * @summary `certStatus`. * @public * @readonly */ certStatus: CertStatus, /** * @summary Extensions that are not recognized. * @public * @readonly */ _unrecognizedExtensionsList?: _Element[]); /** * @summary Restructures an object into a CertUpdateReq_certs_Item * @description * * This takes an `object` and converts it to a `CertUpdateReq_certs_Item`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `CertUpdateReq_certs_Item`. * @returns {CertUpdateReq_certs_Item} */ static _from_object(_o: Partial<{ [_K in keyof CertUpdateReq_certs_Item]: CertUpdateReq_certs_Item[_K]; }>): CertUpdateReq_certs_Item; /** * @summary The enum used as the type of the component `certStatus` * @public * @static */ static _enum_for_certStatus: typeof _enum_for_CertStatus; } /** * @summary The Leading Root Component Types of CertUpdateReq_certs_Item * @description * * This is an array of `ComponentSpec`s that define how to decode the leading root component type list of a SET or SEQUENCE. * * @constant */ export declare const _root_component_type_list_1_spec_for_CertUpdateReq_certs_Item: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of CertUpdateReq_certs_Item * @description * * This is an array of `ComponentSpec`s that define how to decode the trailing root component type list of a SET or SEQUENCE. * * @constant */ export declare const _root_component_type_list_2_spec_for_CertUpdateReq_certs_Item: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of CertUpdateReq_certs_Item * @description * * This is an array of `ComponentSpec`s that define how to decode the extension addition component type list of a SET or SEQUENCE. * * @constant */ export declare const _extension_additions_list_spec_for_CertUpdateReq_certs_Item: $.ComponentSpec[]; /** * @summary Decodes an ASN.1 element into a(n) CertUpdateReq_certs_Item * @function * @param {_Element} el The element being decoded. * @returns {CertUpdateReq_certs_Item} The decoded data structure. */ export declare function _decode_CertUpdateReq_certs_Item(el: _Element): CertUpdateReq_certs_Item; /** * @summary Encodes a(n) CertUpdateReq_certs_Item 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 CertUpdateReq_certs_Item, encoded as an ASN.1 Element. */ export declare function _encode_CertUpdateReq_certs_Item(value: CertUpdateReq_certs_Item, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=CertUpdateReq-certs-Item.ta.d.mts.map