- All Known Implementing Classes:
AesSecretValue,EncryptedSecretValue,InPlaceSecretValue
public interface SecretValue
-
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]char[]byte[]default StringinPlace()default <T> TmapSecretValue(Function<char[], T> con) default <T> TmapSecretValueFailable(FailableFunction<char[], T, Exception> con) static StringtoBase64e(byte[] b) static char[]toBase64eChars(byte[] b) default voidwithSecretValue(Consumer<char[]> con)
-
Method Details
-
toBase64eChars
static char[] toBase64eChars(byte[] b) -
toBase64e
-
fromBase64e
-
inPlace
InPlaceSecretValue inPlace() -
withSecretValue
-
mapSecretValue
-
mapSecretValueFailable
- Throws:
Exception
-
getSecretRaw
byte[] getSecretRaw() -
getSecret
char[] getSecret() -
getSecretValue
-