public class TLSParameterBase extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
certAlias |
protected CertificateConstraintsType |
certConstraints |
protected FiltersType |
cipherSuiteFilters |
protected List<String> |
ciphersuites |
protected KeyManager[] |
keyManagers |
protected String |
protocol |
protected String |
provider |
protected SecureRandom |
secureRandom |
protected TrustManager[] |
trustManagers |
Constructor and Description |
---|
TLSParameterBase() |
Modifier and Type | Method and Description |
---|---|
String |
getCertAlias()
This parameter retrieves the cert alias specified on server side
|
CertificateConstraintsType |
getCertConstraints()
Get the certificate constraints type
|
List<String> |
getCipherSuites()
Returns the CipherSuites associated with this endpoint.
|
FiltersType |
getCipherSuitesFilter()
Returns the cipher suites filter
|
String |
getJsseProvider()
Return the JSSE provider.
|
KeyManager[] |
getKeyManagers()
Returns the key managers for the endpoint.
|
SecureRandom |
getSecureRandom()
Returns the secure random algorithm.
|
String |
getSecureSocketProtocol()
Returns the secure socket protocol in use.
|
TrustManager[] |
getTrustManagers()
Returns the TrustManagers associated with the endpoint.
|
void |
setCertAlias(String ctAlias)
This parameter configures the cert alias used on server side
this is useful when keystore has multiple certs
|
void |
setCertConstraints(CertificateConstraintsType constraints)
Set the certificate constraints type
|
void |
setCipherSuites(List<String> cs)
This parameter sets the cipher suites list to use.
|
void |
setCipherSuitesFilter(FiltersType filters)
This parameter sets the filter to include and/or exclude the
cipher suites to use from the set list or system defaults.
|
void |
setJsseProvider(String prov)
Set the JSSE provider.
|
void |
setKeyManagers(KeyManager[] keyMgrs)
Sets the KeyManagers for this endpoint.
|
void |
setSecureRandom(SecureRandom random)
This sets the secure random provider and algorithm.
|
void |
setSecureSocketProtocol(String proto)
This sets the protocol to use.
|
void |
setTrustManagers(TrustManager[] trustMgrs)
Sets the TrustManagers associated with this endpoint.
|
protected KeyManager[] keyManagers
protected TrustManager[] trustManagers
protected String provider
protected FiltersType cipherSuiteFilters
protected CertificateConstraintsType certConstraints
protected SecureRandom secureRandom
protected String protocol
protected String certAlias
public final void setJsseProvider(String prov)
public String getJsseProvider()
public final void setKeyManagers(KeyManager[] keyMgrs)
public KeyManager[] getKeyManagers()
public final void setTrustManagers(TrustManager[] trustMgrs)
public TrustManager[] getTrustManagers()
public final void setCipherSuites(List<String> cs)
public List<String> getCipherSuites()
public final void setCipherSuitesFilter(FiltersType filters)
public FiltersType getCipherSuitesFilter()
public final void setSecureRandom(SecureRandom random)
public CertificateConstraintsType getCertConstraints()
public final void setCertConstraints(CertificateConstraintsType constraints)
public SecureRandom getSecureRandom()
public final void setSecureSocketProtocol(String proto)
public String getSecureSocketProtocol()
public final void setCertAlias(String ctAlias)
public String getCertAlias()
Copyright © 2018 JBoss by Red Hat. All rights reserved.