Bouncy Castle Cryptography Library 1.64

org.bouncycastle.crypto.tls
Class DefaultTlsServer

java.lang.Object
  extended byorg.bouncycastle.crypto.tls.AbstractTlsPeer
      extended byorg.bouncycastle.crypto.tls.AbstractTlsServer
          extended byorg.bouncycastle.crypto.tls.DefaultTlsServer
All Implemented Interfaces:
TlsPeer, TlsServer
Direct Known Subclasses:
MockDTLSServer

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

public abstract class DefaultTlsServer
extends AbstractTlsServer


Field Summary
 
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
DefaultTlsServer()
          Deprecated.  
DefaultTlsServer(TlsCipherFactory cipherFactory)
          Deprecated.  
 
Method Summary
protected  TlsKeyExchange createDHEKeyExchange(int keyExchange)
          Deprecated.  
protected  TlsKeyExchange createDHKeyExchange(int keyExchange)
          Deprecated.  
protected  TlsKeyExchange createECDHEKeyExchange(int keyExchange)
          Deprecated.  
protected  TlsKeyExchange createECDHKeyExchange(int keyExchange)
          Deprecated.  
protected  TlsKeyExchange createRSAKeyExchange()
          Deprecated.  
protected  int[] getCipherSuites()
          Deprecated.  
 TlsCredentials getCredentials()
          Deprecated.  
protected  DHParameters getDHParameters()
          Deprecated.  
protected  TlsSignerCredentials getDSASignerCredentials()
          Deprecated.  
protected  TlsSignerCredentials getECDSASignerCredentials()
          Deprecated.  
 TlsKeyExchange getKeyExchange()
          Deprecated.  
protected  TlsEncryptionCredentials getRSAEncryptionCredentials()
          Deprecated.  
protected  TlsSignerCredentials getRSASignerCredentials()
          Deprecated.  
 
Methods inherited from class org.bouncycastle.crypto.tls.AbstractTlsServer
allowEncryptThenMAC, allowTruncatedHMac, checkServerExtensions, getCertificateRequest, getCertificateStatus, getCipher, getCompression, getCompressionMethods, getMaximumVersion, getMinimumVersion, getNewSessionTicket, getSelectedCipherSuite, getSelectedCompressionMethod, getServerExtensions, getServerSupplementalData, getServerVersion, init, notifyClientCertificate, notifyClientVersion, notifyFallback, notifyOfferedCipherSuites, notifyOfferedCompressionMethods, processClientExtensions, 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
 

Constructor Detail

DefaultTlsServer

public DefaultTlsServer()
Deprecated. 

DefaultTlsServer

public DefaultTlsServer(TlsCipherFactory cipherFactory)
Deprecated. 
Method Detail

getDSASignerCredentials

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

getECDSASignerCredentials

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

getRSAEncryptionCredentials

protected TlsEncryptionCredentials getRSAEncryptionCredentials()
                                                        throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

getRSASignerCredentials

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

getDHParameters

protected DHParameters getDHParameters()
Deprecated. 

getCipherSuites

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

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

createDHKeyExchange

protected TlsKeyExchange createDHKeyExchange(int keyExchange)
Deprecated. 

createDHEKeyExchange

protected TlsKeyExchange createDHEKeyExchange(int keyExchange)
Deprecated. 

createECDHKeyExchange

protected TlsKeyExchange createECDHKeyExchange(int keyExchange)
Deprecated. 

createECDHEKeyExchange

protected TlsKeyExchange createECDHEKeyExchange(int keyExchange)
Deprecated. 

createRSAKeyExchange

protected TlsKeyExchange createRSAKeyExchange()
Deprecated. 

Bouncy Castle Cryptography Library 1.64