| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final int[] | |
| private final byte[] | |
| private final Hashtable | |
| private final byte[] | |
| private final byte[] | |
| private final ProtocolVersion |
| Access | Constructor and Description |
|---|---|
| public | ClientHello(ProtocolVersion version, byte[] random, byte[] sessionID, byte[] cookie, int[] cipherSuites, Hashtable<K, V> extensions, int bindersSize)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | encode(TlsContext context, OutputStream
the output)OutputStream to encode to.Encode this |
| public int | |
| public int[] | |
| public ProtocolVersion | |
| public byte[] | |
| public Hashtable | |
| public byte[] | |
| public byte[] | |
| public ProtocolVersion | |
| private static ClientHello | |
| public static ClientHello | Returns: aClientHello object.the messageInput, OutputStream ByteArrayInputStream to parse from.for DTLS this should be non-null; the input is copied to this
dtlsOutput)OutputStream, minus the cookie field.Parse a |
| bindersSize | back to summary |
|---|---|
| private final int bindersSize | |
| cipherSuites | back to summary |
|---|---|
| private final int[] cipherSuites | |
| cookie | back to summary |
|---|---|
| private final byte[] cookie | |
| extensions | back to summary |
|---|---|
| private final Hashtable<K, V> extensions | |
| random | back to summary |
|---|---|
| private final byte[] random | |
| sessionID | back to summary |
|---|---|
| private final byte[] sessionID | |
| version | back to summary |
|---|---|
| private final ProtocolVersion version | |
| ClientHello | back to summary |
|---|---|
| public ClientHello(ProtocolVersion version, byte[] random, byte[] sessionID, byte[] cookie, int[] cipherSuites, Hashtable<K, V> extensions, int bindersSize) | |
| encode | back to summary |
|---|---|
| public void encode(TlsContext context, OutputStream output) throws IOException Encode this
| |
| getBindersSize | back to summary |
|---|---|
| public int getBindersSize() | |
| getCipherSuites | back to summary |
|---|---|
| public int[] getCipherSuites() | |
| getClientVersion | back to summary |
|---|---|
| public ProtocolVersion getClientVersion()
Deprecated Use | |
| getCookie | back to summary |
|---|---|
| public byte[] getCookie() | |
| 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() | |
| implParse | back to summary |
|---|---|
| private static ClientHello implParse(ByteArrayInputStream messageInput, OutputStream dtlsOutput) throws IOException | |
| parse | back to summary |
|---|---|
| public static ClientHello parse(ByteArrayInputStream messageInput, OutputStream dtlsOutput) throws TlsFatalAlert Parse a
| |