Class TLSParameterBase
java.lang.Object
org.apache.cxf.configuration.jsse.TLSParameterBase
- Direct Known Subclasses:
- TLSClientParameters,- TLSServerParameters
This class is the base class for SSL/TLS parameters that are common
 to both client and server sides.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected Stringprotected org.apache.cxf.configuration.security.CertificateConstraintsTypeprotected org.apache.cxf.configuration.security.FiltersTypeprotected static final Collection<String>protected KeyManager[]protected Stringprotected Stringprotected SecureRandomprotected TrustManager[]
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionThis parameter retrieves the cert alias specified on server sideorg.apache.cxf.configuration.security.CertificateConstraintsTypeGet the certificate constraints typeReturns the CipherSuites associated with this endpoint.org.apache.cxf.configuration.security.FiltersTypeReturns the cipher suites filterReturn the JSSE provider.Returns the key managers for the endpoint.Returns the secure random algorithm.Returns the secure socket protocol in use.Returns the TrustManagers associated with the endpoint.final voidsetCertAlias(String ctAlias) This parameter configures the cert alias used on server side this is useful when keystore has multiple certsfinal voidsetCertConstraints(org.apache.cxf.configuration.security.CertificateConstraintsType constraints) Set the certificate constraints typefinal voidsetCipherSuites(List<String> cs) This parameter sets the cipher suites list to use.final voidsetCipherSuitesFilter(org.apache.cxf.configuration.security.FiltersType filters) This parameter sets the filter to include and/or exclude the cipher suites to use from the set list or system defaults.final voidsetJsseProvider(String prov) Set the JSSE provider.final voidsetKeyManagers(KeyManager[] keyMgrs) Sets the KeyManagers for this endpoint.final voidsetSecureRandom(SecureRandom random) This sets the secure random provider and algorithm.final voidsetSecureSocketProtocol(String proto) This sets the protocol to use.final voidsetTrustManagers(TrustManager[] trustMgrs) Sets the TrustManagers associated with this endpoint.
- 
Field Details- 
DEFAULT_HTTPS_PROTOCOLS
- 
keyManagers
- 
trustManagers
- 
provider
- 
ciphersuites
- 
cipherSuiteFiltersprotected org.apache.cxf.configuration.security.FiltersType cipherSuiteFilters
- 
certConstraintsprotected org.apache.cxf.configuration.security.CertificateConstraintsType certConstraints
- 
secureRandom
- 
protocol
- 
certAlias
 
- 
- 
Constructor Details- 
TLSParameterBasepublic TLSParameterBase()
 
- 
- 
Method Details- 
setJsseProviderSet the JSSE provider. If not set, it uses system default.
- 
getJsseProviderReturn the JSSE provider.
- 
setKeyManagersSets the KeyManagers for this endpoint. This parameter may be set to null for system default behavior.
- 
getKeyManagersReturns the key managers for the endpoint.
- 
setTrustManagersSets the TrustManagers associated with this endpoint. This parameter may be set to null for system default behavior.
- 
getTrustManagersReturns the TrustManagers associated with the endpoint.
- 
setCipherSuitesThis parameter sets the cipher suites list to use. If left unset it uses system defaults.
- 
getCipherSuitesReturns the CipherSuites associated with this endpoint.
- 
setCipherSuitesFilterpublic final void setCipherSuitesFilter(org.apache.cxf.configuration.security.FiltersType filters) This parameter sets the filter to include and/or exclude the cipher suites to use from the set list or system defaults.
- 
getCipherSuitesFilterpublic org.apache.cxf.configuration.security.FiltersType getCipherSuitesFilter()Returns the cipher suites filter
- 
setSecureRandomThis sets the secure random provider and algorithm. If left unset or set to null, it uses the system default.
- 
getCertConstraintspublic org.apache.cxf.configuration.security.CertificateConstraintsType getCertConstraints()Get the certificate constraints type
- 
setCertConstraintspublic final void setCertConstraints(org.apache.cxf.configuration.security.CertificateConstraintsType constraints) Set the certificate constraints type
- 
getSecureRandomReturns the secure random algorithm.
- 
setSecureSocketProtocolThis sets the protocol to use. The system default is usually "TLS".
- 
getSecureSocketProtocolReturns the secure socket protocol in use.
- 
setCertAliasThis parameter configures the cert alias used on server side this is useful when keystore has multiple certs
- 
getCertAliasThis parameter retrieves the cert alias specified on server side
 
-