public abstract class DefaultTlsClient extends AbstractTlsClient
cipherFactory, clientECPointFormats, context, namedCurves, selectedCipherSuite, selectedCompressionMethod, serverECPointFormats, 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() |
TlsKeyExchange |
getKeyExchange() |
allowUnexpectedServerExtension, checkForUnexpectedServerExtension, getClientExtensions, getClientHelloRecordLayerVersion, getClientSupplementalData, getClientVersion, getCompression, getCompressionMethods, getMinimumVersion, getSessionToResume, init, isFallback, notifyNewSessionTicket, notifySelectedCipherSuite, notifySelectedCompressionMethod, notifyServerVersion, notifySessionID, processServerExtensions, processServerSupplementalData
notifyAlertRaised, notifyAlertReceived, notifyHandshakeComplete, notifySecureRenegotiation, shouldUseGMTUnixTime
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAuthentication
notifyAlertRaised, notifyAlertReceived, notifyHandshakeComplete, notifySecureRenegotiation, shouldUseGMTUnixTime
public DefaultTlsClient()
public DefaultTlsClient(TlsCipherFactory cipherFactory)
public int[] getCipherSuites()
public TlsKeyExchange getKeyExchange() throws IOException
IOException
public TlsCipher getCipher() throws IOException
IOException
protected TlsKeyExchange createDHKeyExchange(int keyExchange)
protected TlsKeyExchange createDHEKeyExchange(int keyExchange)
protected TlsKeyExchange createECDHKeyExchange(int keyExchange)
protected TlsKeyExchange createECDHEKeyExchange(int keyExchange)
protected TlsKeyExchange createRSAKeyExchange()
Copyright © 2016 BouncyCastle.org. All rights reserved.