diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2013-11-07 15:31:42 +0400 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2013-11-07 15:31:42 +0400 |
commit | cc6a790cde64d893ea5087c80c7a4af619e18f28 (patch) | |
tree | 351eaa198be199933560838b4bb807bcba572549 /core/src/main/java/org/bouncycastle/crypto/tls/DTLSServerProtocol.java | |
parent | 537512892fc16fde743f23fe358e03d1060632cd (diff) |
Add TODOs related to the handshake hash
Diffstat (limited to 'core/src/main/java/org/bouncycastle/crypto/tls/DTLSServerProtocol.java')
-rw-r--r-- | core/src/main/java/org/bouncycastle/crypto/tls/DTLSServerProtocol.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/src/main/java/org/bouncycastle/crypto/tls/DTLSServerProtocol.java b/core/src/main/java/org/bouncycastle/crypto/tls/DTLSServerProtocol.java index 4bc736bb..55355926 100644 --- a/core/src/main/java/org/bouncycastle/crypto/tls/DTLSServerProtocol.java +++ b/core/src/main/java/org/bouncycastle/crypto/tls/DTLSServerProtocol.java @@ -183,6 +183,8 @@ public class DTLSServerProtocol { state.keyExchange.validateCertificateRequest(state.certificateRequest); + // TODO Let the handshake hash know what digests it needs to be tracking for this + byte[] certificateRequestBody = generateCertificateRequest(state, state.certificateRequest); handshake.sendMessage(HandshakeType.certificate_request, certificateRequestBody); } @@ -190,6 +192,8 @@ public class DTLSServerProtocol handshake.sendMessage(HandshakeType.server_hello_done, TlsUtils.EMPTY_BYTES); + // TODO Seal the handshake hash list of digests + clientMessage = handshake.receiveMessage(); if (clientMessage.getType() == HandshakeType.supplemental_data) |