aboutsummaryrefslogtreecommitdiffstats
path: root/libraries/spongycastle/core/src/test/java/org/spongycastle/crypto/tls/test/TestTlsClient.java
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/spongycastle/core/src/test/java/org/spongycastle/crypto/tls/test/TestTlsClient.java')
-rw-r--r--libraries/spongycastle/core/src/test/java/org/spongycastle/crypto/tls/test/TestTlsClient.java23
1 files changed, 23 insertions, 0 deletions
diff --git a/libraries/spongycastle/core/src/test/java/org/spongycastle/crypto/tls/test/TestTlsClient.java b/libraries/spongycastle/core/src/test/java/org/spongycastle/crypto/tls/test/TestTlsClient.java
new file mode 100644
index 000000000..affc116e4
--- /dev/null
+++ b/libraries/spongycastle/core/src/test/java/org/spongycastle/crypto/tls/test/TestTlsClient.java
@@ -0,0 +1,23 @@
+package org.spongycastle.crypto.tls.test;
+
+import java.io.IOException;
+
+import org.spongycastle.crypto.tls.DefaultTlsClient;
+import org.spongycastle.crypto.tls.TlsAuthentication;
+
+public class TestTlsClient
+ extends DefaultTlsClient
+{
+ private final TlsAuthentication authentication;
+
+ TestTlsClient(TlsAuthentication authentication)
+ {
+ this.authentication = authentication;
+ }
+
+ public TlsAuthentication getAuthentication()
+ throws IOException
+ {
+ return authentication;
+ }
+}