import { ASN1Element as _Element, BIT_STRING, OPTIONAL } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; import { SimpleCredentials_validity_time1 } from "../DirectoryAbstractService/SimpleCredentials-validity-time1.ta.mjs"; import { SimpleCredentials_validity_time2 } from "../DirectoryAbstractService/SimpleCredentials-validity-time2.ta.mjs"; /** * @summary SimpleCredentials_validity * @description * * ### ASN.1 Definition: * * ```asn1 * SimpleCredentials-validity ::= SEQUENCE { -- REMOVED_FROM_UNNESTING -- } * ``` * */ export declare class SimpleCredentials_validity { /** * @summary `time1`. * @public * @readonly */ readonly time1?: OPTIONAL; /** * @summary `time2`. * @public * @readonly */ readonly time2?: OPTIONAL; /** * @summary `random1`. * @public * @readonly */ readonly random1?: OPTIONAL; /** * @summary `random2`. * @public * @readonly */ readonly random2?: OPTIONAL; constructor( /** * @summary `time1`. * @public * @readonly */ time1?: OPTIONAL, /** * @summary `time2`. * @public * @readonly */ time2?: OPTIONAL, /** * @summary `random1`. * @public * @readonly */ random1?: OPTIONAL, /** * @summary `random2`. * @public * @readonly */ random2?: OPTIONAL); /** * @summary Restructures an object into a SimpleCredentials_validity * @description * * This takes an `object` and converts it to a `SimpleCredentials_validity`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `SimpleCredentials_validity`. * @returns {SimpleCredentials_validity} */ static _from_object(_o: Partial<{ [_K in keyof SimpleCredentials_validity]: SimpleCredentials_validity[_K]; }>): SimpleCredentials_validity; } /** * @summary The Leading Root Component Types of SimpleCredentials_validity * @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_SimpleCredentials_validity: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of SimpleCredentials_validity * @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_SimpleCredentials_validity: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of SimpleCredentials_validity * @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_SimpleCredentials_validity: $.ComponentSpec[]; /** * @summary Decodes an ASN.1 element into a(n) SimpleCredentials_validity * @function * @param {_Element} el The element being decoded. * @returns {SimpleCredentials_validity} The decoded data structure. */ export declare function _decode_SimpleCredentials_validity(el: _Element): SimpleCredentials_validity; /** * @summary Encodes a(n) SimpleCredentials_validity 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 SimpleCredentials_validity, encoded as an ASN.1 Element. */ export declare function _encode_SimpleCredentials_validity(value: SimpleCredentials_validity, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=SimpleCredentials-validity.ta.d.mts.map