Package com.atlassian.bamboo.security
Class EncryptionServiceImpl
java.lang.Object
com.atlassian.bamboo.security.EncryptionServiceImpl
- All Implemented Interfaces:
EncryptionService
@Deprecated
@ThreadSafe
public class EncryptionServiceImpl
extends Object
implements EncryptionService
Deprecated.
This class provides a simple string data encrypter
-
Field Summary
Fields inherited from interface com.atlassian.bamboo.security.EncryptionService
ENCRYPTED_PRIVATE_KEY_PREFIX
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull String
Deprecated.Set of complementary methodsEncryptionService.encrypt(String)
andEncryptionService.decrypt(String)
provide means to obfuscate sensitive data.@NotNull String
Deprecated.Set of complementary methodsEncryptionService.encrypt(String)
andEncryptionService.decrypt(String)
provide means to obfuscate sensitive data.
-
Constructor Details
-
EncryptionServiceImpl
Deprecated.- Throws:
EncryptionException
-
-
Method Details
-
encrypt
@NotNull public @NotNull String encrypt(@Nullable @Nullable String stringToEncrypt) throws EncryptionException Deprecated.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:
stringToEncrypt
- string to be encrypted- Returns:
- encrypted string
- Throws:
EncryptionException
- when encryption failed
-
decrypt
Deprecated.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
-
SecretEncryptionService