Package org.bouncycastle.tls
Class ServerNameList
java.lang.Object
org.bouncycastle.tls.ServerNameList
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencode(OutputStream output) Encode thisServerNameListto anOutputStream.static ServerNameListparse(InputStream input) Parse aServerNameListfrom anInputStream.
-
Field Details
-
serverNameList
-
-
Constructor Details
-
ServerNameList
- Parameters:
serverNameList- aVectorofServerName.
-
-
Method Details
-
getServerNameList
- Returns:
- a
VectorofServerName.
-
encode
Encode thisServerNameListto anOutputStream.- Parameters:
output- theOutputStreamto encode to.- Throws:
IOException
-
parse
Parse aServerNameListfrom anInputStream.- Parameters:
input- theInputStreamto parse from.- Returns:
- a
ServerNameListobject. - Throws:
IOException
-