Click or drag to resize

TrustManager Class

This is the base class all built-in or custom trust manager implementations should be inheriting from. Trust managers are the way that one could customise how TLS trust is established.
Inheritance Hierarchy
SystemObject
  Neo4j.DriverTrustManager

Namespace:  Neo4j.Driver
Assembly:  Neo4j.Driver (in Neo4j.Driver.dll) Version: 4.4
Syntax
public abstract class TrustManager

The TrustManager type exposes the following members.

Constructors
  NameDescription
Protected methodTrustManager
Initializes a new instance of the TrustManager class
Top
Methods
  NameDescription
Public methodStatic memberCreateCertTrust(IEnumerableX509Certificate2)
Creates a trust manager that establishes trust based on provided list of trusted certificates.
Public methodStatic memberCreateCertTrust(IEnumerableX509Certificate2, Boolean)
Creates a trust manager that establishes trust based on provided list of trusted certificates with configurable hostname verification.
Public methodStatic memberCreateChainTrust
Creates a trust manager that establishes trust based on system certificate stores.
Public methodStatic memberCreateChainTrust(Boolean)
Creates a trust manager that establishes trust based on system certificate stores with configurable hostname verification.
Public methodStatic memberCreateChainTrust(Boolean, X509RevocationMode, X509RevocationFlag, Boolean)
Creates a trust manager that establishes trust based on system certificate stores with configurable hostname verification, revocation checks.
Public methodStatic memberCreateInsecure
Creates an insecure trust manager that trusts any certificate it is presented, but does hostname verification.
Public methodStatic memberCreateInsecure(Boolean)
Creates an insecure trust manager that trusts any certificate it is presented with configurable hostname verification.
Public methodStatic memberCreatePeerTrust
Creates a trust manager that establishes trust based on TrustedPeople system certificate store.
Public methodStatic memberCreatePeerTrust(Boolean)
Creates a trust manager that establishes trust based on TrustedPeople system certificate store with configurable hostname verification.
Public methodStatic memberCreatePeerTrust(Boolean, Boolean)
Creates a trust manager that establishes trust based on TrustedPeople system certificate store with configurable hostname verification.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodValidateServerCertificate
Returns whether the endpoint should be trusted or not.
Top
Extension Methods
See Also