public interface TlsDirectTrustStore extends TlsIndirectTrustStore
The information specified in this interface may be used to configure a trust store directly, or the values in the
TlsIndirectTrustStore may be stored as property values and used later, or both. It may therefore be specific to a
single connector, or global to all connectors made by that protocol, or even (in the case of the SSL transport) become a global
default value. For more information see the documentation for the connector or protocol in question. The comments in
TlsConfiguration may also be useful.
| Modifier and Type | Method and Description |
|---|---|
String |
getTrustManagerAlgorithm() |
TrustManagerFactory |
getTrustManagerFactory() |
String |
getTrustStoreType() |
boolean |
isExplicitTrustStoreOnly()
If the trust store is undefined and the trust store generated via System properties then the key store certificates defined
via TODO can be used as a source of trust information.
|
boolean |
isRequireClientAuthentication()
If a server socket is constructed directly (see
TlsConfiguration) then this flag will control whether client
authenticatin is required. |
void |
setExplicitTrustStoreOnly(boolean explicitTrustStoreOnly)
If the trust store is undefined and the trust store generated via System properties then the key store certificates defined
via TODO can be used as a source of trust information.
|
void |
setRequireClientAuthentication(boolean requireClientAuthentication)
If a server socket is constructed directly (see
TlsConfiguration) then this flag will control whether client
authenticatin is required. |
void |
setTrustManagerAlgorithm(String trustManagerAlgorithm) |
void |
setTrustManagerFactory(TrustManagerFactory trustManagerFactory) |
void |
setTrustStoreType(String trustStoreType) |
getTrustStore, getTrustStorePassword, setTrustStore, setTrustStorePasswordString getTrustStoreType()
TlsIndirectTrustStore.getTrustStore()void setTrustStoreType(String trustStoreType)
trustStoreType - The type of keystore used to implement the trust store defined in TlsIndirectTrustStore.setTrustStore(String)String getTrustManagerAlgorithm()
void setTrustManagerAlgorithm(String trustManagerAlgorithm)
trustManagerAlgorithm - The algorithm used by the trust store.TrustManagerFactory getTrustManagerFactory()
setTrustManagerFactory(TrustManagerFactory) or one constructed from the
parameters in this interface (setTrustStoreType(String) etc).void setTrustManagerFactory(TrustManagerFactory trustManagerFactory)
trustManagerFactory - The source of trust information if the store is accessed directly (some connectors generate trust
stores indirectly through System properties in which case this value will be ignored - see TlsConfiguration).boolean isExplicitTrustStoreOnly()
void setExplicitTrustStoreOnly(boolean explicitTrustStoreOnly)
explicitTrustStoreOnly - true if the key store data should not be used when a trust store is otherwise undefinedboolean isRequireClientAuthentication()
TlsConfiguration) then this flag will control whether client
authenticatin is required. This does not apply to client connections.void setRequireClientAuthentication(boolean requireClientAuthentication)
TlsConfiguration) then this flag will control whether client
authenticatin is required. This does not apply to client connections.requireClientAuthentication - true if clients must be authenticatedCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.