Table of Contents

Class HeartbeatExtension

Namespace
Org.BouncyCastle.Tls
Assembly
BouncyCastle.Cryptography.dll
public sealed class HeartbeatExtension
Inheritance
HeartbeatExtension
Inherited Members

Constructors

HeartbeatExtension(short)

public HeartbeatExtension(short mode)

Parameters

mode short

Properties

Mode

public short Mode { get; }

Property Value

short

Methods

Encode(Stream)

Encode this HeartbeatExtension to a Stream.

public void Encode(Stream output)

Parameters

output Stream

the Stream to encode to.

Exceptions

IOException

Parse(Stream)

Parse a HeartbeatExtension from a Stream.

public static HeartbeatExtension Parse(Stream input)

Parameters

input Stream

the Stream to parse from.

Returns

HeartbeatExtension

a HeartbeatExtension object.

Exceptions

IOException