Class TdApi.EncryptedCredentials
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.EncryptedCredentials
- Enclosing class:
- TdApi
Contains encrypted Telegram Passport data credentials.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier 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
ConstructorDescriptionContains encrypted Telegram Passport data credentials.EncryptedCredentials
(byte[] data, byte[] hash, byte[] secret) Contains encrypted Telegram Passport data credentials. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.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.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-