import { OBJECT_IDENTIFIER, ASN1Element as _Element } from '@wildboar/asn1'; import * as $ from '@wildboar/asn1/functional'; import { type GeneralNames } from '@wildboar/x500/CertificateExtensions'; /** * @summary NameValidationAlgParams * @description * * ### ASN.1 Definition: * * ```asn1 * NameValidationAlgParams ::= SEQUENCE { * nameCompAlgId OBJECT IDENTIFIER (NameCompAlgSet, ... ), * validationNames GeneralNames * } * ``` * */ export declare class NameValidationAlgParams { /** * @summary `nameCompAlgId`. * @public * @readonly */ readonly nameCompAlgId: OBJECT_IDENTIFIER; /** * @summary `validationNames`. * @public * @readonly */ readonly validationNames: GeneralNames; constructor( /** * @summary `nameCompAlgId`. * @public * @readonly */ nameCompAlgId: OBJECT_IDENTIFIER, /** * @summary `validationNames`. * @public * @readonly */ validationNames: GeneralNames); /** * @summary Restructures an object into a NameValidationAlgParams * @description * * This takes an `object` and converts it to a `NameValidationAlgParams`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `NameValidationAlgParams`. * @returns {NameValidationAlgParams} */ static _from_object(_o: { [_K in keyof NameValidationAlgParams]: NameValidationAlgParams[_K]; }): NameValidationAlgParams; } /** * @summary The Leading Root Component Types of NameValidationAlgParams * @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_NameValidationAlgParams: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of NameValidationAlgParams * @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_NameValidationAlgParams: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of NameValidationAlgParams * @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_NameValidationAlgParams: $.ComponentSpec[]; /** * @summary Decodes an ASN.1 element into a(n) NameValidationAlgParams * @function * @param {_Element} el The element being decoded. * @returns {NameValidationAlgParams} The decoded data structure. */ export declare function _decode_NameValidationAlgParams(el: _Element): NameValidationAlgParams; /** * @summary Encodes a(n) NameValidationAlgParams 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 NameValidationAlgParams, encoded as an ASN.1 Element. */ export declare function _encode_NameValidationAlgParams(value: NameValidationAlgParams, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=NameValidationAlgParams.ta.d.mts.map