JavaTM 2 Platform
Standard Ed. 6

类 java.security.KeyPair
的使用

使用 KeyPair 的软件包
java.security 为安全框架提供类和接口。 
 

java.security 中 KeyPair 的使用
 

返回 KeyPair 的 java.security 中的方法
 KeyPair KeyPairGenerator.generateKeyPair()
          生成一个密钥对。
abstract  KeyPair KeyPairGeneratorSpi.generateKeyPair()
          生成密钥对。
 KeyPair KeyPairGenerator.genKeyPair()
          生成密钥对。
 

参数类型为 KeyPair 的 java.security 中的方法
 void Signer.setKeyPair(KeyPair pair)
          已过时。 为此签署人设置密钥对(公钥和私钥)。
 


JavaTM 2 Platform
Standard Ed. 6

提交错误或意见

版权所有 2008 Sun Microsystems, Inc. 保留所有权利。请遵守GNU General Public License, version 2 only。