public interface MasterKeyReader
The implementation of this interface can be different from one MasterKeyReader to another depending on its requirements and behaviour.
Modifier and Type | Method and Description |
---|---|
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. |
void init(MasterKeyReaderConfiguration masterKeyReaderConfiguration) throws SecureVaultException
readMasterKeys
.masterKeyReaderConfiguration
- MasterKeyReaderConfiguration
SecureVaultException
- on an error while trying to initialize the MasterKeyReadervoid readMasterKeys(List<MasterKey> masterKeys) throws SecureVaultException
MasterKey
s
provided in the masterKeys
list.masterKeys
- a list of MasterKey
sSecureVaultException
- on an error while trying to read master keysCopyright © 2017 WSO2. All rights reserved.