Table of Contents

Class KeyShareEntry

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

Constructors

KeyShareEntry(int, byte[])

public KeyShareEntry(int namedGroup, byte[] keyExchange)

Parameters

namedGroup int

NamedGroup

keyExchange byte[]

Properties

KeyExchange

public byte[] KeyExchange { get; }

Property Value

byte[]

NamedGroup

public int NamedGroup { get; }

Property Value

int

NamedGroup

Methods

Encode(Stream)

Encode this KeyShareEntry to a Stream.

public void Encode(Stream output)

Parameters

output Stream

the Stream to encode to.

Exceptions

IOException

Parse(Stream)

Parse a KeyShareEntry from a Stream.

public static KeyShareEntry Parse(Stream input)

Parameters

input Stream

the Stream to parse from.

Returns

KeyShareEntry

a KeyShareEntry object.

Exceptions

IOException