import { ASN1Element as _Element, OPTIONAL } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; import { HashAlgorithm } from "../PKIX1-PSS-OAEP-Algorithms-2009/HashAlgorithm.ta.mjs"; import { MaskGenAlgorithm } from "../PKIX1-PSS-OAEP-Algorithms-2009/MaskGenAlgorithm.ta.mjs"; import { PSourceAlgorithm } from "../PKIX1-PSS-OAEP-Algorithms-2009/PSourceAlgorithm.ta.mjs"; /** * @summary RSAES_OAEP_params * @description * * ### ASN.1 Definition: * * ```asn1 * RSAES-OAEP-params ::= SEQUENCE { * hashFunc [0] HashAlgorithm DEFAULT sha1Identifier, * maskGenFunc [1] MaskGenAlgorithm DEFAULT mgf1SHA1, * pSourceFunc [2] PSourceAlgorithm DEFAULT * pSpecifiedEmpty * } * ``` * */ export declare class RSAES_OAEP_params { /** * @summary `hashFunc`. * @public * @readonly */ readonly hashFunc?: OPTIONAL; /** * @summary `maskGenFunc`. * @public * @readonly */ readonly maskGenFunc?: OPTIONAL; /** * @summary `pSourceFunc`. * @public * @readonly */ readonly pSourceFunc?: OPTIONAL; constructor( /** * @summary `hashFunc`. * @public * @readonly */ hashFunc?: OPTIONAL, /** * @summary `maskGenFunc`. * @public * @readonly */ maskGenFunc?: OPTIONAL, /** * @summary `pSourceFunc`. * @public * @readonly */ pSourceFunc?: OPTIONAL); /** * @summary Restructures an object into a RSAES_OAEP_params * @description * * This takes an `object` and converts it to a `RSAES_OAEP_params`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `RSAES_OAEP_params`. * @returns {RSAES_OAEP_params} */ static _from_object(_o: { [_K in keyof RSAES_OAEP_params]: RSAES_OAEP_params[_K]; }): RSAES_OAEP_params; /** * @summary Getter that returns the default value for `hashFunc`. * @public * @static * @method */ static get _default_value_for_hashFunc(): HashAlgorithm; /** * @summary Getter that returns the default value for `maskGenFunc`. * @public * @static * @method */ static get _default_value_for_maskGenFunc(): MaskGenAlgorithm; /** * @summary Getter that returns the default value for `pSourceFunc`. * @public * @static * @method */ static get _default_value_for_pSourceFunc(): PSourceAlgorithm; } /** * @summary The Leading Root Component Types of RSAES_OAEP_params * @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_RSAES_OAEP_params: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of RSAES_OAEP_params * @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_RSAES_OAEP_params: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of RSAES_OAEP_params * @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_RSAES_OAEP_params: $.ComponentSpec[]; /** * @summary Decodes an ASN.1 element into a(n) RSAES_OAEP_params * @function * @param {_Element} el The element being decoded. * @returns {RSAES_OAEP_params} The decoded data structure. */ export declare function _decode_RSAES_OAEP_params(el: _Element): RSAES_OAEP_params; /** * @summary Encodes a(n) RSAES_OAEP_params 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 RSAES_OAEP_params, encoded as an ASN.1 Element. */ export declare function _encode_RSAES_OAEP_params(value: RSAES_OAEP_params, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=RSAES-OAEP-params.ta.d.mts.map