LAUREL BRIDGE

TlsConnection Constructor

DICOM Connectivity Framework V3.4
Constructs a TLS connection object (but does not initiate authentication).

Namespace:  LaurelBridge.DCFExamples.TLS
Assemblies:   EchoSCU (in EchoSCU.exe) Version: DCF34 r12431 DCF_3_4_38_20200923 NetFramework
  VerificationSCPExtended (in VerificationSCPExtended.exe) Version: DCF34 r12431 DCF_3_4_38_20200923 NetFramework
Syntax

C#
public TlsConnection(
	Socket socket,
	SslProtocols supportedTlsProtocols,
	bool checkCertificateRevocation = true,
	bool allowWildcardAndSanCertificates = true,
	bool allowSelfSignedCertificates = false,
	bool ignoreCertificateNameMismatch = false
)

Parameters

socket
Type: System.Net.SocketsSocket
The socket to use for the network stream
supportedTlsProtocols
Type: System.Security.AuthenticationSslProtocols
The support TLS protocols
checkCertificateRevocation (Optional)
Type: SystemBoolean
Check for revoked certificates
allowWildcardAndSanCertificates (Optional)
Type: SystemBoolean
Allow wildcards in hostnames
allowSelfSignedCertificates (Optional)
Type: SystemBoolean
Allow self-signed certificates
ignoreCertificateNameMismatch (Optional)
Type: SystemBoolean
Ignore certificate name mismatch errors
See Also

Reference