| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final Hashtable | |
| private static final byte[] | |
| private final byte[] | |
| private final byte[] | |
| private final ProtocolVersion |
| Access | Constructor and Description |
|---|---|
| public | |
| public | ServerHello(ProtocolVersion version, byte[] random, byte[] sessionID, int cipherSuite, Hashtable<K, V> extensions)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | encode(TlsContext
the context, OutputStream TlsContext of the current connection.the output)OutputStream to encode to.Encode this |
| public int | |
| public Hashtable | |
| public byte[] | |
| public byte[] | |
| public ProtocolVersion | |
| public boolean | |
| public static ServerHello | Returns: aServerHello object.the input)ByteArrayInputStream to parse from.Parse a |
| cipherSuite | back to summary |
|---|---|
| private final int cipherSuite | |
| extensions | back to summary |
|---|---|
| private final Hashtable<K, V> extensions | |
| HELLO_RETRY_REQUEST_MAGIC | back to summary |
|---|---|
| private static final byte[] HELLO_RETRY_REQUEST_MAGIC | |
| random | back to summary |
|---|---|
| private final byte[] random | |
| sessionID | back to summary |
|---|---|
| private final byte[] sessionID | |
| version | back to summary |
|---|---|
| private final ProtocolVersion version | |
| ServerHello | back to summary |
|---|---|
| public ServerHello(byte[] sessionID, int cipherSuite, Hashtable<K, V> extensions) | |
| ServerHello | back to summary |
|---|---|
| public ServerHello(ProtocolVersion version, byte[] random, byte[] sessionID, int cipherSuite, Hashtable<K, V> extensions) | |
| encode | back to summary |
|---|---|
| public void encode(TlsContext context, OutputStream output) throws IOException Encode this
| |
| getCipherSuite | back to summary |
|---|---|
| public int getCipherSuite() | |
| getExtensions | back to summary |
|---|---|
| public Hashtable | |
| getRandom | back to summary |
|---|---|
| public byte[] getRandom() | |
| getSessionID | back to summary |
|---|---|
| public byte[] getSessionID() | |
| getVersion | back to summary |
|---|---|
| public ProtocolVersion getVersion() | |
| isHelloRetryRequest | back to summary |
|---|---|
| public boolean isHelloRetryRequest() | |
| parse | back to summary |
|---|---|
| public static ServerHello parse(ByteArrayInputStream input) throws IOException Parse a
| |