Class HeartbeatMessage
- Namespace
- Enterprises.Org.BouncyCastle.Crypto.Tls
- Assembly
- Enterprises.BouncyCastle.Crypto.dll
public class HeartbeatMessage
- Inheritance
-
HeartbeatMessage
- Inherited Members
-
Constructors
HeartbeatMessage(byte, byte[], int)
public HeartbeatMessage(byte type, byte[] payload, int paddingLength)
Parameters
type
byte
payload
byte[]
paddingLength
int
Fields
mPaddingLength
protected readonly int mPaddingLength
Field Value
- int
mPayload
protected readonly byte[] mPayload
Field Value
- byte[]
mType
protected readonly byte mType
Field Value
- byte
Methods
Encode(TlsContext, Stream)
public virtual void Encode(TlsContext context, Stream output)
Parameters
context
TlsContext
output
Stream
Parse(Stream)
public static HeartbeatMessage Parse(Stream input)
Parameters
input
Stream
Returns
- HeartbeatMessage