From 6439bba5cc09d6febc59bdc9e0d9bc25f1f1eb18 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Wed, 01 Sep 2010 09:04:15 +0000
Subject: [PATCH] Various improvements:
---
sdk/src/org/opends/sdk/requests/StartTLSExtendedRequestImpl.java | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 52 insertions(+), 0 deletions(-)
diff --git a/sdk/src/org/opends/sdk/requests/StartTLSExtendedRequestImpl.java b/sdk/src/org/opends/sdk/requests/StartTLSExtendedRequestImpl.java
index 49dd4f6..9032e55 100644
--- a/sdk/src/org/opends/sdk/requests/StartTLSExtendedRequestImpl.java
+++ b/sdk/src/org/opends/sdk/requests/StartTLSExtendedRequestImpl.java
@@ -98,6 +98,16 @@
private SSLContext sslContext;
+ /**
+ * The list of cipher suite
+ */
+ private String[] enabledCipherSuites = null;
+
+ /**
+ * the list of protocols
+ */
+ private String[] enabledProtocols = null;
+
// No need to expose this.
private static final ExtendedResultDecoder<ExtendedResult> RESULT_DECODER = new ResultDecoder();
@@ -152,6 +162,48 @@
/**
+ * {@inheritDoc}}
+ */
+ public StartTLSExtendedRequest setEnabledProtocols(String[] protocols)
+ {
+ this.enabledProtocols = protocols;
+ return this;
+ }
+
+
+
+ /**
+ * {@inheritDoc}}
+ */
+ public StartTLSExtendedRequest setEnabledCipherSuites(String[] suites)
+ {
+ this.enabledCipherSuites = suites;
+ return this;
+ }
+
+
+
+ /**
+ * {@inheritDoc}}
+ */
+ public String[] getEnabledProtocols()
+ {
+ return this.enabledProtocols;
+ }
+
+
+
+ /**
+ * {@inheritDoc}}
+ */
+ public String[] getEnabledCipherSuites()
+ {
+ return this.enabledCipherSuites;
+ }
+
+
+
+ /**
* {@inheritDoc}
*/
@Override
--
Gitblit v1.10.0