Top Fields Constructors Methods
org.bouncycastle.tls

public Class ServerNameList

extends Object
Class Inheritance
Imports
java.io.ByteArrayInputStream, .ByteArrayOutputStream, .IOException, .InputStream, .OutputStream, java.util.Vector, org.bouncycastle.util.Arrays

Field Summary

Modifier and TypeField and Description
protected Vector<E>

Constructor Summary

AccessConstructor and Description
public
ServerNameList(Vector<E> serverNameList)

Method Summary

Modifier and TypeMethod and Description
private static short[]
checkNameType(short[] nameTypesSeen, short nameType)

public void
encode(OutputStream
the OutputStream to encode to.
output
)

Encode this ServerNameList to an OutputStream.

public Vector<E>
public static ServerNameList

Returns:

a ServerNameList object.
parse
(InputStream
the InputStream to parse from.
input
)

Parse a ServerNameList from an InputStream.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

serverNameListback to summary
protected Vector<E> serverNameList

Constructor Detail

ServerNameListback to summary
public ServerNameList(Vector<E> serverNameList)
Parameters
serverNameList:Vector<E>

a Vector of ServerName.

Method Detail

checkNameTypeback to summary
private static short[] checkNameType(short[] nameTypesSeen, short nameType)
encodeback to summary
public void encode(OutputStream output) throws IOException

Encode this ServerNameList to an OutputStream.

Parameters
output:OutputStream

the OutputStream to encode to.

getServerNameListback to summary
public Vector<E> getServerNameList()
Returns:Vector<E>

a Vector of ServerName.

parseback to summary
public static ServerNameList parse(InputStream input) throws IOException

Parse a ServerNameList from an InputStream.

Parameters
input:InputStream

the InputStream to parse from.

Returns:ServerNameList

a ServerNameList object.