public interface SecurityVault
| Modifier and Type | Method and Description |
|---|---|
boolean |
exists(String vaultBlock,
String attributeName)
Check whether an attribute value exists in the vault
|
byte[] |
handshake(Map<String,Object> handshakeOptions)
Retrieve the shared key from the vault
|
void |
init(Map<String,Object> options)
Initialize the vault
|
boolean |
isInitialized()
Determine if the vault is initialized
|
Set<String> |
keyList()
Get the currently vaulted VaultBlock_attribute Names
|
boolean |
remove(String vaultBlock,
String attributeName,
byte[] sharedKey)
Remove an existing attribute value
|
char[] |
retrieve(String vaultBlock,
String attributeName,
byte[] sharedKey)
Retrieve the attribute value
|
void |
store(String vaultBlock,
String attributeName,
char[] attributeValue,
byte[] sharedKey)
Store an attribute value
|
void init(Map<String,Object> options) throws SecurityVaultException
options - SecurityVaultExceptionboolean isInitialized()
byte[] handshake(Map<String,Object> handshakeOptions) throws SecurityVaultException
handshakeOptions - a set of options that the vault identifies for handshakeSecurityVaultExceptionSet<String> keyList() throws SecurityVaultException
SecurityVaultExceptionboolean exists(String vaultBlock, String attributeName) throws SecurityVaultException
vaultBlock - attributeName - SecurityVaultExceptionvoid store(String vaultBlock, String attributeName, char[] attributeValue, byte[] sharedKey) throws SecurityVaultException
vaultBlock - a string value that brings in the uniquenessattributeName - name of the attributeattributeValue - sharedKey - SecurityVaultExceptionchar[] retrieve(String vaultBlock, String attributeName, byte[] sharedKey) throws SecurityVaultException
vaultBlock - attributeName - sharedKey - SecurityVaultExceptionboolean remove(String vaultBlock, String attributeName, byte[] sharedKey) throws SecurityVaultException
vaultBlock - attributeName - sharedKey - SecurityVaultExceptionCopyright © 2017 JBoss by Red Hat. All rights reserved.