Class TlsOptions
TLS options for Temporal connections.
Namespace: Temporalio.Client
Assembly: Temporalio.dll
Syntax
public class TlsOptions : ICloneable
Properties
ClientCert
Gets or sets the PEM-formatted client certificate for mTLS.
Declaration
public byte[] ClientCert { get; set; }
Property Value
Type | Description |
---|---|
Byte[] |
Remarks
This must be combined with ClientPrivateKey.
ClientPrivateKey
Gets or sets the PEM-formatted client private key for mTLS.
Declaration
public byte[] ClientPrivateKey { get; set; }
Property Value
Type | Description |
---|---|
Byte[] |
Remarks
This must be combined with ClientCert.
Domain
Gets or sets the TLS domain for SNI.
Declaration
public string? Domain { get; set; }
Property Value
Type | Description |
---|---|
Nullable<String> |
ServerRootCACert
Gets or sets the PEM-formatted root CA certificate to validate the server certificate against.
Declaration
public byte[] ServerRootCACert { get; set; }
Property Value
Type | Description |
---|---|
Byte[] |
Methods
Clone()
Create a shallow copy of these options.
Declaration
public virtual object Clone()
Returns
Type | Description |
---|---|
Object | A shallow copy of these options. |
Remarks
Does not create copies of byte arrays.