import { ASN1Element as _Element, OBJECT_IDENTIFIER } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; import { MULTY_SIGNED_parmeters_sign } from "../CryptoTools/MULTY-SIGNED-parmeters-sign.ta.mjs"; /** * @summary MULTY_SIGNED * @description * * ### ASN.1 Definition: * * ```asn1 * MULTY-SIGNED{ToBeSigned} ::= SEQUENCE { * toBeSigned ToBeSigned, * algorithm ALGORITHM.&id({multipleSignaturesAlgo}), * parmeters SEQUENCE SIZE (1..MAX) OF * sign SEQUENCE { * algo AlgorithmIdentifier{{SupportedSignatureAlgorithms}}, * signature BIT STRING, * ... }, * ... } * ``` * */ export declare class MULTY_SIGNED { /** * @summary `toBeSigned`. * @public * @readonly */ readonly toBeSigned: ToBeSigned; /** * @summary `algorithm`. * @public * @readonly */ readonly algorithm: OBJECT_IDENTIFIER; /** * @summary `parmeters`. * @public * @readonly */ readonly parmeters: MULTY_SIGNED_parmeters_sign[]; /** * @summary Extensions that are not recognized. * @public * @readonly */ readonly _unrecognizedExtensionsList: _Element[]; constructor( /** * @summary `toBeSigned`. * @public * @readonly */ toBeSigned: ToBeSigned, /** * @summary `algorithm`. * @public * @readonly */ algorithm: OBJECT_IDENTIFIER, /** * @summary `parmeters`. * @public * @readonly */ parmeters: MULTY_SIGNED_parmeters_sign[], /** * @summary Extensions that are not recognized. * @public * @readonly */ _unrecognizedExtensionsList?: _Element[]); /** * @summary Restructures an object into a MULTY_SIGNED * @description * * This takes an `object` and converts it to a `MULTY_SIGNED`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `MULTY_SIGNED`. * @returns {MULTY_SIGNED} */ static _from_object(_o: Partial<{ [_K in keyof MULTY_SIGNED]: MULTY_SIGNED[_K]; }>): MULTY_SIGNED; } /** * @summary The Leading Root Component Types of MULTY_SIGNED * @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_MULTY_SIGNED: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of MULTY_SIGNED * @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_MULTY_SIGNED: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of MULTY_SIGNED * @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_MULTY_SIGNED: $.ComponentSpec[]; /** * @summary Returns a function that will decode an ASN.1 element into a(n) MULTY_SIGNED * @function * @param {_Element} el The element being decoded. * @returns A function that will decode an ASN.1 element. */ export declare function _get_decoder_for_MULTY_SIGNED(_decode_ToBeSigned: $.ASN1Decoder): $.ASN1Decoder>; /** * @summary Returns a function that will encode a(n) MULTY_SIGNED into an ASN.1 Element. * @function * @returns A function that will encode a(n) MULTY_SIGNED as an ASN.1 element. */ export declare function _get_encoder_for_MULTY_SIGNED(_encode_ToBeSigned: $.ASN1Encoder): $.ASN1Encoder>; //# sourceMappingURL=MULTY-SIGNED.ta.d.mts.map