public class ReqDhParams extends TLMethod<ServerDhParams>
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID |
protected byte[] |
encryptedData |
protected long |
fingerPrint |
protected byte[] |
nonce |
protected byte[] |
p |
protected byte[] |
q |
protected byte[] |
serverNonce |
| Constructor and Description |
|---|
ReqDhParams() |
ReqDhParams(byte[] nonce,
byte[] serverNonce,
byte[] p,
byte[] q,
long fingerPrint,
byte[] encryptedData) |
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
ServerDhParams |
deserializeResponse(InputStream stream,
TLContext context) |
int |
getClassId()
Getting TL Class identification
|
byte[] |
getEncryptedData() |
long |
getFingerPrint() |
byte[] |
getNonce() |
byte[] |
getP() |
byte[] |
getQ() |
byte[] |
getServerNonce() |
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
String |
toString()
Custom toString method
|
castResponse, deserializeResponsedeserialize, serialize, serializepublic static final int CLASS_ID
protected byte[] nonce
protected byte[] serverNonce
protected byte[] p
protected byte[] q
protected long fingerPrint
protected byte[] encryptedData
public ReqDhParams(byte[] nonce,
byte[] serverNonce,
byte[] p,
byte[] q,
long fingerPrint,
byte[] encryptedData)
public ReqDhParams()
public ServerDhParams deserializeResponse(InputStream stream, TLContext context) throws IOException
deserializeResponse in class TLMethod<ServerDhParams>IOExceptionpublic int getClassId()
TLObjectgetClassId in class TLObjectpublic byte[] getNonce()
public byte[] getServerNonce()
public byte[] getP()
public byte[] getQ()
public long getFingerPrint()
public byte[] getEncryptedData()
public void serializeBody(OutputStream stream) throws IOException
TLObjectserializeBody in class TLObjectstream - destination streamIOExceptionpublic void deserializeBody(InputStream stream, TLContext context) throws IOException
TLObjectdeserializeBody in class TLObjectstream - source streamcontext - tl contextIOExceptionCopyright © 2016. All rights reserved.