Interface SecretEncryptionServiceInternal
-
- All Known Implementing Classes:
SecretEncryptionServiceInternalImpl
@Internal public interface SecretEncryptionServiceInternal
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull Stringdecrypt(@NotNull String encryptedSecret)Decrypts the supplied secret.@NotNull Stringencrypt(@NotNull String secretToEncrypt)Encrypts the supplied string.booleanisEncrypted(@NotNull String string)Whether the supplied string has been encrypted by this service.voidreloadCipher()Enforce reloading current cipher.
-
-
-
Method Detail
-
isEncrypted
boolean isEncrypted(@NotNull @NotNull String string)Whether the supplied string has been encrypted by this service.
-
decrypt
@NotNull @NotNull String decrypt(@NotNull @NotNull String encryptedSecret)
Decrypts the supplied secret.
-
encrypt
@NotNull @NotNull String encrypt(@NotNull @NotNull String secretToEncrypt)
Encrypts the supplied string.
-
reloadCipher
void reloadCipher()
Enforce reloading current cipher.
-
-