java.lang.Object
io.xpipe.core.util.EncryptedSecretValue
io.xpipe.core.util.AesSecretValue
- All Implemented Interfaces:
SecretValue
- Direct Known Subclasses:
DefaultSecretValue
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.xpipe.core.util.EncryptedSecretValue
getSecret, toStringMethods 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, withSecretValue
-
Constructor Details
-
AesSecretValue
public AesSecretValue(char[] secret)
-
-
Method Details
-
getAESKey
-
encrypt
public byte[] encrypt(byte[] c) - Overrides:
encryptin classEncryptedSecretValue
-
decrypt
public byte[] decrypt(byte[] c) - Overrides:
decryptin classEncryptedSecretValue
-