@Deprecated public interface EncryptionService
Modifier and Type | Field and Description |
---|---|
static String |
ENCRYPTED_PRIVATE_KEY_PREFIX
Deprecated.
"-----BEG" (that's how most private keys start) after encryption starts with this value.
|
Modifier and Type | Method and Description |
---|---|
@NotNull String |
decrypt(@Nullable String data)
Deprecated.
Set of complementary methods
encrypt(String) and decrypt(String) provide means
to obfuscate sensitive data. |
@NotNull String |
encrypt(@Nullable String data)
Deprecated.
Set of complementary methods
encrypt(String) and decrypt(String) provide means
to obfuscate sensitive data. |
static final String ENCRYPTED_PRIVATE_KEY_PREFIX
@NotNull @NotNull String encrypt(@Nullable @Nullable String data) throws EncryptionException
encrypt(String)
and decrypt(String)
provide means
to obfuscate sensitive data.data
- string to be encryptedEncryptionException
- when encryption failed@NotNull @NotNull String decrypt(@Nullable @Nullable String data) throws EncryptionException
encrypt(String)
and decrypt(String)
provide means
to obfuscate sensitive data.data
- string to be decryptedEncryptionException
- when decryption failedCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.