Interface SecretValue

All Known Implementing Classes:
AesSecretValue, EncryptedSecretValue, InPlaceSecretValue

public interface SecretValue
  • Method Details

    • toBase64e

      static String toBase64e(byte[] b)
    • fromBase64e

      static byte[] fromBase64e(String s)
    • inPlace

    • withSecretValue

      default void withSecretValue(Consumer<char[]> con)
    • mapSecretValue

      default <T> T mapSecretValue(Function<char[],T> con)
    • mapSecretValueFailable

      default <T> T mapSecretValueFailable(FailableFunction<char[],T,Exception> con) throws Exception
      Throws:
      Exception
    • getSecret

      char[] getSecret()
    • getSecretValue

      default String getSecretValue()