如何通过命令行列出Java安全提供商支持的算法
我正在使用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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论