Bouncy Castle Cryptography Library 1.64

org.bouncycastle.crypto.tls
Class DTLSServerProtocol

java.lang.Object
  |
  +--org.bouncycastle.crypto.tls.DTLSProtocol
        |
        +--org.bouncycastle.crypto.tls.DTLSServerProtocol

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

public class DTLSServerProtocol
extends DTLSProtocol


Inner Class Summary
protected static class DTLSServerProtocol.ServerHandshakeState
          Deprecated.  
 
Field Summary
protected  boolean verifyRequests
          Deprecated.  
 
Fields inherited from class org.bouncycastle.crypto.tls.DTLSProtocol
secureRandom
 
Constructor Summary
DTLSServerProtocol(java.security.SecureRandom secureRandom)
          Deprecated.  
 
Method Summary
protected  void abortServerHandshake(DTLSServerProtocol.ServerHandshakeState state, org.bouncycastle.crypto.tls.DTLSRecordLayer recordLayer, short alertDescription)
          Deprecated.  
 DTLSTransport accept(TlsServer server, DatagramTransport transport)
          Deprecated.  
protected  boolean expectCertificateVerifyMessage(DTLSServerProtocol.ServerHandshakeState state)
          Deprecated.  
protected  byte[] generateCertificateRequest(DTLSServerProtocol.ServerHandshakeState state, CertificateRequest certificateRequest)
          Deprecated.  
protected  byte[] generateCertificateStatus(DTLSServerProtocol.ServerHandshakeState state, CertificateStatus certificateStatus)
          Deprecated.  
protected  byte[] generateNewSessionTicket(DTLSServerProtocol.ServerHandshakeState state, NewSessionTicket newSessionTicket)
          Deprecated.  
protected  byte[] generateServerHello(DTLSServerProtocol.ServerHandshakeState state)
          Deprecated.  
 boolean getVerifyRequests()
          Deprecated.  
protected  void invalidateSession(DTLSServerProtocol.ServerHandshakeState state)
          Deprecated.  
protected  void notifyClientCertificate(DTLSServerProtocol.ServerHandshakeState state, Certificate clientCertificate)
          Deprecated.  
protected  void processCertificateVerify(DTLSServerProtocol.ServerHandshakeState state, byte[] body, TlsHandshakeHash prepareFinishHash)
          Deprecated.  
protected  void processClientCertificate(DTLSServerProtocol.ServerHandshakeState state, byte[] body)
          Deprecated.  
protected  void processClientHello(DTLSServerProtocol.ServerHandshakeState state, byte[] body)
          Deprecated.  
protected  void processClientKeyExchange(DTLSServerProtocol.ServerHandshakeState state, byte[] body)
          Deprecated.  
protected  void processClientSupplementalData(DTLSServerProtocol.ServerHandshakeState state, byte[] body)
          Deprecated.  
protected  DTLSTransport serverHandshake(DTLSServerProtocol.ServerHandshakeState state, org.bouncycastle.crypto.tls.DTLSRecordLayer recordLayer)
          Deprecated.  
 void setVerifyRequests(boolean verifyRequests)
          Deprecated.  
 
Methods inherited from class org.bouncycastle.crypto.tls.DTLSProtocol
applyMaxFragmentLengthExtension, evaluateMaxFragmentLengthExtension, generateCertificate, generateSupplementalData, processFinished, validateSelectedCipherSuite
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

verifyRequests

protected boolean verifyRequests
Deprecated. 
Constructor Detail

DTLSServerProtocol

public DTLSServerProtocol(java.security.SecureRandom secureRandom)
Deprecated. 
Method Detail

getVerifyRequests

public boolean getVerifyRequests()
Deprecated. 

setVerifyRequests

public void setVerifyRequests(boolean verifyRequests)
Deprecated. 

accept

public DTLSTransport accept(TlsServer server,
                            DatagramTransport transport)
                     throws java.io.IOException
Deprecated. 

abortServerHandshake

protected void abortServerHandshake(DTLSServerProtocol.ServerHandshakeState state,
                                    org.bouncycastle.crypto.tls.DTLSRecordLayer recordLayer,
                                    short alertDescription)
Deprecated. 

serverHandshake

protected DTLSTransport serverHandshake(DTLSServerProtocol.ServerHandshakeState state,
                                        org.bouncycastle.crypto.tls.DTLSRecordLayer recordLayer)
                                 throws java.io.IOException
Deprecated. 

generateCertificateRequest

protected byte[] generateCertificateRequest(DTLSServerProtocol.ServerHandshakeState state,
                                            CertificateRequest certificateRequest)
                                     throws java.io.IOException
Deprecated. 

generateCertificateStatus

protected byte[] generateCertificateStatus(DTLSServerProtocol.ServerHandshakeState state,
                                           CertificateStatus certificateStatus)
                                    throws java.io.IOException
Deprecated. 

generateNewSessionTicket

protected byte[] generateNewSessionTicket(DTLSServerProtocol.ServerHandshakeState state,
                                          NewSessionTicket newSessionTicket)
                                   throws java.io.IOException
Deprecated. 

generateServerHello

protected byte[] generateServerHello(DTLSServerProtocol.ServerHandshakeState state)
                              throws java.io.IOException
Deprecated. 

invalidateSession

protected void invalidateSession(DTLSServerProtocol.ServerHandshakeState state)
Deprecated. 

notifyClientCertificate

protected void notifyClientCertificate(DTLSServerProtocol.ServerHandshakeState state,
                                       Certificate clientCertificate)
                                throws java.io.IOException
Deprecated. 

processClientCertificate

protected void processClientCertificate(DTLSServerProtocol.ServerHandshakeState state,
                                        byte[] body)
                                 throws java.io.IOException
Deprecated. 

processCertificateVerify

protected void processCertificateVerify(DTLSServerProtocol.ServerHandshakeState state,
                                        byte[] body,
                                        TlsHandshakeHash prepareFinishHash)
                                 throws java.io.IOException
Deprecated. 

processClientHello

protected void processClientHello(DTLSServerProtocol.ServerHandshakeState state,
                                  byte[] body)
                           throws java.io.IOException
Deprecated. 

processClientKeyExchange

protected void processClientKeyExchange(DTLSServerProtocol.ServerHandshakeState state,
                                        byte[] body)
                                 throws java.io.IOException
Deprecated. 

processClientSupplementalData

protected void processClientSupplementalData(DTLSServerProtocol.ServerHandshakeState state,
                                             byte[] body)
                                      throws java.io.IOException
Deprecated. 

expectCertificateVerifyMessage

protected boolean expectCertificateVerifyMessage(DTLSServerProtocol.ServerHandshakeState state)
Deprecated. 

Bouncy Castle Cryptography Library 1.64