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