2014-08-13 10:39:27 +01:00
|
|
|
//
|
|
|
|
// Extra Mono-specific API for ServicePointManager
|
|
|
|
//
|
|
|
|
// Authors
|
|
|
|
// Sebastien Pouliot <sebastien@xamarin.com>
|
|
|
|
//
|
|
|
|
// Copyright 2013-2014 Xamarin Inc.
|
|
|
|
//
|
|
|
|
|
2016-08-03 10:59:49 +00:00
|
|
|
#if MOBILE
|
|
|
|
|
2014-08-13 10:39:27 +01:00
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
namespace System.Net {
|
|
|
|
|
2016-06-14 09:39:34 +00:00
|
|
|
/*
|
|
|
|
* The idea behind this API was to let the application filter the set of cipher suites received / send to
|
|
|
|
* the remote side. This concept does not any longer work with the new native implementations.
|
|
|
|
*/
|
|
|
|
|
|
|
|
[Obsolete ("This API is no longer supported.")]
|
2014-08-13 10:39:27 +01:00
|
|
|
public delegate IEnumerable<string> CipherSuitesCallback (SecurityProtocolType protocol, IEnumerable<string> allCiphers);
|
|
|
|
|
|
|
|
public partial class ServicePointManager {
|
|
|
|
|
2016-06-14 09:39:34 +00:00
|
|
|
[Obsolete ("This API is no longer supported.", true)]
|
2014-08-13 10:39:27 +01:00
|
|
|
public static CipherSuitesCallback ClientCipherSuitesCallback { get; set; }
|
|
|
|
|
2016-06-14 09:39:34 +00:00
|
|
|
[Obsolete ("This API is no longer supported.", true)]
|
2014-08-13 10:39:27 +01:00
|
|
|
public static CipherSuitesCallback ServerCipherSuitesCallback { get; set; }
|
|
|
|
}
|
2016-06-14 09:39:34 +00:00
|
|
|
}
|
2016-08-03 10:59:49 +00:00
|
|
|
|
|
|
|
#endif
|