Click or drag to resize

TrustManagerCreateCertTrust Method (IEnumerableX509Certificate2, Boolean)

Creates a trust manager that establishes trust based on provided list of trusted certificates with configurable hostname verification.

Namespace:  Neo4j.Driver
Assembly:  Neo4j.Driver (in Neo4j.Driver.dll) Version: 4.1.0
Syntax
public static TrustManager CreateCertTrust(
	IEnumerable<X509Certificate2> trusted,
	bool verifyHostname
)

Parameters

trusted
Type: System.Collections.GenericIEnumerableX509Certificate2
List of trusted certificates
verifyHostname
Type: SystemBoolean
Whether to perform hostname verification

Return Value

Type: TrustManager
An instance of TrustManager
See Also