public abstract class DefaultTlsClient extends AbstractTlsClient
| Modifier and Type | Field and Description |
|---|---|
protected short[] |
clientECPointFormats |
protected int[] |
namedCurves |
protected short[] |
serverECPointFormats |
cipherFactory, context, selectedCipherSuite, selectedCompressionMethod, supportedSignatureAlgorithms| Constructor and Description |
|---|
DefaultTlsClient() |
DefaultTlsClient(TlsCipherFactory cipherFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected TlsKeyExchange |
createDHEKeyExchange(int keyExchange) |
protected TlsKeyExchange |
createDHKeyExchange(int keyExchange) |
protected TlsKeyExchange |
createECDHEKeyExchange(int keyExchange) |
protected TlsKeyExchange |
createECDHKeyExchange(int keyExchange) |
protected TlsKeyExchange |
createRSAKeyExchange() |
TlsCipher |
getCipher() |
int[] |
getCipherSuites() |
java.util.Hashtable |
getClientExtensions() |
TlsKeyExchange |
getKeyExchange() |
void |
processServerExtensions(java.util.Hashtable serverExtensions) |
getClientHelloRecordLayerVersion, getClientSupplementalData, getClientVersion, getCompression, getCompressionMethods, getMinimumVersion, init, notifyHandshakeComplete, notifyNewSessionTicket, notifySecureRenegotiation, notifySelectedCipherSuite, notifySelectedCompressionMethod, notifyServerVersion, notifySessionID, processServerSupplementalDatanotifyAlertRaised, notifyAlertReceivedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAuthenticationnotifyAlertRaised, notifyAlertReceivedprotected int[] namedCurves
protected short[] clientECPointFormats
protected short[] serverECPointFormats
public DefaultTlsClient()
public DefaultTlsClient(TlsCipherFactory cipherFactory)
public int[] getCipherSuites()
public java.util.Hashtable getClientExtensions()
throws java.io.IOException
getClientExtensions in interface TlsClientgetClientExtensions in class AbstractTlsClientjava.io.IOExceptionpublic void processServerExtensions(java.util.Hashtable serverExtensions)
throws java.io.IOException
processServerExtensions in interface TlsClientprocessServerExtensions in class AbstractTlsClientjava.io.IOExceptionpublic TlsKeyExchange getKeyExchange() throws java.io.IOException
java.io.IOExceptionpublic TlsCipher getCipher() throws java.io.IOException
java.io.IOExceptionprotected TlsKeyExchange createDHKeyExchange(int keyExchange)
protected TlsKeyExchange createDHEKeyExchange(int keyExchange)
protected TlsKeyExchange createECDHKeyExchange(int keyExchange)
protected TlsKeyExchange createECDHEKeyExchange(int keyExchange)
protected TlsKeyExchange createRSAKeyExchange()