Table of Contents

Class MqttClientTlsOptions

Namespace
Azure.Iot.Operations.Protocol.Models
Assembly
Azure.Iot.Operations.Protocol.dll
public class MqttClientTlsOptions
Inheritance
MqttClientTlsOptions
Inherited Members

Properties

AllowRenegotiation

public bool AllowRenegotiation { get; set; }

Property Value

bool

AllowUntrustedCertificates

public bool AllowUntrustedCertificates { get; set; }

Property Value

bool

ApplicationProtocols

public List<SslApplicationProtocol>? ApplicationProtocols { get; set; }

Property Value

List<SslApplicationProtocol>

CertificateSelectionHandler

public Func<MqttClientCertificateSelectionEventArgs, X509Certificate>? CertificateSelectionHandler { get; set; }

Property Value

Func<MqttClientCertificateSelectionEventArgs, X509Certificate>

CertificateValidationHandler

public Func<MqttClientCertificateValidationEventArgs, bool>? CertificateValidationHandler { get; set; }

Property Value

Func<MqttClientCertificateValidationEventArgs, bool>

CipherSuitesPolicy

public CipherSuitesPolicy? CipherSuitesPolicy { get; set; }

Property Value

CipherSuitesPolicy

ClientCertificatesProvider

Gets or sets the provider for certificates. This provider gets called whenever the client wants to connect with the server and requires certificates for authentication. The implementation may return different certificates each time.

public IMqttClientCertificatesProvider? ClientCertificatesProvider { get; set; }

Property Value

IMqttClientCertificatesProvider

EncryptionPolicy

public EncryptionPolicy EncryptionPolicy { get; set; }

Property Value

EncryptionPolicy

IgnoreCertificateChainErrors

public bool IgnoreCertificateChainErrors { get; set; }

Property Value

bool

IgnoreCertificateRevocationErrors

public bool IgnoreCertificateRevocationErrors { get; set; }

Property Value

bool

RevocationMode

public X509RevocationMode RevocationMode { get; set; }

Property Value

X509RevocationMode

SslProtocol

public SslProtocols SslProtocol { get; set; }

Property Value

SslProtocols

TargetHost

Gets or sets the target host. If the value is null or empty the same host as the TCP socket host will be used.

public string? TargetHost { get; set; }

Property Value

string

TrustChain

public X509Certificate2Collection? TrustChain { get; set; }

Property Value

X509Certificate2Collection

UseTls

public bool UseTls { get; set; }

Property Value

bool