Bouncy Castle Cryptography Library 1.64

org.bouncycastle.crypto.tls
Class SRPTlsClient

java.lang.Object
  |
  +--org.bouncycastle.crypto.tls.AbstractTlsPeer
        |
        +--org.bouncycastle.crypto.tls.AbstractTlsClient
              |
              +--org.bouncycastle.crypto.tls.SRPTlsClient
All Implemented Interfaces:
TlsClient, TlsPeer

Deprecated. Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar).

public class SRPTlsClient
extends AbstractTlsClient


Field Summary
protected  TlsSRPGroupVerifier groupVerifier
          Deprecated.  
protected  byte[] identity
          Deprecated.  
protected  byte[] password
          Deprecated.  
 
Fields inherited from class org.bouncycastle.crypto.tls.AbstractTlsClient
cipherFactory, clientECPointFormats, context, namedCurves, selectedCipherSuite, selectedCompressionMethod, serverECPointFormats, supportedSignatureAlgorithms
 
Constructor Summary
SRPTlsClient(byte[] identity, byte[] password)
          Deprecated.  
SRPTlsClient(TlsCipherFactory cipherFactory, byte[] identity, byte[] password)
          Deprecated.  
SRPTlsClient(TlsCipherFactory cipherFactory, TlsSRPGroupVerifier groupVerifier, byte[] identity, byte[] password)
          Deprecated.  
 
Method Summary
protected  TlsKeyExchange createSRPKeyExchange(int keyExchange)
          Deprecated.  
 TlsAuthentication getAuthentication()
          Deprecated.  
 int[] getCipherSuites()
          Deprecated.  
 java.util.Hashtable getClientExtensions()
          Deprecated.  
 TlsKeyExchange getKeyExchange()
          Deprecated.  
 void processServerExtensions(java.util.Hashtable serverExtensions)
          Deprecated.  
protected  boolean requireSRPServerExtension()
          Deprecated.  
 
Methods inherited from class org.bouncycastle.crypto.tls.AbstractTlsClient
allowUnexpectedServerExtension, checkForUnexpectedServerExtension, getCipher, getClientHelloRecordLayerVersion, getClientSupplementalData, getClientVersion, getCompression, getCompressionMethods, getMinimumVersion, getSessionToResume, init, isFallback, notifyNewSessionTicket, notifySelectedCipherSuite, notifySelectedCompressionMethod, notifyServerVersion, notifySessionID, 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

groupVerifier

protected TlsSRPGroupVerifier groupVerifier
Deprecated. 

identity

protected byte[] identity
Deprecated. 

password

protected byte[] password
Deprecated. 
Constructor Detail

SRPTlsClient

public SRPTlsClient(byte[] identity,
                    byte[] password)
Deprecated. 

SRPTlsClient

public SRPTlsClient(TlsCipherFactory cipherFactory,
                    byte[] identity,
                    byte[] password)
Deprecated. 

SRPTlsClient

public SRPTlsClient(TlsCipherFactory cipherFactory,
                    TlsSRPGroupVerifier groupVerifier,
                    byte[] identity,
                    byte[] password)
Deprecated. 
Method Detail

requireSRPServerExtension

protected boolean requireSRPServerExtension()
Deprecated. 

getCipherSuites

public int[] getCipherSuites()
Deprecated. 

getClientExtensions

public java.util.Hashtable getClientExtensions()
                                        throws java.io.IOException
Deprecated. 
Overrides:
getClientExtensions in class AbstractTlsClient

processServerExtensions

public void processServerExtensions(java.util.Hashtable serverExtensions)
                             throws java.io.IOException
Deprecated. 
Overrides:
processServerExtensions in class AbstractTlsClient

getKeyExchange

public TlsKeyExchange getKeyExchange()
                              throws java.io.IOException
Deprecated. 

getAuthentication

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

createSRPKeyExchange

protected TlsKeyExchange createSRPKeyExchange(int keyExchange)
Deprecated. 

Bouncy Castle Cryptography Library 1.64