import { OPTIONAL, OCTET_STRING, GeneralizedTime, ASN1Element as _Element } from '@wildboar/asn1'; import * as $ from '@wildboar/asn1/functional'; import { CertReferences } from '../SCVP-2009/CertReferences.ta.mjs'; import { CertChecks } from '../SCVP-2009/CertChecks.ta.mjs'; import { WantBack } from '../SCVP-2009/WantBack.ta.mjs'; import { ValidationPolicy } from '../SCVP-2009/ValidationPolicy.ta.mjs'; import { ResponseFlags } from '../SCVP-2009/ResponseFlags.ta.mjs'; import { CertBundle } from '../SCVP-2009/CertBundle.ta.mjs'; import { RevocationInfos } from '../SCVP-2009/RevocationInfos.ta.mjs'; import { Extensions } from '@wildboar/x500/AuthenticationFramework'; /** * @summary Query * @description * * ### ASN.1 Definition: * * ```asn1 * Query ::= SEQUENCE { * queriedCerts CertReferences, * checks CertChecks, * wantBack [1] WantBack OPTIONAL, * validationPolicy ValidationPolicy, * responseFlags ResponseFlags OPTIONAL, * serverContextInfo [2] OCTET STRING OPTIONAL, * validationTime [3] GeneralizedTime OPTIONAL, * intermediateCerts [4] CertBundle OPTIONAL, * revInfos [5] RevocationInfos OPTIONAL, * producedAt [6] GeneralizedTime OPTIONAL, * queryExtensions [7] Extensions{{QueryExtensions}} OPTIONAL * } * ``` * */ export declare class Query { /** * @summary `queriedCerts`. * @public * @readonly */ readonly queriedCerts: CertReferences; /** * @summary `checks`. * @public * @readonly */ readonly checks: CertChecks; /** * @summary `wantBack`. * @public * @readonly */ readonly wantBack: OPTIONAL; /** * @summary `validationPolicy`. * @public * @readonly */ readonly validationPolicy: ValidationPolicy; /** * @summary `responseFlags`. * @public * @readonly */ readonly responseFlags?: OPTIONAL; /** * @summary `serverContextInfo`. * @public * @readonly */ readonly serverContextInfo?: OPTIONAL; /** * @summary `validationTime`. * @public * @readonly */ readonly validationTime?: OPTIONAL; /** * @summary `intermediateCerts`. * @public * @readonly */ readonly intermediateCerts?: OPTIONAL; /** * @summary `revInfos`. * @public * @readonly */ readonly revInfos?: OPTIONAL; /** * @summary `producedAt`. * @public * @readonly */ readonly producedAt?: OPTIONAL; /** * @summary `queryExtensions`. * @public * @readonly */ readonly queryExtensions?: OPTIONAL; constructor( /** * @summary `queriedCerts`. * @public * @readonly */ queriedCerts: CertReferences, /** * @summary `checks`. * @public * @readonly */ checks: CertChecks, /** * @summary `wantBack`. * @public * @readonly */ wantBack: OPTIONAL, /** * @summary `validationPolicy`. * @public * @readonly */ validationPolicy: ValidationPolicy, /** * @summary `responseFlags`. * @public * @readonly */ responseFlags?: OPTIONAL, /** * @summary `serverContextInfo`. * @public * @readonly */ serverContextInfo?: OPTIONAL, /** * @summary `validationTime`. * @public * @readonly */ validationTime?: OPTIONAL, /** * @summary `intermediateCerts`. * @public * @readonly */ intermediateCerts?: OPTIONAL, /** * @summary `revInfos`. * @public * @readonly */ revInfos?: OPTIONAL, /** * @summary `producedAt`. * @public * @readonly */ producedAt?: OPTIONAL, /** * @summary `queryExtensions`. * @public * @readonly */ queryExtensions?: OPTIONAL); /** * @summary Restructures an object into a Query * @description * * This takes an `object` and converts it to a `Query`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `Query`. * @returns {Query} */ static _from_object(_o: { [_K in keyof Query]: Query[_K]; }): Query; } /** * @summary The Leading Root Component Types of Query * @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_Query: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of Query * @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_Query: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of Query * @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_Query: $.ComponentSpec[]; /** * @summary Decodes an ASN.1 element into a(n) Query * @function * @param {_Element} el The element being decoded. * @returns {Query} The decoded data structure. */ export declare function _decode_Query(el: _Element): Query; /** * @summary Encodes a(n) Query 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 Query, encoded as an ASN.1 Element. */ export declare function _encode_Query(value: Query, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=Query.ta.d.mts.map