Uses of Class
org.neo4j.driver.Config.TrustStrategy
Packages that use Config.TrustStrategy
-
Uses of Config.TrustStrategy in org.neo4j.driver
Methods in org.neo4j.driver that return Config.TrustStrategyModifier and TypeMethodDescriptionstatic Config.TrustStrategy
Config.TrustStrategy.trustAllCertificates()
Trust strategy for certificates that trust all certificates blindly.static Config.TrustStrategy
Config.TrustStrategy.trustCustomCertificateSignedBy
(File... certFiles) Only encrypted connections to Neo4j instances with certificates signed by a trusted certificate will be accepted.Config.trustStrategy()
Returns the strategy to use to determine the authenticity of an encryption certificate provided by the Neo4j instance we are connecting to.static Config.TrustStrategy
Config.TrustStrategy.trustSystemCertificates()
Trust strategy for certificates that can be verified through the local system store.Config.TrustStrategy.withHostnameVerification()
Enable hostname verification for this trust strategy.Config.TrustStrategy.withoutCertificateRevocationChecks()
Configures theConfig.TrustStrategy
to not carry out OCSP revocation checks on certificates.Config.TrustStrategy.withoutHostnameVerification()
Disable hostname verification for this trust strategy.Config.TrustStrategy.withStrictRevocationChecks()
Configures theConfig.TrustStrategy
to carry out strict OCSP revocation checks for revocation status that are stapled to the certificate.Config.TrustStrategy.withVerifyIfPresentRevocationChecks()
Configures theConfig.TrustStrategy
to carry out OCSP revocation checks when the revocation status is stapled to the certificate.Methods in org.neo4j.driver with parameters of type Config.TrustStrategyModifier and TypeMethodDescriptionConfig.ConfigBuilder.withTrustStrategy
(Config.TrustStrategy trustStrategy) Specify how to determine the authenticity of an encryption certificate provided by the Neo4j instance we are connecting to.