JavaTM Platform
Standard Ed. 6

类 java.security.spec.ECParameterSpec
的使用

使用 ECParameterSpec 的软件包
java.security.interfaces 提供的接口用于生成 RSA Laboratory Technical Note PKCS#1 中定义的 RSA(Rivest、Shamir 和 Adleman AsymmetricCipher 算法)密钥,以及 NIST 的 FIPS-186 中定义的 DSA(数字签名算法)密钥。 
java.security.spec 提供密钥规范和算法参数规范的类和接口。 
 

java.security.interfaces 中 ECParameterSpec 的使用
 

返回 ECParameterSpec 的 java.security.interfaces 中的方法
 ECParameterSpec ECKey.getParams()
          返回与此密钥关联的域参数。
 

java.security.spec 中 ECParameterSpec 的使用
 

返回 ECParameterSpec 的 java.security.spec 中的方法
 ECParameterSpec ECPrivateKeySpec.getParams()
          返回关联的椭圆曲线域参数。
 ECParameterSpec ECPublicKeySpec.getParams()
          返回关联的椭圆曲线域参数。
 

参数类型为 ECParameterSpec 的 java.security.spec 中的构造方法
ECPrivateKeySpec(BigInteger s, ECParameterSpec params)
          使用指定的参数值创建一个新的 ECPrivateKeySpec。
ECPublicKeySpec(ECPoint w, ECParameterSpec params)
          根据指定参数值,创建一个新的 ECPublicKeySpec。
 


JavaTM Platform
Standard Ed. 6

提交错误或意见
有关更多的 API 参考资料和开发人员文档,请参阅 Java SE 开发人员文档。该文档包含更详细的、面向开发人员的描述,以及总体概述、术语定义、使用技巧和工作代码示例。

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。