java.lang.Object
io.xpipe.core.util.EncryptedSecretValue
-
Constructor Summary
ConstructorsConstructorDescriptionEncryptedSecretValue(byte[] b) EncryptedSecretValue(char[] c) EncryptedSecretValue(String encryptedValue) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.xpipe.core.util.SecretValue
getSecretValue, inPlace, mapSecretValue, mapSecretValueFailable, withSecretValue
-
Constructor Details
-
EncryptedSecretValue
-
EncryptedSecretValue
public EncryptedSecretValue(byte[] b) -
EncryptedSecretValue
public EncryptedSecretValue(char[] c)
-
-
Method Details
-
toString
-
getSecretRaw
public byte[] getSecretRaw()- Specified by:
getSecretRawin interfaceSecretValue
-
getSecret
public char[] getSecret()- Specified by:
getSecretin interfaceSecretValue
-
encrypt
public byte[] encrypt(byte[] c) -
decrypt
public byte[] decrypt(byte[] c)
-