| Modifier and Type | Field and Description |
|---|---|
| protected int[] | |
| protected TlsClientContext | |
| protected ProtocolVersion[] | |
| protected Vector | |
| protected Vector | |
| protected Vector |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected boolean | |
| protected void | |
| protected short[] | |
| protected short[] | |
| protected Vector | |
| protected CertificateStatusRequest | |
| public int[] | |
| public Hashtable | |
| public Vector | |
| public TlsDHGroupVerifier | |
| public Vector | getEarlyKeyShareGroups()
Implements org. |
| public Vector | getExternalPSKs()
Implements org. external PSKs to offer in the ClientHello.
|
| protected Vector | |
| protected Vector | |
| protected byte[] | Returns: The connection ID to use.RFC 9146 DTLS connection ID.
The default |
| protected Vector | |
| public ProtocolVersion[] | |
| public TlsPSKIdentity | |
| public TlsSession | getSessionToResume()
Implements org. |
| protected Vector | |
| public TlsSRPConfigVerifier | |
| public TlsSRPIdentity | |
| protected Vector | getSupportedGroups(Vector<E>
The namedGroupRoles)named group roles for which there should be at
least one supported group. By default this is inferred from the offered cipher
suites and signature algorithms.The default |
| protected Vector | |
| protected Vector | |
| protected Vector | |
| public void | |
| public boolean | |
| public void | notifyHandshakeBeginning()
Overrides org. Implements org. |
| public void | notifyNewSessionTicket(NewSessionTicket
The ticket. newSessionTicket)Implements org. |
| public void | notifySelectedCipherSuite(int selectedCipherSuite)
Implements org. |
| public void | |
| public void | notifyServerVersion(ProtocolVersion serverVersion)
Implements org. |
| public void | notifySessionID(byte[] sessionID)
Implements org. |
| public void | notifySessionToResume(TlsSession
The session)TlsSession representing the resumable session to
be offered for this connection, or null if there is none.Implements org. |
| public void | processServerExtensions(Hashtable<K, V>
(Integer -> byte[]) serverExtensions)Implements org. |
| public void | processServerSupplementalData(Vector<E> serverSupplementalData)
Implements org. |
| public boolean |
| cipherSuites | back to summary |
|---|---|
| protected int[] cipherSuites | |
| context | back to summary |
|---|---|
| protected TlsClientContext context | |
| protocolVersions | back to summary |
|---|---|
| protected ProtocolVersion[] protocolVersions | |
| supportedGroups | back to summary |
|---|---|
| protected Vector<E> supportedGroups | |
| supportedSignatureAlgorithms | back to summary |
|---|---|
| protected Vector<E> supportedSignatureAlgorithms | |
| supportedSignatureAlgorithmsCert | back to summary |
|---|---|
| protected Vector<E> supportedSignatureAlgorithmsCert | |
| AbstractTlsClient | back to summary |
|---|---|
| public AbstractTlsClient(TlsCrypto crypto) | |
| allowUnexpectedServerExtension | back to summary |
|---|---|
| protected boolean allowUnexpectedServerExtension(Integer extensionType, byte[] extensionData) throws IOException | |
| checkForUnexpectedServerExtension | back to summary |
|---|---|
| protected void checkForUnexpectedServerExtension(Hashtable<K, V> serverExtensions, Integer extensionType) throws IOException | |
| getAllowedClientCertificateTypes | back to summary |
|---|---|
| protected short[] getAllowedClientCertificateTypes() | |
| getAllowedServerCertificateTypes | back to summary |
|---|---|
| protected short[] getAllowedServerCertificateTypes() | |
| getCertificateAuthorities | back to summary |
|---|---|
| protected Vector | |
| getCertificateStatusRequest | back to summary |
|---|---|
| protected CertificateStatusRequest getCertificateStatusRequest() | |
| getCipherSuites | back to summary |
|---|---|
| public int[] getCipherSuites() Implements org. | |
| getClientExtensions | back to summary |
|---|---|
| public Hashtable Implements org. | |
| getClientSupplementalData | back to summary |
|---|---|
| public Vector Implements org. | |
| getDHGroupVerifier | back to summary |
|---|---|
| public TlsDHGroupVerifier getDHGroupVerifier() Implements org. | |
| getEarlyKeyShareGroups | back to summary |
|---|---|
| public Vector Implements org. Doc from org. 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 Implements org. Doc from org. Return the
| |
| getMultiCertStatusRequest | back to summary |
|---|---|
protected Vector
| |
| getNamedGroupRoles | back to summary |
|---|---|
| protected Vector | |
| getNewConnectionID | back to summary |
|---|---|
| protected byte[] getNewConnectionID() RFC 9146 DTLS connection ID.
The default
| |
| getProtocolNames | back to summary |
|---|---|
| protected Vector | |
| getProtocolVersions | back to summary |
|---|---|
| public ProtocolVersion[] getProtocolVersions() Implements org. | |
| getPSKIdentity | back to summary |
|---|---|
| public TlsPSKIdentity getPSKIdentity() throws IOException Implements org. | |
| getSessionToResume | back to summary |
|---|---|
| public TlsSession getSessionToResume() Implements org. Doc from org. 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.
| |
| getSNIServerNames | back to summary |
|---|---|
| protected Vector | |
| getSRPConfigVerifier | back to summary |
|---|---|
| public TlsSRPConfigVerifier getSRPConfigVerifier() Implements org. | |
| getSRPIdentity | back to summary |
|---|---|
| public TlsSRPIdentity getSRPIdentity() throws IOException Implements org. | |
| getSupportedGroups | back to summary |
|---|---|
| protected Vector The default
| |
| getSupportedSignatureAlgorithms | back to summary |
|---|---|
| protected Vector | |
| getSupportedSignatureAlgorithmsCert | back to summary |
|---|---|
| protected Vector | |
| getTrustedCAIndication | back to summary |
|---|---|
| protected Vector | |
| init | back to summary |
|---|---|
| public void init(TlsClientContext context) Implements org. | |
| isFallback | back to summary |
|---|---|
| public boolean isFallback() Implements org. | |
| notifyHandshakeBeginning | back to summary |
|---|---|
| public void notifyHandshakeBeginning() throws IOException Overrides org. Implements org. Doc from org. Notifies the peer that a new handshake is about to begin. | |
| notifyNewSessionTicket | back to summary |
|---|---|
| public void notifyNewSessionTicket(NewSessionTicket newSessionTicket) throws IOException Implements org. Doc from org. 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) Implements org. | |
| notifySelectedPSK | back to summary |
|---|---|
| public void notifySelectedPSK(TlsPSK selectedPSK) throws IOException Implements org. | |
| notifyServerVersion | back to summary |
|---|---|
| public void notifyServerVersion(ProtocolVersion serverVersion) throws IOException Implements org. | |
| notifySessionID | back to summary |
|---|---|
| public void notifySessionID(byte[] sessionID) Implements org. Doc from org. Notifies the client of the session_id sent in the ServerHello. | |
| notifySessionToResume | back to summary |
|---|---|
| public void notifySessionToResume(TlsSession session) Implements org. Doc from org. 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 Implements org. Doc from org. 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 Implements org. | |
| shouldUseCompatibilityMode | back to summary |
|---|---|
| public boolean shouldUseCompatibilityMode() Implements org. | |