Class SecretEncryptionServiceInternalImpl
java.lang.Object
com.atlassian.bamboo.crypto.instance.SecretEncryptionServiceInternalImpl
- All Implemented Interfaces:
SecretEncryptionServiceInternal
public class SecretEncryptionServiceInternalImpl
extends Object
implements SecretEncryptionServiceInternal
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull StringDecrypts the supplied secret.@NotNull StringEncrypts the supplied string.static SecretEncryptionServicebooleanisEncrypted(@NotNull String string) Whether the supplied string has been encrypted by this service.voidEnforce reloading current cipher.
-
Constructor Details
-
SecretEncryptionServiceInternalImpl
public SecretEncryptionServiceInternalImpl()
-
-
Method Details
-
isEncrypted
Description copied from interface:SecretEncryptionServiceInternalWhether the supplied string has been encrypted by this service.- Specified by:
isEncryptedin interfaceSecretEncryptionServiceInternal
-
decrypt
Description copied from interface:SecretEncryptionServiceInternalDecrypts the supplied secret.- Specified by:
decryptin interfaceSecretEncryptionServiceInternal
-
encrypt
Description copied from interface:SecretEncryptionServiceInternalEncrypts the supplied string.- Specified by:
encryptin interfaceSecretEncryptionServiceInternal
-
reloadCipher
public void reloadCipher()Description copied from interface:SecretEncryptionServiceInternalEnforce reloading current cipher.- Specified by:
reloadCipherin interfaceSecretEncryptionServiceInternal
-
forTesting
-