如何通过命令行列出Java安全提供商支持的算法

发布于 2025-01-29 21:20:21 字数 308 浏览 4 评论 0原文

我正在使用KeyTool命令行实用程序来管理Java密钥库,并使用不同的提供商进行管理。每个提供商都可以支持不同的算法,例如:

Keystore provider: SUN

在生成新的密钥对和证书签名请求时,我需要提供诸如密钥算法以及大小和签名算法之类的加密参数。但是,为了做到这一点,我需要找到安全提供商的文档,以查看支持哪些算法。

有没有办法如何获取命令行上特定提供商的支持算法列表? (例如使用KeyTool命令,而无需在服务器上运行我的自定义Java代码)

I am using keytool command line utility for management of the Java KeyStores with different providers. Each provider can support different algorithms, which can be shown in the detail of the KeyStore, for example:

Keystore provider: SUN

When generating new key pair and certificate signing request, I need to provide cryptographic parameters like key algorithm and size and signature algorithm. However, in order to do this, I need to find the documentation of the security provider to see what algorithms are supported.

Is there a way how to get the list of supported algorithms for specific provider on the command line? (like using the keytool command, without running my custom Java code on the server)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文