软件包 | 描述 |
---|---|
java.security |
为安全框架提供类和接口。
|
javax.xml.crypto.dsig.keyinfo |
解析和处理
KeyInfo 元素和结构的类。
|
Modifier and Type | Class and Description |
---|---|
class |
InvalidKeyException
这是无效的密钥的例外(无效编码,长度错误,初始化,等)。
|
class |
KeyManagementException
这是处理密钥管理的所有操作的通用密钥管理异常。
|
Modifier and Type | Method and Description |
---|---|
void |
Certificate.decode(InputStream stream)
过时的。
将输入流中的证书。
|
void |
Certificate.encode(OutputStream stream)
过时的。
编码的证书中,可以通过
decode 方法解码格式输出流。
|
void |
Signer.setKeyPair(KeyPair pair)
过时的。
设置此签名者的密钥对(公钥和私钥)。
|
Modifier and Type | Method and Description |
---|---|
PublicKey |
KeyValue.getPublicKey()
返回该
KeyValue 公钥。
|
abstract KeyValue |
KeyInfoFactory.newKeyValue(PublicKey key)
创建从指定的公钥
KeyValue 。
|
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.