- Enclosing class:
- TdApi
Checks the database encryption key
for correctness. Works only when the
current authorization state is authorizationStateWaitEncryptionKey.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
byte[]
Encryption key to check or set up. -
Constructor Summary
ConstructorDescriptionChecks the database encryption key for correctness.CheckDatabaseEncryptionKey
(byte[] encryptionKey) Checks the database encryption key for correctness.Checks the database encryption key for correctness. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
encryptionKey
public byte[] encryptionKeyEncryption key to check or set up. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
CheckDatabaseEncryptionKey
public CheckDatabaseEncryptionKey()Checks the database encryption key for correctness. Works only when the current authorization state is authorizationStateWaitEncryptionKey.Returns
Ok
-
CheckDatabaseEncryptionKey
public CheckDatabaseEncryptionKey(byte[] encryptionKey) Checks the database encryption key for correctness. Works only when the current authorization state is authorizationStateWaitEncryptionKey.Returns
Ok
- Parameters:
encryptionKey
- byte[] Encryption key to check or set up.
-
CheckDatabaseEncryptionKey
Checks the database encryption key for correctness. Works only when the current authorization state is authorizationStateWaitEncryptionKey.Returns
Ok
- 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()
-