java.lang.Object
org.neo4j.bolt.connection.SecurityPlans
-
Method Summary
Modifier and TypeMethodDescriptionstatic SecurityPlanencrypted(boolean requiresClientAuth, SSLContext sslContext, boolean requiresHostnameVerification) static SecurityPlanstatic SecurityPlanstatic SecurityPlan
-
Method Details
-
encrypted
public static SecurityPlan encrypted(boolean requiresClientAuth, SSLContext sslContext, boolean requiresHostnameVerification) -
encryptedForAnyCertificate
- Throws:
GeneralSecurityException
-
encryptedForSystemCASignedCertificates
public static SecurityPlan encryptedForSystemCASignedCertificates() throws GeneralSecurityException, IOException- Throws:
GeneralSecurityExceptionIOException
-
unencrypted
-