Package org.bouncycastle.crypto.tls
Class PSKTlsClient
- java.lang.Object
-
- org.bouncycastle.crypto.tls.AbstractTlsPeer
-
- org.bouncycastle.crypto.tls.AbstractTlsClient
-
- org.bouncycastle.crypto.tls.PSKTlsClient
-
public class PSKTlsClient extends AbstractTlsClient
Deprecated.Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar).
-
-
Field Summary
Fields Modifier and Type Field Description protected TlsDHVerifier
dhVerifier
Deprecated.protected TlsPSKIdentity
pskIdentity
Deprecated.-
Fields inherited from class org.bouncycastle.crypto.tls.AbstractTlsClient
cipherFactory, clientECPointFormats, context, namedCurves, selectedCipherSuite, selectedCompressionMethod, serverECPointFormats, supportedSignatureAlgorithms
-
-
Constructor Summary
Constructors Constructor Description PSKTlsClient(TlsCipherFactory cipherFactory, TlsDHVerifier dhVerifier, TlsPSKIdentity pskIdentity)
Deprecated.PSKTlsClient(TlsCipherFactory cipherFactory, TlsPSKIdentity pskIdentity)
Deprecated.PSKTlsClient(TlsPSKIdentity pskIdentity)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected TlsKeyExchange
createPSKKeyExchange(int keyExchange)
Deprecated.TlsAuthentication
getAuthentication()
Deprecated.int[]
getCipherSuites()
Deprecated.TlsKeyExchange
getKeyExchange()
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.TlsPeer
cancel, notifyAlertRaised, notifyAlertReceived, notifyCloseHandle, notifyHandshakeComplete, notifySecureRenegotiation, requiresExtendedMasterSecret, shouldUseGMTUnixTime
-
-
-
-
Field Detail
-
dhVerifier
protected TlsDHVerifier dhVerifier
Deprecated.
-
pskIdentity
protected TlsPSKIdentity pskIdentity
Deprecated.
-
-
Constructor Detail
-
PSKTlsClient
public PSKTlsClient(TlsPSKIdentity pskIdentity)
Deprecated.
-
PSKTlsClient
public PSKTlsClient(TlsCipherFactory cipherFactory, TlsPSKIdentity pskIdentity)
Deprecated.
-
PSKTlsClient
public PSKTlsClient(TlsCipherFactory cipherFactory, TlsDHVerifier dhVerifier, TlsPSKIdentity pskIdentity)
Deprecated.
-
-
Method Detail
-
getCipherSuites
public int[] getCipherSuites()
Deprecated.
-
getKeyExchange
public TlsKeyExchange getKeyExchange() throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
getAuthentication
public TlsAuthentication getAuthentication() throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
createPSKKeyExchange
protected TlsKeyExchange createPSKKeyExchange(int keyExchange)
Deprecated.
-
-