Module tdlight.api

Class TdApi.EncryptedCredentials

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.EncryptedCredentials
Enclosing class:
TdApi

public static final class TdApi.EncryptedCredentials extends TdApi.Object
Contains encrypted Telegram Passport data credentials.
  • Field Details

    • 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
      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

      public EncryptedCredentials(DataInput input) throws IOException
      Contains encrypted Telegram Passport data credentials.
      Throws:
      IOException
  • Method Details