public static class ENCRYPT.EncryptHeader extends Header
限定符和类型 | 字段和说明 |
---|---|
static byte |
ENCRYPT |
static byte |
ENCRYPT_ENTIRE_MSG |
static byte |
KEY_REQUEST |
static byte |
SECRETKEY |
protected byte[] |
version |
构造器和说明 |
---|
ENCRYPT.EncryptHeader() |
ENCRYPT.EncryptHeader(byte type,
byte[] version) |
限定符和类型 | 方法和说明 |
---|---|
boolean |
encryptEntireMessage() |
byte |
getType() |
protected byte[] |
getVersion() |
void |
readFrom(java.io.DataInput in)
Read the state of the current object (including superclasses) from instream
Note that the input stream must not be closed
|
int |
size()
To be implemented by subclasses.
|
java.lang.String |
toString() |
void |
writeTo(java.io.DataOutput out)
Write the entire state of the current object (including superclasses) to outstream.
|
public static final byte ENCRYPT
public static final byte KEY_REQUEST
public static final byte SECRETKEY
public static final byte ENCRYPT_ENTIRE_MSG
protected byte[] version
public ENCRYPT.EncryptHeader()
public ENCRYPT.EncryptHeader(byte type, byte[] version)
public byte getType()
protected byte[] getVersion()
public boolean encryptEntireMessage()
public void writeTo(java.io.DataOutput out) throws java.lang.Exception
Streamable
java.lang.Exception
public void readFrom(java.io.DataInput in) throws java.lang.Exception
Streamable
java.lang.Exception
public int size()
Header