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