summaryrefslogtreecommitdiff
path: root/app/src/main/java/se/leap/bitmaskclient/pluggableTransports/Obfs4Options.java
blob: b96f88ca12f6a340bd5b653cb1b2a4d1ea8f5af1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package se.leap.bitmaskclient.pluggableTransports;

import java.io.Serializable;

public class Obfs4Options implements Serializable {
    public String cert;
    public String iatMode;
    public String remoteIP;
    public String remotePort;
    // openvpn is still using tcp, obfs4 is wrapped in kcp, if udp == true
    public boolean udp;

    public Obfs4Options(String remoteIP, String remotePort, String cert, String iatMode, boolean udp) {
        this.cert = cert;
        this.iatMode = iatMode;
        this.remoteIP = remoteIP;
        this.remotePort = remotePort;
        this.udp = udp;
    }

}