Forking off the main thread: https://github.com/dotnet/corefx/issues/24588 to stick to APIs
namespace System.Net.Security
{
public sealed class CipherSuitesPolicy
{
public CipherSuitesPolicy(IEnumerable<TlsCipherSuite> allowedCipherSuites);
public IEnumerable<TlsCipherSuite> AllowedCipherSuites { get; }
}
public class SslServerAuthenticationOptions
{
public CipherSuitesPolicy CipherSuitesPolicy { get; set; }
}
public class SslClientAuthenticationOptions
{
public CipherSuitesPolicy CipherSuitesPolicy { get; set; }
}
}
Depends on: https://github.com/dotnet/corefx/issues/34867 (approved)