[Mono.Security]: Add 'MonoTlsSettings.EnabledCiphers'.
authorMartin Baulig <martin.baulig@xamarin.com>
Thu, 21 Jan 2016 20:46:45 +0000 (21:46 +0100)
committerMartin Baulig <martin.baulig@xamarin.com>
Thu, 21 Jan 2016 20:47:48 +0000 (21:47 +0100)
(cherry picked from commit 79c7c38cc608f3fe896c450131f42dfeddf0d3b4)

mcs/class/Mono.Security/Mono.Security.Interface/MonoTlsSettings.cs

index 7e42720d17c7fee392c9f32139c61338738002e4..ee8f36188165790321b02539f9387de383e64634 100644 (file)
@@ -82,6 +82,10 @@ namespace Mono.Security.Interface
                        get; set;
                }
 
+               public CipherSuiteCode[] EnabledCiphers {
+                       get; set;
+               }
+
                bool cloned = false;
                bool checkCertName = true;
                bool checkCertRevocationStatus = false;
@@ -155,6 +159,7 @@ namespace Mono.Security.Interface
                        callbackNeedsChain = other.callbackNeedsChain;
                        UserSettings = other.UserSettings;
                        EnabledProtocols = other.EnabledProtocols;
+                       EnabledCiphers = other.EnabledCiphers;
                        TrustAnchors = other.TrustAnchors;
                        cloned = true;
                }