| Modifier and Type | Method and Description |
|---|---|
| public TlsAuthentication | |
| public Hashtable | |
| public Vector | |
| public TlsDHGroupVerifier | |
| public Vector | getEarlyKeyShareGroups()
If this client is offering TLS 1.3 or higher, this method may be called to determine for which groups a key share should be included in the initial ClientHello. |
| public Vector | |
| public TlsPSKIdentity | |
| public TlsSession | Returns: ATlsSession representing the resumable session to be used for this
connection, or null to use a new session.Return the session this client wants to resume, if any. |
| public TlsSRPConfigVerifier | |
| public TlsSRPIdentity | |
| public void | |
| public boolean | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | notifySessionToResume(TlsSession
The session)TlsSession representing the resumable session to
be offered for this connection, or null if there is none.Notifies the client of the session that will be offered in ClientHello for resumption, if any. |
| public void | processServerExtensions(Hashtable<K, V>
(Integer -> byte[]) serverExtensions)The TlsClientProtocol implementation validates that any server extensions received correspond to client extensions sent. |
| public void | |
| public boolean |
| getAuthentication | back to summary |
|---|---|
| public TlsAuthentication getAuthentication() throws IOException | |
| getClientExtensions | back to summary |
|---|---|
| public Hashtable | |
| getClientSupplementalData | back to summary |
|---|---|
| public Vector | |
| getDHGroupVerifier | back to summary |
|---|---|
| public TlsDHGroupVerifier getDHGroupVerifier() throws IOException | |
| getEarlyKeyShareGroups | back to summary |
|---|---|
| public Vector If this client is offering TLS 1.3 or higher, this method may be called to determine for which
groups a key share should be included in the initial ClientHello. Groups that were not included
in the supported_groups extension (by
| |
| getExternalPSKs | back to summary |
|---|---|
| public Vector Return the
| |
| getPSKIdentity | back to summary |
|---|---|
| public TlsPSKIdentity getPSKIdentity() throws IOException | |
| getSessionToResume | back to summary |
|---|---|
| public TlsSession getSessionToResume() Return the session this client wants to resume, if any. Note that the peer's certificate chain for the session (if any) may need to be periodically revalidated.
| |
| getSRPConfigVerifier | back to summary |
|---|---|
| public TlsSRPConfigVerifier getSRPConfigVerifier() throws IOException | |
| getSRPIdentity | back to summary |
|---|---|
| public TlsSRPIdentity getSRPIdentity() throws IOException | |
| init | back to summary |
|---|---|
| public void init(TlsClientContext context) | |
| isFallback | back to summary |
|---|---|
| public boolean isFallback() | |
| notifyNewSessionTicket | back to summary |
|---|---|
| public void notifyNewSessionTicket(NewSessionTicket newSessionTicket) throws IOException RFC 5077 3.3. NewSessionTicket Handshake Message This method will be called (only) when a NewSessionTicket handshake message is received. The ticket is opaque to the client and clients MUST NOT examine the ticket under the assumption that it complies with e.g. RFC 5077 4. Recommended Ticket Construction.
| |
| notifySelectedCipherSuite | back to summary |
|---|---|
| public void notifySelectedCipherSuite(int selectedCipherSuite) | |
| notifySelectedPSK | back to summary |
|---|---|
| public void notifySelectedPSK(TlsPSK selectedPSK) throws IOException | |
| notifyServerVersion | back to summary |
|---|---|
| public void notifyServerVersion(ProtocolVersion selectedVersion) throws IOException | |
| notifySessionID | back to summary |
|---|---|
| public void notifySessionID(byte[] sessionID) Notifies the client of the session_id sent in the ServerHello.
| |
| notifySessionToResume | back to summary |
|---|---|
| public void notifySessionToResume(TlsSession session) Notifies the client of the session that will be offered in ClientHello for resumption, if any.
This will be either the session returned from Note the actual negotiated session_id is notified by
| |
| processServerExtensions | back to summary |
|---|---|
| public void processServerExtensions(Hashtable<K, V> serverExtensions) throws IOException The TlsClientProtocol implementation validates that any server extensions received correspond to client extensions sent. If further processing of the server extensions is needed, it can be done in this callback. Note This is not called for session resumption handshakes.
| |
| processServerSupplementalData | back to summary |
|---|---|
| public void processServerSupplementalData(Vector<E> serverSupplementalData) throws IOException | |
| shouldUseCompatibilityMode | back to summary |
|---|---|
| public boolean shouldUseCompatibilityMode() | |