Package com.atlassian.bamboo.security
Class MigratingEncryptionService
java.lang.Object
com.atlassian.bamboo.security.MigratingEncryptionService
- All Implemented Interfaces:
EncryptionService
-
Field Summary
Fields inherited from interface com.atlassian.bamboo.security.EncryptionService
ENCRYPTED_PRIVATE_KEY_PREFIX
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull String
Set of complementary methodsEncryptionService.encrypt(String)
andEncryptionService.decrypt(String)
provide means to obfuscate sensitive data.@NotNull String
Set of complementary methodsEncryptionService.encrypt(String)
andEncryptionService.decrypt(String)
provide means to obfuscate sensitive data.
-
Constructor Details
-
MigratingEncryptionService
-
-
Method Details
-
encrypt
Description copied from interface:EncryptionService
Set of complementary methodsEncryptionService.encrypt(String)
andEncryptionService.decrypt(String)
provide means to obfuscate sensitive data.- Specified by:
encrypt
in interfaceEncryptionService
- Parameters:
data
- string to be encrypted- Returns:
- encrypted string
- Throws:
EncryptionException
- when encryption failed
-
decrypt
Description copied from interface:EncryptionService
Set of complementary methodsEncryptionService.encrypt(String)
andEncryptionService.decrypt(String)
provide means to obfuscate sensitive data.- Specified by:
decrypt
in interfaceEncryptionService
- Parameters:
data
- string to be decrypted- Returns:
- decrypted string
- Throws:
EncryptionException
- when decryption failed
-