LAUREL BRIDGE

TlsConnectionClientRemoteCertificateValidationCallback Method

DICOM Connectivity Framework V3.4
This is the client-side certificate validation callback.

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

C#
protected bool ClientRemoteCertificateValidationCallback(
	Object obj,
	X509Certificate certificate,
	X509Chain chain,
	SslPolicyErrors sslPolicyErrors
)

Parameters

obj
Type: SystemObject
The network stream
certificate
Type: System.Security.Cryptography.X509CertificatesX509Certificate
The TLS certificate
chain
Type: System.Security.Cryptography.X509CertificatesX509Chain
The chain building engine for linking certificates
sslPolicyErrors
Type: System.Net.SecuritySslPolicyErrors
SSL Policy Errors

Return Value

Type: Boolean
True if certificate passes validation checks
See Also

Reference