- Enclosing class:
- TdApi
Changes the database encryption key.
Usually the encryption key is never
changed and is stored in some OS keychain.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
byte[]
New encryption key. -
Constructor Summary
ConstructorDescriptionChanges the database encryption key.SetDatabaseEncryptionKey
(byte[] newEncryptionKey) Changes the database encryption key.Changes the database encryption key. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
newEncryptionKey
public byte[] newEncryptionKeyNew encryption key. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
SetDatabaseEncryptionKey
public SetDatabaseEncryptionKey()Changes the database encryption key. Usually the encryption key is never changed and is stored in some OS keychain. ReturnsOk
-
SetDatabaseEncryptionKey
public SetDatabaseEncryptionKey(byte[] newEncryptionKey) Changes the database encryption key. Usually the encryption key is never changed and is stored in some OS keychain. ReturnsOk
- Parameters:
newEncryptionKey
- byte[] New encryption key.
-
SetDatabaseEncryptionKey
Changes the database encryption key. Usually the encryption key is never changed and is stored in some OS keychain. ReturnsOk
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-