public class SSLConfig extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SSLConfig.Def |
Modifier and Type | Field and Description |
---|---|
int |
clientAuth |
SSLContext |
ctx |
boolean |
isClient |
static String |
KSTYPE_JKS |
static String |
KSTYPE_PKCS12 |
boolean |
latent |
String |
localCertAlias |
boolean |
mdty |
String |
peerCertName |
String |
protocol |
int |
sessionCache |
long |
sessionTimeout |
long |
shakeFreq |
long |
shakeTimeout |
String |
storeFormat |
URL |
storePath |
String |
trustFormat |
URL |
trustPath |
Constructor and Description |
---|
SSLConfig(SSLConfig.Def def) |
Modifier and Type | Method and Description |
---|---|
static SSLConfig |
create(XmlConfig cfg,
NAFConfig nafcfg,
SSLConfig.Def def,
String peername,
boolean client) |
static SSLConfig |
create(XmlConfig cfg,
NAFConfig nafcfg,
String peername,
boolean client) |
void |
declare(String pfx,
Logger logger) |
public static final String KSTYPE_JKS
public static final String KSTYPE_PKCS12
public final SSLContext ctx
public final boolean isClient
public final int clientAuth
public final String localCertAlias
public final String peerCertName
public final String trustFormat
public final URL trustPath
public final String storeFormat
public final URL storePath
public final String protocol
public final int sessionCache
public final long sessionTimeout
public final long shakeFreq
public long shakeTimeout
public final boolean latent
public final boolean mdty
public SSLConfig(SSLConfig.Def def) throws IOException, GeneralSecurityException
IOException
GeneralSecurityException
public static SSLConfig create(XmlConfig cfg, NAFConfig nafcfg, String peername, boolean client) throws IOException, GeneralSecurityException
IOException
GeneralSecurityException
public static SSLConfig create(XmlConfig cfg, NAFConfig nafcfg, SSLConfig.Def def, String peername, boolean client) throws IOException, GeneralSecurityException
IOException
GeneralSecurityException
Copyright 2010-2018 Grey Software (Yusef Badri). All Rights Reserved.