Class PropertiesSslBundle
java.lang.Object
org.springframework.boot.autoconfigure.ssl.PropertiesSslBundle
- All Implemented Interfaces:
SslBundle
- Since:
- 3.1.0
- Author:
- Scott Frederick, Phillip Webb
-
Field Summary
Fields inherited from interface org.springframework.boot.ssl.SslBundle
DEFAULT_PROTOCOL
-
Method Summary
Modifier and TypeMethodDescriptionstatic SslBundle
get
(JksSslBundleProperties properties) Get anSslBundle
for the givenJksSslBundleProperties
.static SslBundle
get
(JksSslBundleProperties properties, ResourceLoader resourceLoader) Get anSslBundle
for the givenJksSslBundleProperties
.static SslBundle
get
(PemSslBundleProperties properties) Get anSslBundle
for the givenPemSslBundleProperties
.static SslBundle
get
(PemSslBundleProperties properties, ResourceLoader resourceLoader) Get anSslBundle
for the givenPemSslBundleProperties
.getKey()
Return a reference to the key that should be used for this bundle orSslBundleKey.NONE
.ReturnSslOptions
that should be applied when establishing the SSL connection.Return the protocol to use when establishing the connection.Return theSslStoreBundle
that can be used to access this bundle's key and trust stores.toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.springframework.boot.ssl.SslBundle
createSslContext
-
Method Details
-
getStores
Description copied from interface:SslBundle
Return theSslStoreBundle
that can be used to access this bundle's key and trust stores. -
getKey
Description copied from interface:SslBundle
Return a reference to the key that should be used for this bundle orSslBundleKey.NONE
. -
getOptions
Description copied from interface:SslBundle
ReturnSslOptions
that should be applied when establishing the SSL connection.- Specified by:
getOptions
in interfaceSslBundle
- Returns:
- the options that should be applied
-
getProtocol
Description copied from interface:SslBundle
Return the protocol to use when establishing the connection. Values should be supported bySSLContext.getInstance(String)
.- Specified by:
getProtocol
in interfaceSslBundle
- Returns:
- the SSL protocol
- See Also:
-
getManagers
Description copied from interface:SslBundle
- Specified by:
getManagers
in interfaceSslBundle
- Returns:
- the
SslManagerBundle
instance for this bundle
-
get
Get anSslBundle
for the givenPemSslBundleProperties
.- Parameters:
properties
- the source properties- Returns:
- an
SslBundle
instance
-
get
Get anSslBundle
for the givenPemSslBundleProperties
.- Parameters:
properties
- the source propertiesresourceLoader
- the resource loader used to load content- Returns:
- an
SslBundle
instance - Since:
- 3.3.5
-
get
Get anSslBundle
for the givenJksSslBundleProperties
.- Parameters:
properties
- the source properties- Returns:
- an
SslBundle
instance
-
get
Get anSslBundle
for the givenJksSslBundleProperties
.- Parameters:
properties
- the source propertiesresourceLoader
- the resource loader used to load content- Returns:
- an
SslBundle
instance - Since:
- 3.3.5
-
toString
-