Package org.sqlite.mc
Class SQLiteMCChacha20Config
- java.lang.Object
-
- org.sqlite.mc.SQLiteMCConfig.Builder
-
- org.sqlite.mc.SQLiteMCChacha20Config
-
public class SQLiteMCChacha20Config extends SQLiteMCConfig.Builder
-
-
Constructor Summary
Constructors Constructor Description SQLiteMCChacha20Config()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SQLiteMCChacha20ConfiggetDefault()static SQLiteMCChacha20ConfiggetSqlleetDefaults()SQLiteMCChacha20ConfigsetKdfIter(int value)SQLiteMCChacha20ConfigsetLegacy(int value)SQLiteMCChacha20ConfigsetLegacyPageSize(int value)SQLiteMCChacha20ConfigwithRawSaltedKey(byte[] key)SQLiteMCChacha20ConfigwithRawUnsaltedKey(byte[] key)-
Methods inherited from class org.sqlite.mc.SQLiteMCConfig.Builder
build, fromExistingProperties, isValid, setCipher, setFastKdfIter, setHmacAlgorithm, setHmacPgno, setHmacSaltMask, setHmacUse, setKdfAlgorithm, setPlaintextHeaderSize, toHexString, toSQLiteMCConfig, useSQLInterface, useSQLInterface, withHexKey, withHexKey, withKey
-
-
-
-
Method Detail
-
setLegacy
public SQLiteMCChacha20Config setLegacy(int value)
- Overrides:
setLegacyin classSQLiteMCConfig.Builder
-
setLegacyPageSize
public SQLiteMCChacha20Config setLegacyPageSize(int value)
- Overrides:
setLegacyPageSizein classSQLiteMCConfig.Builder
-
setKdfIter
public SQLiteMCChacha20Config setKdfIter(int value)
- Overrides:
setKdfIterin classSQLiteMCConfig.Builder
-
withRawUnsaltedKey
public SQLiteMCChacha20Config withRawUnsaltedKey(byte[] key)
-
withRawSaltedKey
public SQLiteMCChacha20Config withRawSaltedKey(byte[] key)
-
getDefault
public static SQLiteMCChacha20Config getDefault()
-
getSqlleetDefaults
public static SQLiteMCChacha20Config getSqlleetDefaults()
-
-