Bouncy Castle Cryptography Library 1.64

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


Field Summary
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
PSKTlsClient(TlsCipherFactory cipherFactory, TlsDHVerifier dhVerifier, TlsPSKIdentity pskIdentity)
          Deprecated.  
PSKTlsClient(TlsCipherFactory cipherFactory, TlsPSKIdentity pskIdentity)
          Deprecated.  
PSKTlsClient(TlsPSKIdentity pskIdentity)
          Deprecated.  
 
Method Summary
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. 

getAuthentication

public TlsAuthentication getAuthentication()
                                    throws java.io.IOException
Deprecated. 

createPSKKeyExchange

protected TlsKeyExchange createPSKKeyExchange(int keyExchange)
Deprecated. 

Bouncy Castle Cryptography Library 1.64