Package org.drinkless.tdlib
Class TdApi.EncryptedCredentials
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.EncryptedCredentials
- Enclosing class:
- TdApi
Contains encrypted Telegram Passport data credentials.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.byte[]The encrypted credentials.byte[]The decrypted data hash.byte[]Secret for data decryption, encrypted with the service's public key. -
Constructor Summary
ConstructorsConstructorDescriptionContains encrypted Telegram Passport data credentials.EncryptedCredentials(byte[] data, byte[] hash, byte[] secret) Contains encrypted Telegram Passport data credentials. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
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 CONSTRUCTORIdentifier uniquely determining type of the object.- 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- The encrypted credentials.hash- The decrypted data hash.secret- Secret for data decryption, encrypted with the service's public key.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-