Interface SecretEncryptionServiceInternal

All Known Implementing Classes:
SecretEncryptionServiceInternalImpl

@Internal public interface SecretEncryptionServiceInternal
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull String
    decrypt(@NotNull String encryptedSecret)
    Decrypts the supplied secret.
    @NotNull String
    encrypt(@NotNull String secretToEncrypt)
    Encrypts the supplied string.
    boolean
    isEncrypted(@NotNull String string)
    Whether the supplied string has been encrypted by this service.
    void
    Enforce reloading current cipher.
  • Method Details

    • 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.