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
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
verifyRequests
protected boolean verifyRequests
- Deprecated.
DTLSServerProtocol
public DTLSServerProtocol(java.security.SecureRandom secureRandom)
- Deprecated.
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.
- Throws:
java.io.IOException
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.
- Throws:
java.io.IOException
generateCertificateRequest
protected byte[] generateCertificateRequest(DTLSServerProtocol.ServerHandshakeState state,
CertificateRequest certificateRequest)
throws java.io.IOException
- Deprecated.
- Throws:
java.io.IOException
generateCertificateStatus
protected byte[] generateCertificateStatus(DTLSServerProtocol.ServerHandshakeState state,
CertificateStatus certificateStatus)
throws java.io.IOException
- Deprecated.
- Throws:
java.io.IOException
generateNewSessionTicket
protected byte[] generateNewSessionTicket(DTLSServerProtocol.ServerHandshakeState state,
NewSessionTicket newSessionTicket)
throws java.io.IOException
- Deprecated.
- Throws:
java.io.IOException
generateServerHello
protected byte[] generateServerHello(DTLSServerProtocol.ServerHandshakeState state)
throws java.io.IOException
- Deprecated.
- Throws:
java.io.IOException
invalidateSession
protected void invalidateSession(DTLSServerProtocol.ServerHandshakeState state)
- Deprecated.
notifyClientCertificate
protected void notifyClientCertificate(DTLSServerProtocol.ServerHandshakeState state,
Certificate clientCertificate)
throws java.io.IOException
- Deprecated.
- Throws:
java.io.IOException
processClientCertificate
protected void processClientCertificate(DTLSServerProtocol.ServerHandshakeState state,
byte[] body)
throws java.io.IOException
- Deprecated.
- Throws:
java.io.IOException
processCertificateVerify
protected void processCertificateVerify(DTLSServerProtocol.ServerHandshakeState state,
byte[] body,
TlsHandshakeHash prepareFinishHash)
throws java.io.IOException
- Deprecated.
- Throws:
java.io.IOException
processClientHello
protected void processClientHello(DTLSServerProtocol.ServerHandshakeState state,
byte[] body)
throws java.io.IOException
- Deprecated.
- Throws:
java.io.IOException
processClientKeyExchange
protected void processClientKeyExchange(DTLSServerProtocol.ServerHandshakeState state,
byte[] body)
throws java.io.IOException
- Deprecated.
- Throws:
java.io.IOException
processClientSupplementalData
protected void processClientSupplementalData(DTLSServerProtocol.ServerHandshakeState state,
byte[] body)
throws java.io.IOException
- Deprecated.
- Throws:
java.io.IOException
expectCertificateVerifyMessage
protected boolean expectCertificateVerifyMessage(DTLSServerProtocol.ServerHandshakeState state)
- Deprecated.