public class Handshake extends Object implements Externalizable
| Constructor and Description | 
|---|
| Handshake() | 
| Modifier and Type | Method and Description | 
|---|---|
| AuthenticationType | getAuthType() | 
| byte[] | getPublicKey() | 
| byte[] | getPublicKeyLarge() | 
| String | getVersion() | 
| boolean | isCbc() | 
| void | readExternal(ObjectInput in) | 
| void | setAuthType(AuthenticationType authType) | 
| void | setCbc(boolean cbc) | 
| void | setPublicKey(byte[] key) | 
| void | setPublicKeyLarge(byte[] publicKeyLarge) | 
| void | setVersion()Sets the version from the  ApplicationInfo | 
| void | writeExternal(ObjectOutput out) | 
public String getVersion()
public void setVersion()
ApplicationInfopublic byte[] getPublicKey()
public void setPublicKey(byte[] key)
key - The key to set.public AuthenticationType getAuthType()
public void setAuthType(AuthenticationType authType)
public byte[] getPublicKeyLarge()
public void setPublicKeyLarge(byte[] publicKeyLarge)
public boolean isCbc()
public void setCbc(boolean cbc)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionCopyright © 2020. All rights reserved.