import { ASN1Element as _Element, BIT_STRING, OPTIONAL } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; import { AlgorithmWithInvoke } from "@wildboar/pki-stub"; /** * @summary ICV_Total * @description * * ### ASN.1 Definition: * * ```asn1 * ICV-Total{ToBeProtected} ::= SEQUENCE { * toBeProtected ToBeProtected, * algorithmIdentifier AlgorithmWithInvoke{{SupportedIcvAlgorithms}}, * icv BIT STRING, * altAlgorithmIdentifier [0] AlgorithmWithInvoke{{SupportedIcvAlgorithms}} OPTIONAL, * altIcv [1] BIT STRING OPTIONAL, * ... } * (WITH COMPONENTS {..., altAlgorithmIdentifier PRESENT, altIcv PRESENT } | * WITH COMPONENTS {..., altAlgorithmIdentifier ABSENT, altIcv ABSENT } ) * ``` * */ export declare class ICV_Total { /** * @summary `toBeProtected`. * @public * @readonly */ readonly toBeProtected: ToBeProtected; /** * @summary `algorithmIdentifier`. * @public * @readonly */ readonly algorithmIdentifier: AlgorithmWithInvoke; /** * @summary `icv`. * @public * @readonly */ readonly icv: BIT_STRING; /** * @summary `altAlgorithmIdentifier`. * @public * @readonly */ readonly altAlgorithmIdentifier?: OPTIONAL; /** * @summary `altIcv`. * @public * @readonly */ readonly altIcv?: OPTIONAL; /** * @summary Extensions that are not recognized. * @public * @readonly */ readonly _unrecognizedExtensionsList: _Element[]; constructor( /** * @summary `toBeProtected`. * @public * @readonly */ toBeProtected: ToBeProtected, /** * @summary `algorithmIdentifier`. * @public * @readonly */ algorithmIdentifier: AlgorithmWithInvoke, /** * @summary `icv`. * @public * @readonly */ icv: BIT_STRING, /** * @summary `altAlgorithmIdentifier`. * @public * @readonly */ altAlgorithmIdentifier?: OPTIONAL, /** * @summary `altIcv`. * @public * @readonly */ altIcv?: OPTIONAL, /** * @summary Extensions that are not recognized. * @public * @readonly */ _unrecognizedExtensionsList?: _Element[]); /** * @summary Restructures an object into a ICV_Total * @description * * This takes an `object` and converts it to a `ICV_Total`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `ICV_Total`. * @returns {ICV_Total} */ static _from_object(_o: Partial<{ [_K in keyof ICV_Total]: ICV_Total[_K]; }>): ICV_Total; } /** * @summary The Leading Root Component Types of ICV_Total * @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_ICV_Total: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of ICV_Total * @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_ICV_Total: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of ICV_Total * @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_ICV_Total: $.ComponentSpec[]; /** * @summary Returns a function that will decode an ASN.1 element into a(n) ICV_Total * @function * @param {_Element} el The element being decoded. * @returns A function that will decode an ASN.1 element. */ export declare function _get_decoder_for_ICV_Total(_decode_ToBeProtected: $.ASN1Decoder): $.ASN1Decoder>; /** * @summary Returns a function that will encode a(n) ICV_Total into an ASN.1 Element. * @function * @returns A function that will encode a(n) ICV_Total as an ASN.1 element. */ export declare function _get_encoder_for_ICV_Total(_encode_ToBeProtected: $.ASN1Encoder): $.ASN1Encoder>; //# sourceMappingURL=ICV-Total.ta.d.mts.map