public class CryptoServiceImpl extends java.lang.Object implements CryptoService
CONFIG_FILE, KEY_SFTP, KEY_SIGN, KEY_USER
Constructor and Description |
---|
CryptoServiceImpl(ConfigService configService,
HookHandlerService hookHandlerService) |
Modifier and Type | Method and Description |
---|---|
void |
createEmptyConfiguration() |
CryptoCredentials |
getCryptoCredentials(java.lang.String keyIdentifier) |
CryptoCredentials |
getUserCryptoCredentials(java.lang.String email) |
boolean |
hasCryptoCredentials(java.lang.String keyIdentifier) |
public CryptoServiceImpl(ConfigService configService, HookHandlerService hookHandlerService)
public boolean hasCryptoCredentials(java.lang.String keyIdentifier)
hasCryptoCredentials
in interface CryptoService
public CryptoCredentials getCryptoCredentials(java.lang.String keyIdentifier)
getCryptoCredentials
in interface CryptoService
public CryptoCredentials getUserCryptoCredentials(java.lang.String email)
getUserCryptoCredentials
in interface CryptoService
public void createEmptyConfiguration()