请教:如何用JAVA程序实现数字证书的产生?

jeffzhou 2004-05-07 09:39:14
已有用于签名的根CA证书和用户的的一些身份信息,JAVA中有没有
相应的变成接口可以生成新证书啊?谢谢赐教!
...全文
178 3 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
bjgxjob 2004-08-23
  • 打赏
  • 举报
回复
What Java Tool Can Generate, Display, Import, and Export X.509 Certificates?
There is a tool named keytool ( for Solaris ) ( for Windows ) that can be used to create public/private key pairs and self-signed X.509 v1 certificates, and to manage keystores. Keys and certificates are used to digitally sign your Java applications and applets (see the jarsigner ( for Solaris ) ( for Windows ) tool).
A keystore is a protected database that holds keys and certificates for an enterprise. Access to a keystore is guarded by a password (defined at the time the keystore is created, by the person who creates the keystore, and changeable only when providing the current password). In addition, each private key in a keystore can be guarded by its own password.

Using keytool, it is possible to display, import, and export X.509 v1, v2, and v3 certificates stored as files, and to generate new self-signed v1 certificates. For examples, see the "EXAMPLES" section of the keytool documentation ( for Solaris ) ( for Windows ).
yll6865 2004-08-21
  • 打赏
  • 举报
回复
up
huchengyu 2004-08-06
  • 打赏
  • 举报
回复
我也想知道,帮你顶一下

4,453

社区成员

发帖
与我相关
我的任务
社区描述
云计算 云安全相关讨论
社区管理员
  • 云安全社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧