JSONFileKeyStoreFactory
public class JSONFileKeyStoreFactory
extends Object
implements IKeyStoreFactory
java.lang.Object | |
↳ | com.android.tradefed.util.keystore.JSONFileKeyStoreFactory |
JSON KeyStore Factory 的实现,它提供了用于访问 JSON Key Store 文件的JSONFileKeyStoreClient
。
概括
公共构造函数 | |
---|---|
JSONFileKeyStoreFactory () |
公共方法 | |
---|---|
IKeyStoreClient | createKeyStoreClient () 创建一个密钥存储客户端以从密钥存储中获取值。 |
void | setHostName (String hostName) 用于设置主机名的辅助方法。 |
公共构造函数
JSONFileKeyStoreFactory
public JSONFileKeyStoreFactory ()
公共方法
创建密钥库客户端
public IKeyStoreClient createKeyStoreClient ()
创建一个密钥存储客户端以从密钥存储中获取值。
退货 | |
---|---|
IKeyStoreClient | IKeyStoreClient |
投掷 | |
---|---|
KeyStoreException |
设置主机名
public void setHostName (String hostName)
用于设置主机名的辅助方法。用于测试。
参数 | |
---|---|
hostName | String :用作主机名。 |