import { ASN1Element as _Element, INTEGER, OPTIONAL } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; import { ChannelId } from "../SpkmGssTokens/ChannelId.ta.mjs"; import { Conf_Algs } from "../SpkmGssTokens/Conf-Algs.ta.mjs"; import { Intg_Algs } from "../SpkmGssTokens/Intg-Algs.ta.mjs"; import { Options } from "../SpkmGssTokens/Options.ta.mjs"; import { OWF_Algs } from "../SpkmGssTokens/OWF-Algs.ta.mjs"; /** * @summary Context_Data * @description * * ### ASN.1 Definition: * * ```asn1 * Context-Data ::= SEQUENCE { * channelId ChannelId OPTIONAL, * seq-number INTEGER OPTIONAL, * options Options, * conf-alg Conf-Algs, * intg-alg Intg-Algs, * owf-alg OWF-Algs * } * ``` * */ export declare class Context_Data { /** * @summary `channelId`. * @public * @readonly */ readonly channelId: OPTIONAL; /** * @summary `seq_number`. * @public * @readonly */ readonly seq_number: OPTIONAL; /** * @summary `options`. * @public * @readonly */ readonly options: Options; /** * @summary `conf_alg`. * @public * @readonly */ readonly conf_alg: Conf_Algs; /** * @summary `intg_alg`. * @public * @readonly */ readonly intg_alg: Intg_Algs; /** * @summary `owf_alg`. * @public * @readonly */ readonly owf_alg: OWF_Algs; constructor( /** * @summary `channelId`. * @public * @readonly */ channelId: OPTIONAL, /** * @summary `seq_number`. * @public * @readonly */ seq_number: OPTIONAL, /** * @summary `options`. * @public * @readonly */ options: Options, /** * @summary `conf_alg`. * @public * @readonly */ conf_alg: Conf_Algs, /** * @summary `intg_alg`. * @public * @readonly */ intg_alg: Intg_Algs, /** * @summary `owf_alg`. * @public * @readonly */ owf_alg: OWF_Algs); /** * @summary Restructures an object into a Context_Data * @description * * This takes an `object` and converts it to a `Context_Data`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `Context_Data`. * @returns {Context_Data} */ static _from_object(_o: { [_K in keyof Context_Data]: Context_Data[_K]; }): Context_Data; } /** * @summary The Leading Root Component Types of Context_Data * @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_Context_Data: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of Context_Data * @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_Context_Data: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of Context_Data * @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_Context_Data: $.ComponentSpec[]; /** * @summary Decodes an ASN.1 element into a(n) Context_Data * @function * @param {_Element} el The element being decoded. * @returns {Context_Data} The decoded data structure. */ export declare function _decode_Context_Data(el: _Element): Context_Data; /** * @summary Encodes a(n) Context_Data 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 Context_Data, encoded as an ASN.1 Element. */ export declare function _encode_Context_Data(value: Context_Data, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=Context-Data.ta.d.mts.map