Bouncy Castle Cryptography Library 1.64

org.bouncycastle.crypto.tls
Class ServerNameList

java.lang.Object
  extended byorg.bouncycastle.crypto.tls.ServerNameList

Deprecated. Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar).

public class ServerNameList
extends java.lang.Object


Field Summary
protected  java.util.Vector serverNameList
          Deprecated.  
 
Constructor Summary
ServerNameList(java.util.Vector serverNameList)
          Deprecated.  
 
Method Summary
 void encode(java.io.OutputStream output)
          Deprecated. Encode this ServerNameList to an OutputStream.
 java.util.Vector getServerNameList()
          Deprecated.  
static ServerNameList parse(java.io.InputStream input)
          Deprecated. Parse a ServerNameList from an InputStream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serverNameList

protected java.util.Vector serverNameList
Deprecated. 
Constructor Detail

ServerNameList

public ServerNameList(java.util.Vector serverNameList)
Deprecated. 
Parameters:
serverNameList - a Vector of ServerName.
Method Detail

getServerNameList

public java.util.Vector getServerNameList()
Deprecated. 
Returns:
a Vector of ServerName.

encode

public void encode(java.io.OutputStream output)
            throws java.io.IOException
Deprecated. 
Encode this ServerNameList to an OutputStream.

Parameters:
output - the OutputStream to encode to.
Throws:
java.io.IOException

parse

public static ServerNameList parse(java.io.InputStream input)
                            throws java.io.IOException
Deprecated. 
Parse a ServerNameList from an InputStream.

Parameters:
input - the InputStream to parse from.
Returns:
a ServerNameList object.
Throws:
java.io.IOException

Bouncy Castle Cryptography Library 1.64