LAUREL BRIDGE

TlsConnectionServerRemoteCertificateValidationCallback Method

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

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#
protected bool ServerRemoteCertificateValidationCallback(
	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 validation was successful
See Also

Reference