JavaTM Platform
Standard Ed. 6

类 javax.crypto.KeyAgreement
的使用

使用 KeyAgreement 的软件包
javax.crypto 为加密操作提供类和接口。 
 

javax.cryptoKeyAgreement 的使用
 

返回 KeyAgreementjavax.crypto 中的方法
static KeyAgreement KeyAgreement.getInstance(String algorithm)
          返回实现指定密钥协定算法的 KeyAgreement 对象。
static KeyAgreement KeyAgreement.getInstance(String algorithm, Provider provider)
          返回实现指定密钥协定算法的 KeyAgreement 对象。
static KeyAgreement KeyAgreement.getInstance(String algorithm, String provider)
          返回实现指定密钥协定算法的 KeyAgreement 对象。
 


JavaTM Platform
Standard Ed. 6

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

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