Package org.bouncycastle.tls
Class ServerNameList
java.lang.Object
org.bouncycastle.tls.ServerNameList
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
encode
(OutputStream output) Encode thisServerNameList
to anOutputStream
.static ServerNameList
parse
(InputStream input) Parse aServerNameList
from anInputStream
.
-
Field Details
-
serverNameList
-
-
Constructor Details
-
ServerNameList
- Parameters:
serverNameList
- aVector
ofServerName
.
-
-
Method Details
-
getServerNameList
- Returns:
- a
Vector
ofServerName
.
-
encode
Encode thisServerNameList
to anOutputStream
.- Parameters:
output
- theOutputStream
to encode to.- Throws:
IOException
-
parse
Parse aServerNameList
from anInputStream
.- Parameters:
input
- theInputStream
to parse from.- Returns:
- a
ServerNameList
object. - Throws:
IOException
-