Package org.bouncycastle.crypto.tls
Class DefaultTlsClient
- java.lang.Object
-
- org.bouncycastle.crypto.tls.AbstractTlsPeer
-
- org.bouncycastle.crypto.tls.AbstractTlsClient
-
- org.bouncycastle.crypto.tls.DefaultTlsClient
-
- Direct Known Subclasses:
MockDTLSClient
public abstract class DefaultTlsClient extends AbstractTlsClient
Deprecated.Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar).
-
-
Field Summary
Fields Modifier and Type Field Description protected TlsDHVerifierdhVerifierDeprecated.-
Fields inherited from class org.bouncycastle.crypto.tls.AbstractTlsClient
cipherFactory, clientECPointFormats, context, namedCurves, selectedCipherSuite, selectedCompressionMethod, serverECPointFormats, supportedSignatureAlgorithms
-
-
Constructor Summary
Constructors Constructor Description DefaultTlsClient()Deprecated.DefaultTlsClient(TlsCipherFactory cipherFactory)Deprecated.DefaultTlsClient(TlsCipherFactory cipherFactory, TlsDHVerifier dhVerifier)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected TlsKeyExchangecreateDHEKeyExchange(int keyExchange)Deprecated.protected TlsKeyExchangecreateDHKeyExchange(int keyExchange)Deprecated.protected TlsKeyExchangecreateECDHEKeyExchange(int keyExchange)Deprecated.protected TlsKeyExchangecreateECDHKeyExchange(int keyExchange)Deprecated.protected TlsKeyExchangecreateRSAKeyExchange()Deprecated.int[]getCipherSuites()Deprecated.TlsKeyExchangegetKeyExchange()Deprecated.-
Methods inherited from class org.bouncycastle.crypto.tls.AbstractTlsClient
allowUnexpectedServerExtension, checkForUnexpectedServerExtension, getCipher, getClientExtensions, getClientHelloRecordLayerVersion, getClientSupplementalData, getClientVersion, getCompression, getCompressionMethods, getMinimumVersion, getSessionToResume, init, isFallback, notifyNewSessionTicket, notifySelectedCipherSuite, notifySelectedCompressionMethod, notifyServerVersion, notifySessionID, processServerExtensions, processServerSupplementalData
-
Methods inherited from class org.bouncycastle.crypto.tls.AbstractTlsPeer
cancel, notifyAlertRaised, notifyAlertReceived, notifyCloseHandle, notifyHandshakeComplete, notifySecureRenegotiation, requiresExtendedMasterSecret, shouldUseGMTUnixTime
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.bouncycastle.crypto.tls.TlsClient
getAuthentication
-
Methods inherited from interface org.bouncycastle.crypto.tls.TlsPeer
cancel, notifyAlertRaised, notifyAlertReceived, notifyCloseHandle, notifyHandshakeComplete, notifySecureRenegotiation, requiresExtendedMasterSecret, shouldUseGMTUnixTime
-
-
-
-
Field Detail
-
dhVerifier
protected TlsDHVerifier dhVerifier
Deprecated.
-
-
Constructor Detail
-
DefaultTlsClient
public DefaultTlsClient()
Deprecated.
-
DefaultTlsClient
public DefaultTlsClient(TlsCipherFactory cipherFactory)
Deprecated.
-
DefaultTlsClient
public DefaultTlsClient(TlsCipherFactory cipherFactory, TlsDHVerifier dhVerifier)
Deprecated.
-
-
Method Detail
-
getCipherSuites
public int[] getCipherSuites()
Deprecated.
-
getKeyExchange
public TlsKeyExchange getKeyExchange() throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
createDHKeyExchange
protected TlsKeyExchange createDHKeyExchange(int keyExchange)
Deprecated.
-
createDHEKeyExchange
protected TlsKeyExchange createDHEKeyExchange(int keyExchange)
Deprecated.
-
createECDHKeyExchange
protected TlsKeyExchange createECDHKeyExchange(int keyExchange)
Deprecated.
-
createECDHEKeyExchange
protected TlsKeyExchange createECDHEKeyExchange(int keyExchange)
Deprecated.
-
createRSAKeyExchange
protected TlsKeyExchange createRSAKeyExchange()
Deprecated.
-
-