mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-21 04:03:05 +08:00
21 lines
518 B
C#
21 lines
518 B
C#
using System.Security.Authentication;
|
|
|
|
namespace MQTTnet.Server
|
|
{
|
|
public class MqttServerTlsTcpEndpointOptions : MqttServerTcpEndpointBaseOptions
|
|
{
|
|
public MqttServerTlsTcpEndpointOptions()
|
|
{
|
|
Port = 8883;
|
|
}
|
|
|
|
public byte[] Certificate { get; set; }
|
|
|
|
public bool ClientCertificateRequired { get; set; }
|
|
|
|
public bool CheckCertificateRevocation { get; set; }
|
|
|
|
public SslProtocols SslProtocol { get; set; } = SslProtocols.Tls12;
|
|
}
|
|
}
|