站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JavaTM 2 Platform Standard Edition 5.0 API 规范中文版

类 javax.crypto.KeyGenerator 的使用 (Java 2 Platform SE 5.0) - JavaTM 2 Platform Standard Edition 5.0 API 规范中文版

JavaTM 2 Platform
Standard Ed. 5.0

类 javax.crypto.KeyGenerator
的使用

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

javax.crypto 中 KeyGenerator 的使用
 

返回 KeyGenerator 的 javax.crypto 中的方法
static KeyGenerator KeyGenerator.getInstance(String algorithm)
          为指定算法生成一个 KeyGenerator 对象。
static KeyGenerator KeyGenerator.getInstance(String algorithm, Provider provider)
          为来自指定提供程序的指定密钥算法生成一个 KeyGenerator 对象。
static KeyGenerator KeyGenerator.getInstance(String algorithm, String provider)
          为来自指定提供程序的指定密钥算法生成一个 KeyGenerator 对象。
 


JavaTM 2 Platform
Standard Ed. 5.0

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

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