Click or drag to resize

ICertificateValidatorValidateCertificate Method

Determines if the remote certificate is valid

Namespace:  SanteDB.Core.Http
Assembly:  SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax
bool ValidateCertificate(
	X509Certificate2 certificate,
	X509Chain chain
)

Parameters

certificate
Type: System.Security.Cryptography.X509CertificatesX509Certificate2
Certificate.
chain
Type: System.Security.Cryptography.X509CertificatesX509Chain
Chain.

Return Value

Type: Boolean
true, if certificate was validated, false otherwise.
See Also