Bouncy Castle Cryptography Library 1.64

org.bouncycastle.crypto.tls
Class SRPTlsServer

java.lang.Object
  extended byorg.bouncycastle.crypto.tls.AbstractTlsPeer
      extended byorg.bouncycastle.crypto.tls.AbstractTlsServer
          extended byorg.bouncycastle.crypto.tls.SRPTlsServer
All Implemented Interfaces:
TlsPeer, TlsServer

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

public class SRPTlsServer
extends AbstractTlsServer


Field Summary
protected  TlsSRPLoginParameters loginParameters
          Deprecated.  
protected  byte[] srpIdentity
          Deprecated.  
protected  TlsSRPIdentityManager srpIdentityManager
          Deprecated.  
 
Fields inherited from class org.bouncycastle.crypto.tls.AbstractTlsServer
cipherFactory, clientECPointFormats, clientExtensions, clientVersion, context, eccCipherSuitesOffered, encryptThenMACOffered, maxFragmentLengthOffered, namedCurves, offeredCipherSuites, offeredCompressionMethods, selectedCipherSuite, selectedCompressionMethod, serverECPointFormats, serverExtensions, serverVersion, supportedSignatureAlgorithms, truncatedHMacOffered
 
Constructor Summary
SRPTlsServer(TlsCipherFactory cipherFactory, TlsSRPIdentityManager srpIdentityManager)
          Deprecated.  
SRPTlsServer(TlsSRPIdentityManager srpIdentityManager)
          Deprecated.  
 
Method Summary
protected  TlsKeyExchange createSRPKeyExchange(int keyExchange)
          Deprecated.  
protected  int[] getCipherSuites()
          Deprecated.  
 TlsCredentials getCredentials()
          Deprecated.  
protected  TlsSignerCredentials getDSASignerCredentials()
          Deprecated.  
 TlsKeyExchange getKeyExchange()
          Deprecated.  
protected  TlsSignerCredentials getRSASignerCredentials()
          Deprecated.  
 int getSelectedCipherSuite()
          Deprecated.  
 void processClientExtensions(java.util.Hashtable clientExtensions)
          Deprecated.  
 
Methods inherited from class org.bouncycastle.crypto.tls.AbstractTlsServer
allowEncryptThenMAC, allowTruncatedHMac, checkServerExtensions, getCertificateRequest, getCertificateStatus, getCipher, getCompression, getCompressionMethods, getMaximumVersion, getMinimumVersion, getNewSessionTicket, getSelectedCompressionMethod, getServerExtensions, getServerSupplementalData, getServerVersion, init, notifyClientCertificate, notifyClientVersion, notifyFallback, notifyOfferedCipherSuites, notifyOfferedCompressionMethods, processClientSupplementalData, supportsClientECCCapabilities
 
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

srpIdentityManager

protected TlsSRPIdentityManager srpIdentityManager
Deprecated. 

srpIdentity

protected byte[] srpIdentity
Deprecated. 

loginParameters

protected TlsSRPLoginParameters loginParameters
Deprecated. 
Constructor Detail

SRPTlsServer

public SRPTlsServer(TlsSRPIdentityManager srpIdentityManager)
Deprecated. 

SRPTlsServer

public SRPTlsServer(TlsCipherFactory cipherFactory,
                    TlsSRPIdentityManager srpIdentityManager)
Deprecated. 
Method Detail

getDSASignerCredentials

protected TlsSignerCredentials getDSASignerCredentials()
                                                throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

getRSASignerCredentials

protected TlsSignerCredentials getRSASignerCredentials()
                                                throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

getCipherSuites

protected int[] getCipherSuites()
Deprecated. 
Specified by:
getCipherSuites in class AbstractTlsServer

processClientExtensions

public void processClientExtensions(java.util.Hashtable clientExtensions)
                             throws java.io.IOException
Deprecated. 
Specified by:
processClientExtensions in interface TlsServer
Overrides:
processClientExtensions in class AbstractTlsServer
Throws:
java.io.IOException

getSelectedCipherSuite

public int getSelectedCipherSuite()
                           throws java.io.IOException
Deprecated. 
Specified by:
getSelectedCipherSuite in interface TlsServer
Overrides:
getSelectedCipherSuite in class AbstractTlsServer
Throws:
java.io.IOException

getCredentials

public TlsCredentials getCredentials()
                              throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

getKeyExchange

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

createSRPKeyExchange

protected TlsKeyExchange createSRPKeyExchange(int keyExchange)
Deprecated. 

Bouncy Castle Cryptography Library 1.64