Package org.bouncycastle.tls
Class ServerNameList
- java.lang.Object
-
- org.bouncycastle.tls.ServerNameList
-
public class ServerNameList extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.VectorserverNameList
-
Constructor Summary
Constructors Constructor Description ServerNameList(java.util.Vector serverNameList)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidencode(java.io.OutputStream output)Encode thisServerNameListto anOutputStream.java.util.VectorgetServerNameList()static ServerNameListparse(java.io.InputStream input)Parse aServerNameListfrom anInputStream.
-
-
-
Constructor Detail
-
ServerNameList
public ServerNameList(java.util.Vector serverNameList)
- Parameters:
serverNameList- aVectorofServerName.
-
-
Method Detail
-
getServerNameList
public java.util.Vector getServerNameList()
- Returns:
- a
VectorofServerName.
-
encode
public void encode(java.io.OutputStream output) throws java.io.IOExceptionEncode thisServerNameListto anOutputStream.- Parameters:
output- theOutputStreamto encode to.- Throws:
java.io.IOException
-
parse
public static ServerNameList parse(java.io.InputStream input) throws java.io.IOException
Parse aServerNameListfrom anInputStream.- Parameters:
input- theInputStreamto parse from.- Returns:
- a
ServerNameListobject. - Throws:
java.io.IOException
-
-