软件包 | 描述 |
---|---|
java.security |
为安全框架提供类和接口。
|
java.security.cert |
提供用于解析和管理证书的类和接口,证书撤销列表(CRL),认证路径。
|
javax.net.ssl |
为安全套接字包提供类。
|
Modifier and Type | Method and Description |
---|---|
static KeyStore |
KeyStore.getInstance(String type)
返回一个指定类型的对象库。
|
static KeyStore |
KeyStore.getInstance(String type, Provider provider)
返回一个指定类型的对象库。
|
static KeyStore |
KeyStore.getInstance(String type, String provider)
返回一个指定类型的对象库。
|
abstract KeyStore |
KeyStore.Builder.getKeyStore()
返回KeyStore所描述的这个对象。
|
Modifier and Type | Method and Description |
---|---|
static KeyStore.Builder |
KeyStore.Builder.newInstance(KeyStore keyStore, KeyStore.ProtectionParameter protectionParameter)
返回一个新的功能,封装了特定的密钥库。
|
Constructor and Description |
---|
PKIXBuilderParameters(KeyStore keystore, CertSelector targetConstraints)
创建
PKIXBuilderParameters 填充包含在指定
KeyStore 最受信任的CA的证书信任项集合中的一个实例。
|
PKIXParameters(KeyStore keystore)
创建
PKIXParameters 填充包含在指定
KeyStore 最受信任的CA的证书信任项集合中的一个实例。
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
TrustManagerFactorySpi.engineInit(KeyStore ks)
一个证书权威的来源和相关的信托材料初始化这个厂。
|
protected abstract void |
KeyManagerFactorySpi.engineInit(KeyStore ks, char[] password)
一个关键的材料源初始化这个厂。
|
void |
TrustManagerFactory.init(KeyStore ks)
一个证书权威的来源和相关的信托材料初始化这个厂。
|
void |
KeyManagerFactory.init(KeyStore ks, char[] password)
一个关键的材料源初始化这个厂。
|
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.