Class TdApi.EncryptedCredentials

  • Enclosing class:
    TdApi

    public static class TdApi.EncryptedCredentials
    extends TdApi.Object
    Contains encrypted Telegram Passport data credentials.
    • 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.