Package com.atlassian.bamboo.security
Interface EncryptionService
- All Known Implementing Classes:
EncryptionServiceImpl
,MigratingEncryptionService
Deprecated.
since 5.15 without replacement
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Deprecated."-----BEG" (that's how most private keys start) after encryption starts with this value. -
Method Summary
Modifier and TypeMethodDescription@NotNull String
Deprecated.Set of complementary methodsencrypt(String)
anddecrypt(String)
provide means to obfuscate sensitive data.@NotNull String
Deprecated.Set of complementary methodsencrypt(String)
anddecrypt(String)
provide means to obfuscate sensitive data.
-
Field Details
-
ENCRYPTED_PRIVATE_KEY_PREFIX
Deprecated."-----BEG" (that's how most private keys start) after encryption starts with this value. It can be used to detect encrypted private key later.
-
-
Method Details
-
encrypt
Deprecated.Set of complementary methodsencrypt(String)
anddecrypt(String)
provide means to obfuscate sensitive data.- Parameters:
data
- string to be encrypted- Returns:
- encrypted string
- Throws:
EncryptionException
- when encryption failed
-
decrypt
Deprecated.Set of complementary methodsencrypt(String)
anddecrypt(String)
provide means to obfuscate sensitive data.- Parameters:
data
- string to be decrypted- Returns:
- decrypted string
- Throws:
EncryptionException
- when decryption failed
-