public abstract class DhGenResult extends TLObject
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
newNonceHash |
protected byte[] |
nonce |
protected byte[] |
serverNonce |
| Modifier | Constructor and Description |
|---|---|
|
DhGenResult() |
protected |
DhGenResult(byte[] nonce,
byte[] serverNonce,
byte[] newNonceHash) |
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
byte[] |
getNewNonceHash() |
byte[] |
getNonce() |
byte[] |
getServerNonce() |
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
deserialize, getClassId, serialize, serialize, toStringprotected byte[] nonce
protected byte[] serverNonce
protected byte[] newNonceHash
protected DhGenResult(byte[] nonce,
byte[] serverNonce,
byte[] newNonceHash)
public DhGenResult()
public byte[] getNonce()
public byte[] getServerNonce()
public byte[] getNewNonceHash()
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.