软件包 | 描述 |
---|---|
java.security |
为安全框架提供类和接口。
|
Modifier and Type | Method and Description |
---|---|
KeyPair |
KeyPairGenerator.generateKeyPair()
生成一个密钥对。
|
abstract KeyPair |
KeyPairGeneratorSpi.generateKeyPair()
生成一个密钥对。
|
KeyPair |
KeyPairGenerator.genKeyPair()
生成一个密钥对。
|
Modifier and Type | Method and Description |
---|---|
void |
Signer.setKeyPair(KeyPair pair)
过时的。
设置此签名者的密钥对(公钥和私钥)。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.