Most visited

Recently visited

Added in API level 1

KeyStoreBuilderParameters

public class KeyStoreBuilderParameters
extends Object implements ManagerFactoryParameters

java.lang.Object
   ↳ javax.net.ssl.KeyStoreBuilderParameters


用于封装KeyStore.Builders列表的X509KeyManagers的参数对象。

也可以看看:

Summary

Public constructors

KeyStoreBuilderParameters(KeyStore.Builder builder)

从指定的 KeyStore.Builder构建新的KeyStoreBuilderParameters。

KeyStoreBuilderParameters(List<KeyStore.Builder> parameters)

KeyStore.Builder列表中构建新的KeyStoreBuilderParameters。

Public methods

List<KeyStore.Builder> getParameters()

返回由此对象封装的 KeyStore.Builder的不可修改列表。

Inherited methods

From class java.lang.Object

Public constructors

KeyStoreBuilderParameters

Added in API level 1
KeyStoreBuilderParameters (KeyStore.Builder builder)

从指定的 KeyStore.Builder构建新的KeyStoreBuilderParameters。

Parameters
builder KeyStore.Builder: the Builder object
Throws
NullPointerException if builder is null

KeyStoreBuilderParameters

Added in API level 9
KeyStoreBuilderParameters (List<KeyStore.Builder> parameters)

KeyStore.Builder列表中构建新的KeyStoreBuilderParameters。 请注意,该列表被克隆以防止后续修改。

Parameters
parameters List: the List of Builder objects
Throws
NullPointerException if parameters is null
IllegalArgumentException if parameters is an empty list

Public methods

getParameters

Added in API level 1
List<KeyStore.Builder> getParameters ()

返回由此对象封装的 KeyStore.Builder的不可修改列表。

Returns
List<KeyStore.Builder> the unmodifiable List of the KeyStore.Builders encapsulated by this object.

Hooray!