Java 7 keytool椭圆曲线加密 [英] Java 7 keytool Elliptic Curve Encryption

查看:265
本文介绍了Java 7 keytool椭圆曲线加密的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



这个应该是可以根据 Oracle
我引用:


区域:工具



简介: keytool jarsigner 工具现在支持密码生成和jar签名中的ECC算法。



RFE: 6870812


我使用的是32位版本1.7.0_07,我已经尝试过使用-keyalg ECC,ECIES,ECDSA ...的keytool,但是我总是得到不能导出签名算法。我使用了错误的Java版本吗?



我使用的错误名称为ECC?

解决方案

这是源代码进行算法选择。允许的值为 DSA RSA EC 。这些值在我可以告诉的任何地方都没有记录。


I'm trying to create a keystore using keytool with a keyalg ECC.

This should be possible according to Oracle. I quote:

Area: Tools

Synopsis: The keytool and jarsigner tools now support the ECC algorithm in keypair generation and jar signing.

RFE: 6870812

I'm using the 32-bit version 1.7.0_07, and I've tried keytool with -keyalg ECC, ECIES, ECDSA,... but I always get Cannot derive signature algorithm.

Am I using the wrong Java version? Am I using the wrong name for ECC?

解决方案

Here is the source for the algorithm selection. The allowed values are DSA, RSA and EC. These values are not documented anywhere as far as I can tell.

这篇关于Java 7 keytool椭圆曲线加密的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆