JSONFileKeyStoreFactory

public class JSONFileKeyStoreFactory
extends Object implements IKeyStoreFactory

java.lang.Object
   ↳ com.android.tradefed.util.keystore.JSONFileKeyStoreFactory


Implementation of a JSON KeyStore Factory, which provides a JSONFileKeyStoreClient for accessing a JSON Key Store File.

Summary

Public constructors

JSONFileKeyStoreFactory()

Public methods

IKeyStoreClient createKeyStoreClient()

Creates a key store client for fetching values from key store.

void setHostName(String hostName)

Helper method used to set host name.

Public constructors

JSONFileKeyStoreFactory

public JSONFileKeyStoreFactory ()

Public methods

createKeyStoreClient

public IKeyStoreClient createKeyStoreClient ()

Creates a key store client for fetching values from key store.

Returns
IKeyStoreClient IKeyStoreClient

Throws
KeyStoreException

setHostName

public void setHostName (String hostName)

Helper method used to set host name. Used for testing.

Parameters
hostName String: to use as host name.