public static class TdApi.EncryptedCredentials extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
byte[] |
data
The encrypted credentials.
|
byte[] |
hash
The decrypted data hash.
|
byte[] |
secret
Secret for data decryption, encrypted with the service's public key.
|
| Constructor and Description |
|---|
EncryptedCredentials()
Contains encrypted Telegram Passport data credentials.
|
EncryptedCredentials(byte[] data,
byte[] hash,
byte[] secret)
Contains encrypted Telegram Passport data credentials.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic byte[] data
public byte[] hash
public byte[] secret
public static final int CONSTRUCTOR
public EncryptedCredentials()
public EncryptedCredentials(byte[] data,
byte[] hash,
byte[] secret)
data - The encrypted credentials.hash - The decrypted data hash.secret - Secret for data decryption, encrypted with the service's public key.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object