|
Bouncy Castle Cryptography 1.50 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.crypto.tls.HeartbeatMessage
public class HeartbeatMessage
Field Summary | |
---|---|
protected int |
paddingLength
|
protected byte[] |
payload
|
protected short |
type
|
Constructor Summary | |
---|---|
HeartbeatMessage(short type,
byte[] payload,
int paddingLength)
|
Method Summary | |
---|---|
void |
encode(TlsContext context,
java.io.OutputStream output)
Encode this HeartbeatMessage to an OutputStream . |
static HeartbeatMessage |
parse(java.io.InputStream input)
Parse a HeartbeatMessage from an InputStream . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected short type
protected byte[] payload
protected int paddingLength
Constructor Detail |
---|
public HeartbeatMessage(short type, byte[] payload, int paddingLength)
Method Detail |
---|
public void encode(TlsContext context, java.io.OutputStream output) throws java.io.IOException
HeartbeatMessage
to an OutputStream
.
output
- the OutputStream
to encode to.
java.io.IOException
public static HeartbeatMessage parse(java.io.InputStream input) throws java.io.IOException
HeartbeatMessage
from an InputStream
.
input
- the InputStream
to parse from.
HeartbeatMessage
object.
java.io.IOException
|
Bouncy Castle Cryptography 1.50 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |