public static class ENCRYPT.EncryptHeader extends Header
Modifier and Type | Field and Description |
---|---|
static byte |
ENCRYPT |
static byte |
ENCRYPT_ENTIRE_MSG |
static byte |
KEY_REQUEST |
static byte |
SECRETKEY |
protected byte[] |
version |
Constructor and Description |
---|
EncryptHeader() |
EncryptHeader(byte type,
byte[] version) |
Modifier and Type | Method and Description |
---|---|
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 EncryptHeader()
public 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
Copyright © 1998-2020 Red Hat. All Rights Reserved.