File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
tls/src/main/java/org/bouncycastle/jsse/provider Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 88import java .util .logging .Level ;
99import java .util .logging .Logger ;
1010
11+ import org .bouncycastle .tls .HandshakeMessageInput ;
12+ import org .bouncycastle .tls .HandshakeType ;
1113import org .bouncycastle .tls .RenegotiationPolicy ;
1214import org .bouncycastle .tls .ServerHello ;
1315import org .bouncycastle .tls .TlsClientProtocol ;
@@ -40,6 +42,18 @@ protected int getRenegotiationPolicy()
4042 return provAcceptRenegotiation ? RenegotiationPolicy .ACCEPT : RenegotiationPolicy .DENY ;
4143 }
4244
45+ @ Override
46+ protected void handleHandshakeMessage (short type , HandshakeMessageInput buf ) throws IOException
47+ {
48+ if (LOG .isLoggable (Level .FINEST ))
49+ {
50+ int length = buf .available ();
51+ LOG .finest (getClientID () + " inbound handshake message: " + HandshakeType .getText (type ) + "[" + length + "]" );
52+ }
53+
54+ super .handleHandshakeMessage (type , buf );
55+ }
56+
4357 @ Override
4458 protected ServerHello receiveServerHelloMessage (ByteArrayInputStream buf ) throws IOException
4559 {
You can’t perform that action at this time.
0 commit comments