All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.telegram.mtproto.pq.PqAuth Maven / Gradle / Ivy

There is a newer version: 66.2
Show newest version
package org.telegram.mtproto.pq;

import java.net.Socket;

/**
 * Created with IntelliJ IDEA.
 * User: Ruben Bermudez
 * Date: 03.11.13
 * Time: 8:14
 */
public class PqAuth {
    private byte[] authKey;
    private long serverSalt;
    private Socket socket;

    public PqAuth(byte[] authKey, long serverSalt, Socket socket) {
        this.authKey = authKey;
        this.serverSalt = serverSalt;
        this.socket = socket;
    }

    public byte[] getAuthKey() {
        return this.authKey;
    }

    public long getServerSalt() {
        return this.serverSalt;
    }

    public Socket getSocket() {
        return this.socket;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy