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 SQLiteMCChacha20Config
getDefault()
static SQLiteMCChacha20Config
getSqlleetDefaults()
SQLiteMCChacha20Config
setKdfIter(int value)
SQLiteMCChacha20Config
setLegacy(int value)
SQLiteMCChacha20Config
setLegacyPageSize(int value)
SQLiteMCChacha20Config
withRawSaltedKey(byte[] key)
SQLiteMCChacha20Config
withRawUnsaltedKey(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:
setLegacy
in classSQLiteMCConfig.Builder
-
setLegacyPageSize
public SQLiteMCChacha20Config setLegacyPageSize(int value)
- Overrides:
setLegacyPageSize
in classSQLiteMCConfig.Builder
-
setKdfIter
public SQLiteMCChacha20Config setKdfIter(int value)
- Overrides:
setKdfIter
in classSQLiteMCConfig.Builder
-
withRawUnsaltedKey
public SQLiteMCChacha20Config withRawUnsaltedKey(byte[] key)
-
withRawSaltedKey
public SQLiteMCChacha20Config withRawSaltedKey(byte[] key)
-
getDefault
public static SQLiteMCChacha20Config getDefault()
-
getSqlleetDefaults
public static SQLiteMCChacha20Config getSqlleetDefaults()
-
-