public class SecretEncryptionServiceImpl extends Object implements SecretEncryptionService
Constructor and Description |
---|
SecretEncryptionServiceImpl() |
Modifier and Type | Method and Description |
---|---|
String |
decrypt(String encryptedSecret)
Decrypts the supplied secret.
|
String |
encrypt(String secretToEncrypt)
Encrypts the supplied string.
|
boolean |
isEncrypted(String string)
Whether the supplied string has been encrypted by this service.
|
protected void |
setSecretEncryptionService(SecretEncryptionServiceInternal secretEncryptionService) |
public boolean isEncrypted(@NotNull String string)
SecretEncryptionService
isEncrypted
in interface SecretEncryptionService
@NotNull public String decrypt(@NotNull String encryptedSecret)
SecretEncryptionService
decrypt
in interface SecretEncryptionService
@NotNull public String encrypt(@NotNull String secretToEncrypt)
SecretEncryptionService
encrypt
in interface SecretEncryptionService
protected void setSecretEncryptionService(SecretEncryptionServiceInternal secretEncryptionService)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.