| Package | Description |
|---|---|
| org.neo4j.driver |
| Modifier and Type | Method and Description |
|---|---|
static 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 |
Config.trustStrategy() |
static Config.TrustStrategy |
Config.TrustStrategy.trustSystemCertificates()
Trust strategy for certificates that can be verified through the local system store.
|
Config.TrustStrategy |
Config.TrustStrategy.withHostnameVerification()
Enable hostname verification for this trust strategy.
|
Config.TrustStrategy |
Config.TrustStrategy.withoutCertificateRevocationChecks()
Configures the
Config.TrustStrategy to not carry out OCSP revocation checks on certificates. |
Config.TrustStrategy |
Config.TrustStrategy.withoutHostnameVerification()
Disable hostname verification for this trust strategy.
|
Config.TrustStrategy |
Config.TrustStrategy.withStrictRevocationChecks()
Configures the
Config.TrustStrategy to carry out strict OCSP revocation checks for revocation status that
are stapled to the certificate. |
Config.TrustStrategy |
Config.TrustStrategy.withVerifyIfPresentRevocationChecks()
Configures the
Config.TrustStrategy to carry out OCSP revocation checks when the revocation status is
stapled to the certificate. |
| Modifier and Type | Method and Description |
|---|---|
Config.ConfigBuilder |
Config.ConfigBuilder.withTrustStrategy(Config.TrustStrategy trustStrategy)
Specify how to determine the authenticity of an encryption certificate provided by the Neo4j instance we are connecting to.
|