public interface Ssl
extends org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.config.types.PropertyBag
| Modifier and Type | Field and Description |
|---|---|
static boolean |
ALLOW_LAZY_INIT |
static boolean |
CLIENT_AUTH_ENABLED |
static String |
CLIENT_AUTH_PATTERN |
static int |
DEFAULT_SSL_INACTIVITY_TIMEOUT |
static long |
HANDSHAKE_TIMEOUT_MILLIS |
static int |
MAX_CERT_LENGTH |
static String |
PASSWORD_PROVIDER |
static boolean |
RENEGOTIATE_ON_CLIENT_AUTH_WANT |
static String |
SSL2_CIPHERS_PATTERN |
static boolean |
SSL2_ENABLED |
static boolean |
SSL3_ENABLED |
static String |
STORE_TYPE_PATTERN |
static boolean |
TLS_ENABLED |
static boolean |
TLS_ROLLBACK_ENABLED |
static boolean |
TLS11_ENABLED |
static boolean |
TLS12_ENABLED |
| Modifier and Type | Method and Description |
|---|---|
String |
getAllowLazyInit()
Does SSL configuration allow implementation to initialize it lazily way
|
String |
getCertNickname()
Nickname of the server certificate in the certificate database or the PKCS#11 token.
|
String |
getClassname() |
String |
getClientAuth()
Determines if if the engine will request (want) or require (need) client authentication.
|
String |
getClientAuthEnabled()
Determines whether SSL3 client authentication is performed on every request, independent of ACL-based access
control.
|
String |
getCrlFile() |
String |
getHandshakeTimeoutMillis()
Handshake mode
|
String |
getKeyAlgorithm() |
String |
getKeyStore()
Location of the keystore file
|
String |
getKeyStorePassword()
password of the keystore file
|
String |
getKeyStorePasswordProvider() |
String |
getKeyStoreType()
type of the keystore file
|
String |
getRenegotiateOnClientAuthWant()
Determines whether or not ssl session renegotiation will occur if
client-auth is set to want.
|
String |
getSsl2Ciphers()
A comma-separated list of the SSL2 ciphers used, with the prefix + to enable or - to disable, for example +rc4.
|
String |
getSsl2Enabled()
Determines whether SSL2 is enabled.
|
String |
getSsl3Enabled()
Determines whether SSL3 is enabled.
|
String |
getSsl3TlsCiphers()
A comma-separated list of the SSL3 ciphers used, with the prefix + to enable or - to disable, for example
+SSL_RSA_WITH_RC4_128_MD5.
|
String |
getSSLInactivityTimeout() |
String |
getTls11Enabled()
Determines whether TLS 1.1 is enabled.
|
String |
getTls12Enabled()
Determines whether TLS 1.2 is enabled.
|
String |
getTlsEnabled()
Determines whether TLS is enabled.
|
String |
getTlsRollbackEnabled()
Determines whether TLS rollback is enabled.
|
String |
getTrustAlgorithm() |
String |
getTrustMaxCertLength() |
String |
getTrustStore() |
String |
getTrustStorePassword()
password of the truststore file
|
String |
getTrustStorePasswordProvider() |
String |
getTrustStoreType()
type of the truststore file
|
void |
setAllowLazyInit(String value) |
void |
setCertNickname(String value) |
void |
setClassname(String value) |
void |
setClientAuth(String value) |
void |
setClientAuthEnabled(String value) |
void |
setCrlFile(String crlFile) |
void |
setHandshakeTimeoutMillis(String timeoutMillis) |
void |
setKeyAlgorithm(String algorithm) |
void |
setKeyStore(String location) |
void |
setKeyStorePassword(String password) |
void |
setKeyStorePasswordProvider(String provider) |
void |
setKeyStoreType(String type) |
void |
setRenegotiateOnClientAuthWant(boolean renegotiateClientAuthWant) |
void |
setSsl2Ciphers(String value) |
void |
setSsl2Enabled(String value) |
void |
setSsl3Enabled(String value) |
void |
setSsl3TlsCiphers(String value) |
void |
setSSLInactivityTimeout(int handshakeTimeout) |
void |
setTls11Enabled(String value) |
void |
setTls12Enabled(String value) |
void |
setTlsEnabled(String value) |
void |
setTlsRollbackEnabled(String value) |
void |
setTrustAlgorithm(String algorithm) |
void |
setTrustMaxCertLength(String maxLength) |
void |
setTrustStore(String location) |
void |
setTrustStorePassword(String password) |
void |
setTrustStorePasswordProvider(String provider) |
void |
setTrustStoreType(String type) |
static final boolean ALLOW_LAZY_INIT
static final boolean CLIENT_AUTH_ENABLED
static final boolean SSL2_ENABLED
static final boolean SSL3_ENABLED
static final boolean TLS_ENABLED
static final boolean TLS11_ENABLED
static final boolean TLS12_ENABLED
static final boolean TLS_ROLLBACK_ENABLED
static final boolean RENEGOTIATE_ON_CLIENT_AUTH_WANT
static final int MAX_CERT_LENGTH
static final int DEFAULT_SSL_INACTIVITY_TIMEOUT
static final String CLIENT_AUTH_PATTERN
static final String STORE_TYPE_PATTERN
static final String PASSWORD_PROVIDER
static final String SSL2_CIPHERS_PATTERN
static final long HANDSHAKE_TIMEOUT_MILLIS
String getCertNickname()
void setCertNickname(String value)
String getClientAuthEnabled()
void setClientAuthEnabled(String value)
@Pattern(regexp="(|need|want)") String getClientAuth()
void setClientAuth(String value)
String getCrlFile()
void setCrlFile(String crlFile)
String getKeyAlgorithm()
void setKeyAlgorithm(String algorithm)
@Pattern(regexp="(JKS|NSS)") String getKeyStoreType()
void setKeyStoreType(String type)
String getKeyStorePasswordProvider()
void setKeyStorePasswordProvider(String provider)
String getKeyStorePassword()
void setKeyStorePassword(String password)
String getKeyStore()
void setKeyStore(String location)
String getClassname()
void setClassname(String value)
@Pattern(regexp="((\\+|\\-)(rc2|rc2export|rc4|rc4export|idea|des|desede3)(\\s*,\\s*(\\+|\\-)(rc2|rc2export|rc4|rc4export|idea|des|desede3))*)*") String getSsl2Ciphers()
void setSsl2Ciphers(String value)
String getSsl2Enabled()
void setSsl2Enabled(String value)
String getSsl3Enabled()
void setSsl3Enabled(String value)
String getSsl3TlsCiphers()
void setSsl3TlsCiphers(String value)
String getTlsEnabled()
void setTlsEnabled(String value)
String getTls11Enabled()
void setTls11Enabled(String value)
String getTls12Enabled()
void setTls12Enabled(String value)
String getTlsRollbackEnabled()
void setTlsRollbackEnabled(String value)
String getTrustAlgorithm()
void setTrustAlgorithm(String algorithm)
String getTrustMaxCertLength()
void setTrustMaxCertLength(String maxLength)
String getTrustStore()
void setTrustStore(String location)
@Pattern(regexp="(JKS|NSS)") String getTrustStoreType()
void setTrustStoreType(String type)
String getTrustStorePasswordProvider()
void setTrustStorePasswordProvider(String provider)
String getTrustStorePassword()
void setTrustStorePassword(String password)
String getAllowLazyInit()
void setAllowLazyInit(String value)
String getSSLInactivityTimeout()
void setSSLInactivityTimeout(int handshakeTimeout)
String getRenegotiateOnClientAuthWant()
Determines whether or not ssl session renegotiation will occur if
client-auth is set to want. This may be set to false under
the assumption that if a certificate wasn't available during the initial
handshake, it won't be available during a renegotiation.
This configuration option defaults to true.
true if ssl session renegotiation will occur if
client-auth is want.void setRenegotiateOnClientAuthWant(boolean renegotiateClientAuthWant)
String getHandshakeTimeoutMillis()
void setHandshakeTimeoutMillis(String timeoutMillis)
Copyright © 2017. All rights reserved.