public class MasterKeyServiceImpl extends Object implements MasterKeyService
| Constructor and Description |
|---|
MasterKeyServiceImpl()
Construction for Non-persisted master key from environment
|
MasterKeyServiceImpl(String masterKey)
Construction for Non-persisted master key
|
MasterKeyServiceImpl(String masterFileLocation,
boolean isPersisted)
Construction - post creation of the key
|
MasterKeyServiceImpl(String masterKey,
String masterFileLocation,
boolean persistMaster)
Test/console friendly construction
|
| Modifier and Type | Method and Description |
|---|---|
char[] |
getMasterSecret() |
boolean |
isMasterKeyInitialized() |
static void |
main(String[] args) |
public MasterKeyServiceImpl(String masterKey, String masterFileLocation, boolean persistMaster)
masterKey - masterFileLocation - persistMaster - public MasterKeyServiceImpl(String masterFileLocation, boolean isPersisted)
masterFileLocation - isPersisted - public MasterKeyServiceImpl(String masterKey)
masterKey - public MasterKeyServiceImpl()
public boolean isMasterKeyInitialized()
isMasterKeyInitialized in interface MasterKeyServicepublic char[] getMasterSecret()
getMasterSecret in interface MasterKeyServicepublic static void main(String[] args)
Copyright © 2016. All rights reserved.