Click or drag to resize

TrustManagerCreateChainTrust Method (Boolean, X509RevocationMode, X509RevocationFlag, Boolean)

Creates a trust manager that establishes trust based on system certificate stores with configurable hostname verification, revocation checks.

Namespace:  Neo4j.Driver
Assembly:  Neo4j.Driver (in Neo4j.Driver.dll) Version: 4.1.0
Syntax
public static TrustManager CreateChainTrust(
	bool verifyHostname,
	X509RevocationMode revocationMode,
	X509RevocationFlag revocationFlag,
	bool useMachineContext
)

Parameters

verifyHostname
Type: SystemBoolean
Whether to perform hostname verification
revocationMode
Type: X509RevocationMode
The revocation check mode
revocationFlag
Type: X509RevocationFlag
How should the revocation check should behave
useMachineContext
Type: SystemBoolean
Whether to use machine context instead of user's for certificate stores

Return Value

Type: TrustManager
An instance of TrustManager
See Also