public class DefaultMasterKeyReader extends Object implements MasterKeyReader
Constructor and Description |
---|
DefaultMasterKeyReader() |
Modifier and Type | Method and Description |
---|---|
void |
activate() |
void |
deactivate() |
void |
init(MasterKeyReaderConfiguration masterKeyReaderConfiguration)
An implementation of this method should initialize the MasterKeyReader, so that it could perform the
readMasterKeys . |
void |
readMasterKeys(List<MasterKey> masterKeys)
An implementation of this method should populate the master key value of all the
MasterKey s
provided in the masterKeys list. |
public void activate()
public void deactivate()
public void init(MasterKeyReaderConfiguration masterKeyReaderConfiguration) throws SecureVaultException
MasterKeyReader
readMasterKeys
.init
in interface MasterKeyReader
masterKeyReaderConfiguration
- MasterKeyReaderConfiguration
SecureVaultException
- on an error while trying to initialize the MasterKeyReaderpublic void readMasterKeys(List<MasterKey> masterKeys) throws SecureVaultException
MasterKeyReader
MasterKey
s
provided in the masterKeys
list.readMasterKeys
in interface MasterKeyReader
masterKeys
- a list of MasterKey
sSecureVaultException
- on an error while trying to read master keysCopyright © 2017 WSO2. All rights reserved.