Table of Contents

Class ServerNameList

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

Constructors

ServerNameList(IList<ServerName>)

public ServerNameList(IList<ServerName> serverNameList)

Parameters

serverNameList IList<ServerName>

an IList<T> of ServerName.

Properties

ServerNames

public IList<ServerName> ServerNames { get; }

Property Value

IList<ServerName>

an IList<T> of ServerName.

Methods

Encode(Stream)

Encode this ServerNameList to a Stream.

public void Encode(Stream output)

Parameters

output Stream

the Stream to encode to .

Exceptions

IOException

Parse(Stream)

Parse a ServerNameList from a Stream.

public static ServerNameList Parse(Stream input)

Parameters

input Stream

the Stream to parse from.

Returns

ServerNameList

a ServerNameList object.

Exceptions

IOException