软件包 | 描述 |
---|---|
javax.security.cert |
提供公钥证书的类。
|
Modifier and Type | Class and Description |
---|---|
class |
CertificateEncodingException
证书编码异常。
|
class |
CertificateExpiredException
证书过期异常。
|
class |
CertificateNotYetValidException
证书还没有有效的异常。
|
class |
CertificateParsingException
证书解析异常。
|
Modifier and Type | Method and Description |
---|---|
static X509Certificate |
X509Certificate.getInstance(byte[] certData)
实例化和初始化它X509Certificate对象,用指定的字节数组。
|
static X509Certificate |
X509Certificate.getInstance(InputStream inStream)
实例化和初始化它的X509Certificate对象与数据从输入流中读取
inStream 。
|
abstract void |
Certificate.verify(PublicKey key)
验证该证书是使用对应于指定公共密钥的私钥签名的。
|
abstract void |
Certificate.verify(PublicKey key, String sigProvider)
验证该证书是使用对应于指定公共密钥的私钥签名的。
|
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.