public class SslPolicy extends Object
| Constructor and Description |
|---|
SslPolicy(PrivateKey privateKey,
X509Certificate[] keyCertChain,
List<String> tlsVersions,
List<String> ciphers,
ClientAuth clientAuth,
TrustManagerFactory trustManagerFactory) |
| Modifier and Type | Method and Description |
|---|---|
X509Certificate[] |
certificateChain() |
List<String> |
getCipherSuites() |
ClientAuth |
getClientAuth() |
KeyStore |
getKeyStore(char[] keyStorePass,
char[] privateKeyPass) |
List<String> |
getTlsVersions() |
TrustManagerFactory |
getTrustManagerFactory() |
io.netty.handler.ssl.SslContext |
nettyClientContext() |
io.netty.handler.ssl.SslHandler |
nettyClientHandler(io.netty.channel.Channel channel) |
io.netty.handler.ssl.SslContext |
nettyServerContext() |
io.netty.handler.ssl.SslHandler |
nettyServerHandler(io.netty.channel.Channel channel) |
PrivateKey |
privateKey() |
String |
toString() |
public SslPolicy(PrivateKey privateKey, X509Certificate[] keyCertChain, List<String> tlsVersions, List<String> ciphers, ClientAuth clientAuth, TrustManagerFactory trustManagerFactory)
public io.netty.handler.ssl.SslContext nettyServerContext()
throws SSLException
SSLExceptionpublic io.netty.handler.ssl.SslContext nettyClientContext()
throws SSLException
SSLExceptionpublic io.netty.handler.ssl.SslHandler nettyServerHandler(io.netty.channel.Channel channel)
throws SSLException
SSLExceptionpublic io.netty.handler.ssl.SslHandler nettyClientHandler(io.netty.channel.Channel channel)
throws SSLException
SSLExceptionpublic PrivateKey privateKey()
public X509Certificate[] certificateChain()
public KeyStore getKeyStore(char[] keyStorePass, char[] privateKeyPass)
public TrustManagerFactory getTrustManagerFactory()
public ClientAuth getClientAuth()
Copyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.