Interface VaultManager
-
- All Known Implementing Classes:
VaultManagerImpl
public interface VaultManager
The Interface VaultManager.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
decryptValue(java.lang.String password, java.lang.String userId, java.lang.String value)
Decrypt value.java.lang.String
encryptValue(java.lang.String password, java.lang.String userId, java.lang.String value)
Encrypt value.java.lang.String
getEncryptedValue(java.lang.String password, com.hack23.cia.model.internal.application.user.impl.UserAccount userExist)
Gets the encrypted value.
-
-
-
Method Detail
-
getEncryptedValue
java.lang.String getEncryptedValue(java.lang.String password, com.hack23.cia.model.internal.application.user.impl.UserAccount userExist)
Gets the encrypted value.- Parameters:
password
- the passworduserExist
- the user exist- Returns:
- the encrypted value
-
encryptValue
java.lang.String encryptValue(java.lang.String password, java.lang.String userId, java.lang.String value)
Encrypt value.- Parameters:
password
- the passworduserId
- the user idvalue
- the value- Returns:
- the string
-
decryptValue
java.lang.String decryptValue(java.lang.String password, java.lang.String userId, java.lang.String value)
Decrypt value.- Parameters:
password
- the passworduserId
- the user idvalue
- the value- Returns:
- the string
-
-