public final class KeyStoreBasedEncryptionConfiguration extends AbstractEncryptionConfiguration<KeyStoreBasedEncryptionConfiguration> implements org.jboss.aerogear.android.core.Config<KeyStoreBasedEncryptionConfiguration>
KeyStoreBasedEncryptionEncryptionServices.| Constructor and Description |
|---|
KeyStoreBasedEncryptionConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
protected EncryptionService |
buildService()
Validates configuration parameters and returns a
EncryptionService instance. |
String |
getAlias()
The alias of the key in the keystore.
|
String |
getKeyStoreFile()
The keystore file is the filename of the keystore.
|
String |
getPassword()
The password is a String value protecting the keystore.
|
KeyStoreBasedEncryptionConfiguration |
setAlias(String alias)
The alias of the key in the keystore.
|
KeyStoreBasedEncryptionConfiguration |
setKeyStoreFile(String keyStoreFile)
The keystore file is the filename of the keystore.
|
KeyStoreBasedEncryptionConfiguration |
setPassword(String password)
The password is a String value protecting the keystore.
|
addOnEncryptionServiceCreatedListener, asService, getContext, getName, getOnEncryptionServiceCreatedListeners, setContext, setName, setOnEncryptionServiceCreatedListenerspublic KeyStoreBasedEncryptionConfiguration()
public String getAlias()
public KeyStoreBasedEncryptionConfiguration setAlias(String alias)
alias - a new aliaspublic String getPassword()
public KeyStoreBasedEncryptionConfiguration setPassword(String password)
password - a new passwordpublic String getKeyStoreFile()
public KeyStoreBasedEncryptionConfiguration setKeyStoreFile(String keyStoreFile)
keyStoreFile - a new keystoreFileprotected EncryptionService buildService()
AbstractEncryptionConfigurationEncryptionService instance.buildService in class AbstractEncryptionConfiguration<KeyStoreBasedEncryptionConfiguration>EncryptionService based on this configurationCopyright © 2016 JBoss by Red Hat. All rights reserved.