Package org.bouncycastle.crypto.tls
Class ServerNameList
- java.lang.Object
-
- org.bouncycastle.crypto.tls.ServerNameList
-
public class ServerNameList extends java.lang.Object
Deprecated.Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar).
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Vector
serverNameList
Deprecated.
-
Constructor Summary
Constructors Constructor Description ServerNameList(java.util.Vector serverNameList)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
encode(java.io.OutputStream output)
Deprecated.Encode thisServerNameList
to anOutputStream
.java.util.Vector
getServerNameList()
Deprecated.static ServerNameList
parse(java.io.InputStream input)
Deprecated.Parse aServerNameList
from anInputStream
.
-
-
-
Constructor Detail
-
ServerNameList
public ServerNameList(java.util.Vector serverNameList)
Deprecated.- Parameters:
serverNameList
- aVector
ofServerName
.
-
-
Method Detail
-
getServerNameList
public java.util.Vector getServerNameList()
Deprecated.- Returns:
- a
Vector
ofServerName
.
-
encode
public void encode(java.io.OutputStream output) throws java.io.IOException
Deprecated.Encode thisServerNameList
to anOutputStream
.- Parameters:
output
- theOutputStream
to encode to.- Throws:
java.io.IOException
-
parse
public static ServerNameList parse(java.io.InputStream input) throws java.io.IOException
Deprecated.Parse aServerNameList
from anInputStream
.- Parameters:
input
- theInputStream
to parse from.- Returns:
- a
ServerNameList
object. - Throws:
java.io.IOException
-
-