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
- SecurityVaultException
boolean isInitialized()
byte[] handshake(Map<String,Object> handshakeOptions) throws SecurityVaultException
handshakeOptions
- a set of options that the vault identifies for handshakeSecurityVaultException
Set<String> keyList() throws SecurityVaultException
SecurityVaultException
boolean exists(String vaultBlock, String attributeName) throws SecurityVaultException
vaultBlock
- attributeName
- SecurityVaultException
void 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
- SecurityVaultException
char[] retrieve(String vaultBlock, String attributeName, byte[] sharedKey) throws SecurityVaultException
vaultBlock
- attributeName
- sharedKey
- SecurityVaultException
boolean remove(String vaultBlock, String attributeName, byte[] sharedKey) throws SecurityVaultException
vaultBlock
- attributeName
- sharedKey
- SecurityVaultException
Copyright © 2016 JBoss by Red Hat. All rights reserved.