Table of Contents

Class TlsOptions

Namespace
Temporalio.Client
Assembly
Temporalio.dll

TLS options for Temporal connections.

public class TlsOptions : ICloneable
Inheritance
TlsOptions
Implements
Inherited Members

Properties

ClientCert

Gets or sets the PEM-formatted client certificate for mTLS.

public byte[]? ClientCert { get; set; }

Property Value

byte[]

Remarks

This must be combined with ClientPrivateKey.

ClientPrivateKey

Gets or sets the PEM-formatted client private key for mTLS.

public byte[]? ClientPrivateKey { get; set; }

Property Value

byte[]

Remarks

This must be combined with ClientCert.

Domain

Gets or sets the TLS domain for SNI.

public string? Domain { get; set; }

Property Value

string

ServerRootCACert

Gets or sets the PEM-formatted root CA certificate to validate the server certificate against.

public byte[]? ServerRootCACert { get; set; }

Property Value

byte[]

Methods

Clone()

Create a shallow copy of these options.

public virtual object Clone()

Returns

object

A shallow copy of these options.

Remarks

Does not create copies of byte arrays.