public class Ssl extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Ssl.ClientAuth
Client authentication types.
|
Constructor and Description |
---|
Ssl() |
Modifier and Type | Method and Description |
---|---|
String[] |
getCiphers()
Return the supported SSL ciphers.
|
Ssl.ClientAuth |
getClientAuth()
Return Whether client authentication is wanted ("want") or needed ("need").
|
String[] |
getEnabledProtocols()
Return the enabled SSL protocols.
|
String |
getKeyAlias()
Return the alias that identifies the key in the key store.
|
String |
getKeyPassword()
Return the password used to access the key in the key store.
|
String |
getKeyStore()
Return the path to the key store that holds the SSL certificate (typically a jks
file).
|
String |
getKeyStorePassword()
Return the password used to access the key store.
|
String |
getKeyStoreProvider()
Return the provider for the key store.
|
String |
getKeyStoreType()
Return the type of the key store.
|
String |
getProtocol()
Return the SSL protocol to use.
|
String |
getTrustStore()
Return the trust store that holds SSL certificates.
|
String |
getTrustStorePassword()
Return the password used to access the trust store.
|
String |
getTrustStoreProvider()
Return the provider for the trust store.
|
String |
getTrustStoreType()
Return the type of the trust store.
|
boolean |
isEnabled()
Return whether to enable SSL support.
|
void |
setCiphers(String[] ciphers) |
void |
setClientAuth(Ssl.ClientAuth clientAuth) |
void |
setEnabled(boolean enabled) |
void |
setEnabledProtocols(String[] enabledProtocols) |
void |
setKeyAlias(String keyAlias) |
void |
setKeyPassword(String keyPassword) |
void |
setKeyStore(String keyStore) |
void |
setKeyStorePassword(String keyStorePassword) |
void |
setKeyStoreProvider(String keyStoreProvider) |
void |
setKeyStoreType(String keyStoreType) |
void |
setProtocol(String protocol) |
void |
setTrustStore(String trustStore) |
void |
setTrustStorePassword(String trustStorePassword) |
void |
setTrustStoreProvider(String trustStoreProvider) |
void |
setTrustStoreType(String trustStoreType) |
public boolean isEnabled()
public void setEnabled(boolean enabled)
public Ssl.ClientAuth getClientAuth()
Ssl.ClientAuth
to usepublic void setClientAuth(Ssl.ClientAuth clientAuth)
public String[] getCiphers()
public void setCiphers(String[] ciphers)
public String[] getEnabledProtocols()
public void setEnabledProtocols(String[] enabledProtocols)
public String getKeyAlias()
public void setKeyAlias(String keyAlias)
public String getKeyPassword()
public void setKeyPassword(String keyPassword)
public String getKeyStore()
public void setKeyStore(String keyStore)
public String getKeyStorePassword()
public void setKeyStorePassword(String keyStorePassword)
public String getKeyStoreType()
public void setKeyStoreType(String keyStoreType)
public String getKeyStoreProvider()
public void setKeyStoreProvider(String keyStoreProvider)
public String getTrustStore()
public void setTrustStore(String trustStore)
public String getTrustStorePassword()
public void setTrustStorePassword(String trustStorePassword)
public String getTrustStoreType()
public void setTrustStoreType(String trustStoreType)
public String getTrustStoreProvider()
public void setTrustStoreProvider(String trustStoreProvider)
public String getProtocol()
public void setProtocol(String protocol)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.