import { ASN1Element as _Element, BOOLEAN, OPTIONAL } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; import { EncPwdInfo } from "../DirectoryAbstractService/EncPwdInfo.ta.mjs"; import { SecurityParameters } from "../DirectoryAbstractService/SecurityParameters.ta.mjs"; import { SecurityProblem } from "../DirectoryAbstractService/SecurityProblem.ta.mjs"; import { Attribute } from "../InformationFramework/Attribute.ta.mjs"; import { DistinguishedName } from "../InformationFramework/DistinguishedName.ta.mjs"; import { SPKM_ERROR } from "../SpkmGssTokens/SPKM-ERROR.ta.mjs"; import { CommonResults } from "../DirectoryAbstractService/CommonResults.ta.mjs"; /** * @summary SecurityErrorData * @description * * ### ASN.1 Definition: * * ```asn1 * SecurityErrorData ::= SET { * problem [0] SecurityProblem, * spkmInfo [1] SPKM-ERROR OPTIONAL, * encPwdInfo [2] EncPwdInfo OPTIONAL, * ..., * ..., * COMPONENTS OF CommonResults } * ``` * */ export declare class SecurityErrorData implements CommonResults { /** * @summary `problem`. * @public * @readonly */ readonly problem: SecurityProblem; /** * @summary `spkmInfo`. * @public * @readonly */ readonly spkmInfo?: OPTIONAL; /** * @summary `encPwdInfo`. * @public * @readonly */ readonly encPwdInfo?: OPTIONAL; /** * @summary Extensions that are not recognized. * @public * @readonly */ readonly _unrecognizedExtensionsList: _Element[]; /** * @summary `securityParameters`. * @public * @readonly */ readonly securityParameters?: OPTIONAL; /** * @summary `performer`. * @public * @readonly */ readonly performer?: OPTIONAL; /** * @summary `aliasDereferenced`. * @public * @readonly */ readonly aliasDereferenced?: OPTIONAL; /** * @summary `notification`. * @public * @readonly */ readonly notification?: OPTIONAL; constructor( /** * @summary `problem`. * @public * @readonly */ problem: SecurityProblem, /** * @summary `spkmInfo`. * @public * @readonly */ spkmInfo?: OPTIONAL, /** * @summary `encPwdInfo`. * @public * @readonly */ encPwdInfo?: OPTIONAL, /** * @summary Extensions that are not recognized. * @public * @readonly */ _unrecognizedExtensionsList?: _Element[], /** * @summary `securityParameters`. * @public * @readonly */ securityParameters?: OPTIONAL, /** * @summary `performer`. * @public * @readonly */ performer?: OPTIONAL, /** * @summary `aliasDereferenced`. * @public * @readonly */ aliasDereferenced?: OPTIONAL, /** * @summary `notification`. * @public * @readonly */ notification?: OPTIONAL); /** * @summary Restructures an object into a SecurityErrorData * @description * * This takes an `object` and converts it to a `SecurityErrorData`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `SecurityErrorData`. * @returns {SecurityErrorData} */ static _from_object(_o: { [_K in keyof SecurityErrorData]: SecurityErrorData[_K]; }): SecurityErrorData; /** * @summary Getter that returns the default value for `aliasDereferenced`. * @public * @static * @method */ static get _default_value_for_aliasDereferenced(): BOOLEAN; } /** * @summary The Leading Root Component Types of SecurityErrorData * @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_SecurityErrorData: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of SecurityErrorData * @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_SecurityErrorData: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of SecurityErrorData * @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_SecurityErrorData: $.ComponentSpec[]; /** * @summary Decodes an ASN.1 element into a(n) SecurityErrorData * @function * @param {_Element} el The element being decoded. * @returns {SecurityErrorData} The decoded data structure. */ export declare function _decode_SecurityErrorData(el: _Element): SecurityErrorData; /** * @summary Encodes a(n) SecurityErrorData 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 SecurityErrorData, encoded as an ASN.1 Element. */ export declare function _encode_SecurityErrorData(value: SecurityErrorData, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=SecurityErrorData.ta.d.mts.map