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 intprotected byte[]getNonce(int numBytes) protected SecretKeyinPlace()static InPlaceSecretValueof(byte[] b) static InPlaceSecretValueof(char[] c) static InPlaceSecretValuetoString()Methods inherited from class io.xpipe.core.util.AesSecretValue
decrypt, encrypt, getAlgorithmMethods 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() -
getNonce
protected byte[] getNonce(int numBytes) - Overrides:
getNoncein classAesSecretValue
-
getSecretKey
- Specified by:
getSecretKeyin classAesSecretValue- Throws:
InvalidKeySpecException
-
inPlace
-
toString
- Overrides:
toStringin classEncryptedSecretValue
-