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 MasterKeyService
public char[] getMasterSecret()
getMasterSecret
in interface MasterKeyService
public static void main(String[] args)
Copyright © 2017. All rights reserved.