Table of Contents

Class MqttTls

Namespace
Pamoja.Mqtt
Assembly
Pamoja.Mqtt.dll

How a connection is secured with TLS.

public sealed class MqttTls
Inheritance
MqttTls
Inherited Members

Remarks

Without CaPem the client trusts the certificate authorities the operating system trusts. A client certificate and its key are given together, for a broker that asks each client to prove who it is.

Properties

CaPem

The certificate authorities to trust, as PEM.

public string? CaPem { get; init; }

Property Value

string

CertificatePem

A client certificate to present, as PEM.

public string? CertificatePem { get; init; }

Property Value

string

KeyPem

The client certificate's private key, as PEM.

public string? KeyPem { get; init; }

Property Value

string