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, processServerSupplementalData
notifyAlertRaised, notifyAlertReceived
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAuthentication
notifyAlertRaised, notifyAlertReceived
protected 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 TlsClient
getClientExtensions
in class AbstractTlsClient
java.io.IOException
public void processServerExtensions(java.util.Hashtable serverExtensions) throws java.io.IOException
processServerExtensions
in interface TlsClient
processServerExtensions
in class AbstractTlsClient
java.io.IOException
public TlsKeyExchange getKeyExchange() throws java.io.IOException
java.io.IOException
public TlsCipher getCipher() throws java.io.IOException
java.io.IOException
protected TlsKeyExchange createDHKeyExchange(int keyExchange)
protected TlsKeyExchange createDHEKeyExchange(int keyExchange)
protected TlsKeyExchange createECDHKeyExchange(int keyExchange)
protected TlsKeyExchange createECDHEKeyExchange(int keyExchange)
protected TlsKeyExchange createRSAKeyExchange()