summary refs log tree commit diff
path: root/crypto/test
diff options
context:
space:
mode:
authorDavid Hook <dgh@cryptoworkshop.com>2022-08-08 17:38:07 +1000
committerDavid Hook <dgh@cryptoworkshop.com>2022-08-08 17:38:07 +1000
commitf8defaf942ebd8424243794230b5452636d02ca4 (patch)
treeb1209d6e0be6720dbb98957c787f918cee6d85ab /crypto/test
parentInitial Falcon implementation (diff)
parentRemove unnecessary AsSpan (diff)
downloadBouncyCastle.NET-ed25519-f8defaf942ebd8424243794230b5452636d02ca4.tar.xz
Merge remote-tracking branch 'refs/remotes/origin/master'
Diffstat (limited to 'crypto/test')
-rw-r--r--crypto/test/src/tls/test/MockTlsClient.cs3
-rw-r--r--crypto/test/src/tls/test/MockTlsServer.cs3
2 files changed, 6 insertions, 0 deletions
diff --git a/crypto/test/src/tls/test/MockTlsClient.cs b/crypto/test/src/tls/test/MockTlsClient.cs
index 98898dd30..731504757 100644
--- a/crypto/test/src/tls/test/MockTlsClient.cs
+++ b/crypto/test/src/tls/test/MockTlsClient.cs
@@ -127,6 +127,9 @@ namespace Org.BouncyCastle.Tls.Tests
 
                 byte[] tlsUnique = m_context.ExportChannelBinding(ChannelBinding.tls_unique);
                 Console.WriteLine("Client 'tls-unique': " + ToHexString(tlsUnique));
+
+                byte[] tlsExporter = m_context.ExportChannelBinding(ChannelBinding.tls_exporter);
+                Console.WriteLine("Client 'tls-exporter': " + ToHexString(tlsExporter));
             }
         }
 
diff --git a/crypto/test/src/tls/test/MockTlsServer.cs b/crypto/test/src/tls/test/MockTlsServer.cs
index d4e885117..c4aa2c74d 100644
--- a/crypto/test/src/tls/test/MockTlsServer.cs
+++ b/crypto/test/src/tls/test/MockTlsServer.cs
@@ -155,6 +155,9 @@ namespace Org.BouncyCastle.Tls.Tests
 
             byte[] tlsUnique = m_context.ExportChannelBinding(ChannelBinding.tls_unique);
             Console.WriteLine("Server 'tls-unique': " + ToHexString(tlsUnique));
+
+            byte[] tlsExporter = m_context.ExportChannelBinding(ChannelBinding.tls_exporter);
+            Console.WriteLine("Server 'tls-exporter': " + ToHexString(tlsExporter));
         }
 
         public override void ProcessClientExtensions(IDictionary<int, byte[]> clientExtensions)