

import { AgentConfig } from "../../agent/AgentConfig.mjs";
import { X509Service } from "./X509Service.mjs";
import { X509ModuleConfig } from "./X509ModuleConfig.mjs";
import { X509Api } from "./X509Api.mjs";

//#region src/modules/x509/X509Module.ts
/**
* @public
*/
var X509Module = class {
	constructor(options) {
		this.api = X509Api;
		this.config = new X509ModuleConfig(options);
	}
	/**
	* Registers the dependencies of the sd-jwt-vc module on the dependency manager.
	*/
	register(dependencyManager) {
		dependencyManager.resolve(AgentConfig).logger.warn("The 'X509' module is experimental and could have unexpected breaking changes. When using this module, make sure to use strict versions for all @credo-ts packages.");
		dependencyManager.registerInstance(X509ModuleConfig, this.config);
		dependencyManager.registerSingleton(X509Service);
	}
};

//#endregion
export { X509Module };
//# sourceMappingURL=X509Module.mjs.map