java.lang.Object
io.xpipe.core.util.EncryptedSecretValue
io.xpipe.core.util.AesSecretValue
io.xpipe.core.util.InPlaceSecretValue
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected SecretKeyprotected intprotected byte[]getNonce(int numBytes) inPlace()static InPlaceSecretValueof(byte[] b) static InPlaceSecretValueof(char[] c) static InPlaceSecretValuetoString()Methods inherited from class io.xpipe.core.util.AesSecretValue
decrypt, encrypt, getSecretKeyMethods inherited from class io.xpipe.core.util.EncryptedSecretValue
getSecret, getSecretRawMethods 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, mapSecretValue, mapSecretValueFailable, withSecretValue
-
Constructor Details
-
InPlaceSecretValue
public InPlaceSecretValue(byte[] b) -
InPlaceSecretValue
public InPlaceSecretValue(char[] secret)
-
-
Method Details
-
of
-
of
-
of
-
getIterationCount
protected int getIterationCount()- Specified by:
getIterationCountin classAesSecretValue
-
getNonce
protected byte[] getNonce(int numBytes) - Overrides:
getNoncein classAesSecretValue
-
getAESKey
- Overrides:
getAESKeyin classAesSecretValue- Throws:
InvalidKeySpecException
-
inPlace
-
toString
- Overrides:
toStringin classEncryptedSecretValue
-