import { ASN1Element as _Element } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; import { AlgorithmIdentifier } from "../AuthenticationFramework/AlgorithmIdentifier.ta.mjs"; import { Integrity } from "../SpkmGssTokens/Integrity.ta.mjs"; import { Rep_ti_contents } from "../SpkmGssTokens/Rep-ti-contents.ta.mjs"; /** * @summary REP_TI_TOKEN * @description * * ### ASN.1 Definition: * * ```asn1 * REP-TI-TOKEN ::= SEQUENCE { * rep-ti-contents Rep-ti-contents, * algId AlgorithmIdentifier{{SupportedAlgorithms}}, * rep-ti-integ Integrity -- "token" is Rep-ti-contents * } * ``` * */ export declare class REP_TI_TOKEN { /** * @summary `rep_ti_contents`. * @public * @readonly */ readonly rep_ti_contents: Rep_ti_contents; /** * @summary `algId`. * @public * @readonly */ readonly algId: AlgorithmIdentifier; /** * @summary `rep_ti_integ`. * @public * @readonly */ readonly rep_ti_integ: Integrity; constructor( /** * @summary `rep_ti_contents`. * @public * @readonly */ rep_ti_contents: Rep_ti_contents, /** * @summary `algId`. * @public * @readonly */ algId: AlgorithmIdentifier, /** * @summary `rep_ti_integ`. * @public * @readonly */ rep_ti_integ: Integrity); /** * @summary Restructures an object into a REP_TI_TOKEN * @description * * This takes an `object` and converts it to a `REP_TI_TOKEN`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `REP_TI_TOKEN`. * @returns {REP_TI_TOKEN} */ static _from_object(_o: { [_K in keyof REP_TI_TOKEN]: REP_TI_TOKEN[_K]; }): REP_TI_TOKEN; } /** * @summary The Leading Root Component Types of REP_TI_TOKEN * @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_REP_TI_TOKEN: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of REP_TI_TOKEN * @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_REP_TI_TOKEN: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of REP_TI_TOKEN * @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_REP_TI_TOKEN: $.ComponentSpec[]; /** * @summary Decodes an ASN.1 element into a(n) REP_TI_TOKEN * @function * @param {_Element} el The element being decoded. * @returns {REP_TI_TOKEN} The decoded data structure. */ export declare function _decode_REP_TI_TOKEN(el: _Element): REP_TI_TOKEN; /** * @summary Encodes a(n) REP_TI_TOKEN 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 REP_TI_TOKEN, encoded as an ASN.1 Element. */ export declare function _encode_REP_TI_TOKEN(value: REP_TI_TOKEN, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=REP-TI-TOKEN.ta.d.mts.map