Skip to content

ERPConnect.TlsSettings

Namespace: ERPConnect
Assembly: ERPConnectStandard20.dll

public sealed class TlsSettings

Inheritance

objectTlsSettings

Inherited Members

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

TlsSettings()

public TlsSettings()

Properties

ClientCertificateLogon

Gets or sets whether a certificate found in the ERPConnect.TlsSettings.ClientPse should be used for authentication instead of user and password. If unset (null) the default NetWeaver library value is used. Corresponds to NetWeaver connection parameter "TLS_CLIENT_CERTIFICATE_LOGON".

public bool? ClientCertificateLogon { get; set; }

Property Value

bool?

ClientPse

The name of the client PSE file to use. When using ERPConnect.TlsSettings.ClientCertificateLogon it should also contain the client certificate used for authentication. Corresponds to NetWeaver connection parameter "TLS_CLIENT_PSE".

public string ClientPse { get; set; }

Property Value

string

CryptoLibrary

Gets or sets the path to the crypto library to use. The library will be loaded when opening an ERPConnect.R3Connection and cannot be changed once loaded for the current process, even when using a different ERPConnect.R3Connection. Corresponds fo NetWeaver ini parameter "TLS_SAPCRYPTOLIB".

public string CryptoLibrary { get; set; }

Property Value

string

IsEnabled

Gets or sets whether TLS is enabled. If unset (null) the default NetWeaver library value is used. Corresponds to NetWeaver connection parameter "USE_TLS".

public bool? IsEnabled { get; set; }

Property Value

bool?

TrustAll

Gets or sets whether certificate trust checks should be skipped. If unset (null) the default NetWeaver library value is used. Corresponds to NetWeaver connection parameter "TLS_TRUST_ALL".

public bool? TrustAll { get; set; }

Property Value

bool?