public abstract class DefaultTlsClient extends AbstractTlsClient
Modifier and Type | Field and Description |
---|---|
protected static int[] |
BASE_CIPHER_SUITES |
protected TlsDHConfigVerifier |
dhConfigVerifier |
protected int[] |
supportedCipherSuites |
clientECPointFormats, context, keyExchangeFactory, selectedCipherSuite, selectedCompressionMethod, serverECPointFormats, supportedGroups, supportedSignatureAlgorithms
Constructor and Description |
---|
DefaultTlsClient(TlsCrypto crypto) |
DefaultTlsClient(TlsCrypto crypto,
TlsKeyExchangeFactory keyExchangeFactory,
TlsDHConfigVerifier dhConfigVerifier) |
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() |
int[] |
getCipherSuites() |
TlsKeyExchange |
getKeyExchange() |
allowUnexpectedServerExtension, checkForUnexpectedServerExtension, createECConfigVerifier, getCertificateStatusRequest, getCipher, getClientExtensions, getClientHelloRecordLayerVersion, getClientSupplementalData, getClientVersion, getCompression, getCompressionMethods, getMinimumVersion, getSessionToResume, getSNIServerNames, getSupportedGroups, getSupportedPointFormats, getSupportedSignatureAlgorithms, init, isFallback, notifyNewSessionTicket, notifySelectedCipherSuite, notifySelectedCompressionMethod, notifyServerVersion, notifySessionID, processServerExtensions, processServerSupplementalData
getCrypto, notifyAlertRaised, notifyAlertReceived, notifyHandshakeComplete, notifySecureRenegotiation, shouldUseExtendedPadding, shouldUseGMTUnixTime
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAuthentication
getCrypto, notifyAlertRaised, notifyAlertReceived, notifyHandshakeComplete, notifySecureRenegotiation, shouldUseExtendedPadding, shouldUseGMTUnixTime
protected static final int[] BASE_CIPHER_SUITES
protected TlsDHConfigVerifier dhConfigVerifier
protected int[] supportedCipherSuites
public DefaultTlsClient(TlsCrypto crypto)
public DefaultTlsClient(TlsCrypto crypto, TlsKeyExchangeFactory keyExchangeFactory, TlsDHConfigVerifier dhConfigVerifier)
public int[] getCipherSuites()
public TlsKeyExchange getKeyExchange() throws java.io.IOException
java.io.IOException
protected TlsKeyExchange createDHKeyExchange(int keyExchange) throws java.io.IOException
java.io.IOException
protected TlsKeyExchange createDHEKeyExchange(int keyExchange) throws java.io.IOException
java.io.IOException
protected TlsKeyExchange createECDHKeyExchange(int keyExchange) throws java.io.IOException
java.io.IOException
protected TlsKeyExchange createECDHEKeyExchange(int keyExchange) throws java.io.IOException
java.io.IOException
protected TlsKeyExchange createRSAKeyExchange() throws java.io.IOException
java.io.IOException