org.bouncycastle.crypto.tls
Class PSKTlsClient
java.lang.Object
org.bouncycastle.crypto.tls.AbstractTlsPeer
org.bouncycastle.crypto.tls.AbstractTlsClient
org.bouncycastle.crypto.tls.PSKTlsClient
- All Implemented Interfaces:
- TlsClient, TlsPeer
Deprecated. Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar).
- public class PSKTlsClient
- extends AbstractTlsClient
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dhVerifier
protected TlsDHVerifier dhVerifier
- Deprecated.
pskIdentity
protected TlsPSKIdentity pskIdentity
- Deprecated.
PSKTlsClient
public PSKTlsClient(TlsPSKIdentity pskIdentity)
- Deprecated.
PSKTlsClient
public PSKTlsClient(TlsCipherFactory cipherFactory,
TlsPSKIdentity pskIdentity)
- Deprecated.
PSKTlsClient
public PSKTlsClient(TlsCipherFactory cipherFactory,
TlsDHVerifier dhVerifier,
TlsPSKIdentity pskIdentity)
- Deprecated.
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.