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(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.
|
String |
toString() |
void |
writeTo(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(DataOutput out) throws Exception
StreamableExceptionpublic void readFrom(DataInput in) throws Exception
StreamableExceptionpublic int size()
HeaderCopyright © 2025 JBoss, a division of Red Hat. All rights reserved.