public final class PasswordProtectedKeyStoreCryptoConfiguration extends CryptoConfiguration<PasswordProtectedKeyStoreCryptoConfiguration> implements org.jboss.aerogear.android.Config<PasswordProtectedKeyStoreCryptoConfiguration>
PasswordEncryptionServices.| Constructor and Description |
|---|
PasswordProtectedKeyStoreCryptoConfiguration() |
| 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.
|
PasswordProtectedKeyStoreCryptoConfiguration |
setAlias(String alias)
The alias of the key in the keystore.
|
PasswordProtectedKeyStoreCryptoConfiguration |
setKeyStoreFile(String keyStoreFile)
The keystore file is the filename of the keystore.
|
PasswordProtectedKeyStoreCryptoConfiguration |
setPassword(String password)
The password is a String value protecting the keystore.
|
addOnEncryptionServiceCreatedListener, asService, getContext, getName, getOnEncryptionServiceCreatedListeners, setContext, setName, setOnEncryptionServiceCreatedListenerspublic PasswordProtectedKeyStoreCryptoConfiguration()
public String getAlias()
public PasswordProtectedKeyStoreCryptoConfiguration setAlias(String alias)
alias - a new aliaspublic String getPassword()
public PasswordProtectedKeyStoreCryptoConfiguration setPassword(String password)
password - a new passwordpublic String getKeyStoreFile()
public PasswordProtectedKeyStoreCryptoConfiguration setKeyStoreFile(String keyStoreFile)
keyStoreFile - a new keystoreFileprotected EncryptionService buildService()
CryptoConfigurationEncryptionService instance.buildService in class CryptoConfiguration<PasswordProtectedKeyStoreCryptoConfiguration>EncryptionService based on this configurationCopyright © 2014 JBoss by Red Hat. All rights reserved.