summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2023-05-11 22:25:45 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2023-05-11 22:25:45 +0700
commitba8a718602ffe089fc71129ca70bf5121f80e270 (patch)
treecf0688c5d273b18c7a1e4635cab2cf0a9f6f6c98
parentTLS: Add NotifyConnectionClosed callback (diff)
downloadBouncyCastle.NET-ed25519-ba8a718602ffe089fc71129ca70bf5121f80e270.tar.xz
Fix XML comments
-rw-r--r--crypto/src/tls/TlsPeer.cs12
1 files changed, 8 insertions, 4 deletions
diff --git a/crypto/src/tls/TlsPeer.cs b/crypto/src/tls/TlsPeer.cs
index 4d7225aee..53ab7ff40 100644
--- a/crypto/src/tls/TlsPeer.cs
+++ b/crypto/src/tls/TlsPeer.cs
@@ -31,13 +31,15 @@ namespace Org.BouncyCastle.Tls
         /// <returns>the handshake timeout, in milliseconds.</returns>
         int GetHandshakeTimeoutMillis();
 
+        // TODO[api]
+        /*
         /// <summary>Specify the time, in milliseconds, after which a handshake packet is resent.</summary>
         /// <remarks>
         /// NOTE: Currently only respected by DTLS protocols.
         /// </remarks>
         /// <returns>the handshake resend time, in milliseconds.</returns>
-        // TODO[api]
-        //int GetHandshakeResendTimeMillis();
+        int GetHandshakeResendTimeMillis();
+        */
 
         bool AllowLegacyResumption();
 
@@ -109,9 +111,11 @@ namespace Org.BouncyCastle.Tls
         /// <param name="alertDescription"><see cref="AlertDescription"/></param>
         void NotifyAlertReceived(short alertLevel, short alertDescription);
 
-        /// <summary>Notifies the peer that the connection has been closed.</summary>
         // TODO[api]
-        //void NotifyConnectionClosed();
+        /*
+        /// <summary>Notifies the peer that the connection has been closed.</summary>
+        void NotifyConnectionClosed();
+        */
 
         /// <summary>Notifies the peer that the handshake has been successfully completed.</summary>
         /// <exception cref="IOException"/>