java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.EncryptedCredentials
- Enclosing class:
- TdApi
Contains encrypted Telegram Passport data credentials.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
byte[]
The encrypted credentials.byte[]
The decrypted data hash.byte[]
Secret for data decryption, encrypted with the service's public key. -
Constructor Summary
ConstructorDescriptionContains encrypted Telegram Passport data credentials.EncryptedCredentials
(byte[] data, byte[] hash, byte[] secret) Contains encrypted Telegram Passport data credentials.EncryptedCredentials
(DataInput input) Contains encrypted Telegram Passport data credentials. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
data
public byte[] dataThe encrypted credentials. -
hash
public byte[] hashThe decrypted data hash. -
secret
public byte[] secretSecret for data decryption, encrypted with the service's public key. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
EncryptedCredentials
public EncryptedCredentials()Contains encrypted Telegram Passport data credentials. -
EncryptedCredentials
public EncryptedCredentials(byte[] data, byte[] hash, byte[] secret) Contains encrypted Telegram Passport data credentials.- Parameters:
data
- byte[] The encrypted credentials.hash
- byte[] The decrypted data hash.secret
- byte[] Secret for data decryption, encrypted with the service's public key.
-
EncryptedCredentials
Contains encrypted Telegram Passport data credentials.- 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()
-