@Internal public class ServerEncryptionServiceImpl extends Object implements ServerEncryptionService
Constructor and Description |
---|
ServerEncryptionServiceImpl() |
Modifier and Type | Method and Description |
---|---|
String |
decrypt(String data)
Set of complementary methods
ServerEncryptionService.encrypt(String) and ServerEncryptionService.decrypt(String) provide means to obfuscate sensitive data
default encryption key defined for this server. |
String |
decrypt(String data,
String key)
Set of complementary methods
ServerEncryptionService.encrypt(String, String) and ServerEncryptionService.decrypt(String, String) provide means to obfuscate sensitive data. |
String |
encrypt(String data)
Set of complementary methods
ServerEncryptionService.encrypt(String) and ServerEncryptionService.decrypt(String) provide means to obfuscate sensitive data using
default encryption key defined for this server. |
String |
encrypt(String data,
String key)
Set of complementary methods
ServerEncryptionService.encrypt(String, String) and ServerEncryptionService.decrypt(String, String) provide means to obfuscate sensitive data. |
@NotNull public String encrypt(@Nullable String data) throws EncryptionException
ServerEncryptionService
ServerEncryptionService.encrypt(String)
and ServerEncryptionService.decrypt(String)
provide means to obfuscate sensitive data using
default encryption key defined for this server.encrypt
in interface ServerEncryptionService
data
- string to be encryptedEncryptionException
- when encryption failed@NotNull public String encrypt(@Nullable String data, @NotNull String key) throws EncryptionException
ServerEncryptionService
ServerEncryptionService.encrypt(String, String)
and ServerEncryptionService.decrypt(String, String)
provide means to obfuscate sensitive data.encrypt
in interface ServerEncryptionService
data
- string to be encryptedkey
- encryption keyEncryptionException
- when encryption failed@NotNull public String decrypt(@Nullable String data) throws EncryptionException
ServerEncryptionService
ServerEncryptionService.encrypt(String)
and ServerEncryptionService.decrypt(String)
provide means to obfuscate sensitive data
default encryption key defined for this server.decrypt
in interface ServerEncryptionService
data
- string to be decryptedEncryptionException
- when decryption failed@NotNull public String decrypt(@Nullable String data, @NotNull String key) throws EncryptionException
ServerEncryptionService
ServerEncryptionService.encrypt(String, String)
and ServerEncryptionService.decrypt(String, String)
provide means to obfuscate sensitive data.decrypt
in interface ServerEncryptionService
data
- string to be decryptedkey
- encryption keyEncryptionException
- when decryption failedCopyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.