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

jeffzhou 2004-05-07 09:39:14
已有用于签名的根CA证书和用户的的一些身份信息,JAVA中有没有
相应的变成接口可以生成新证书啊?谢谢赐教!
...全文
140 3 点赞 打赏 收藏 举报
写回复
3 条回复
切换为时间正序
当前发帖距今超过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
我也想知道,帮你顶一下
  • 打赏
  • 举报
回复
相关推荐
发帖
云安全
加入

4375

社区成员

云计算 云安全相关讨论
申请成为版主
帖子事件
创建了帖子
2004-05-07 09:39
社区公告
暂无公告