Package org.sqlite.mc
Class SQLiteMCConfig.Builder
java.lang.Object
org.sqlite.mc.SQLiteMCConfig.Builder
- Direct Known Subclasses:
SQLiteMCAegisConfig
,SQLiteMCAscon128Config
,SQLiteMCChacha20Config
,SQLiteMCRC4Config
,SQLiteMCSqlCipherConfig
,SQLiteMCWxAES128Config
,SQLiteMCWxAES256Config
- Enclosing class:
- SQLiteMCConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
protected static boolean
setAegisAlgorithm
(AegisAlgorithm algorithm) setCipher
(CipherAlgorithm cipherAlgorithm) setFastKdfIter
(int value) setHmacAlgorithm
(HmacAlgorithm value) setHmacPgno
(HmacPgno value) setHmacSaltMask
(int value) setHmacUse
(boolean value) setKdfAlgorithm
(KdfAlgorithm value) setKdfIter
(int value) setLegacy
(int value) setLegacyPageSize
(int value) setMCost
(long value) setPCost
(long value) setPlaintextHeaderSize
(int value) setTCost
(long value) protected static String
toHexString
(byte[] key) withHexKey
(byte[] key) withHexKey
(String hexkey)
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
isValid
-
toHexString
-
setPlaintextHeaderSize
-
setLegacy
-
setKdfIter
-
setKdfAlgorithm
-
setHmacUse
-
setHmacSaltMask
-
setHmacPgno
-
setHmacAlgorithm
-
setFastKdfIter
-
setLegacyPageSize
-
setCipher
-
setTCost
-
setMCost
-
setPCost
-
setAegisAlgorithm
-
withKey
-
withHexKey
-
withHexKey
-
build
-