Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/humla-spongycastle.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2014-04-16 08:12:37 +0400
committerPeter Dettman <peter.dettman@bouncycastle.org>2014-04-16 08:12:37 +0400
commita55cbaeb973b4a51c2ba01269e4665494aa48951 (patch)
tree7fa430da8104a17a4d43ab7dd3ed840f94e9bd78 /core/src/test/java/org/bouncycastle/crypto/tls/test/TlsTestConfig.java
parent1290f929d9157b7b2bd7edebb5576d6217500f70 (diff)
Add a DTLS test suite for client-auth use cases
Tests pass, but some disabled for automatic testing due to lack of clean exit
Diffstat (limited to 'core/src/test/java/org/bouncycastle/crypto/tls/test/TlsTestConfig.java')
-rw-r--r--core/src/test/java/org/bouncycastle/crypto/tls/test/TlsTestConfig.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/src/test/java/org/bouncycastle/crypto/tls/test/TlsTestConfig.java b/core/src/test/java/org/bouncycastle/crypto/tls/test/TlsTestConfig.java
index 3784bc23..6110458e 100644
--- a/core/src/test/java/org/bouncycastle/crypto/tls/test/TlsTestConfig.java
+++ b/core/src/test/java/org/bouncycastle/crypto/tls/test/TlsTestConfig.java
@@ -48,6 +48,11 @@ public class TlsTestConfig
public int clientAuth = CLIENT_AUTH_VALID;
/**
+ * Configures the minimum protocol version the client will accept. If null, uses the library's default.
+ */
+ public ProtocolVersion clientMinimumVersion = null;
+
+ /**
* Configures the protocol version the client will offer. If null, uses the library's default.
*/
public ProtocolVersion clientOfferVersion = null;