Package org.drinkless.tdlib
Class TdApi.EncryptedCredentials
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.EncryptedCredentials
-
- Enclosing class:
- TdApi
public static class TdApi.EncryptedCredentials extends TdApi.Object
Contains encrypted Telegram Passport data credentials.
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.byte[]dataThe encrypted credentials.byte[]hashThe decrypted data hash.byte[]secretSecret for data decryption, encrypted with the service's public key.
-
Constructor Summary
Constructors Constructor Description EncryptedCredentials()Contains encrypted Telegram Passport data credentials.EncryptedCredentials(byte[] data, byte[] hash, byte[] secret)Contains encrypted Telegram Passport data credentials.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
data
public byte[] data
The encrypted credentials.
-
hash
public byte[] hash
The decrypted data hash.
-
secret
public byte[] secret
Secret for data decryption, encrypted with the service's public key.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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- The encrypted credentials.hash- The decrypted data hash.secret- Secret for data decryption, encrypted with the service's public key.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-