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 SslBundleget(JksSslBundleProperties properties) Get anSslBundlefor the givenJksSslBundleProperties.static SslBundleget(PemSslBundleProperties properties) Get anSslBundlefor the givenPemSslBundleProperties.getKey()Return a reference to the key that should be used for this bundle orSslBundleKey.NONE.ReturnSslOptionsthat should be applied when establishing the SSL connection.Return the protocol to use when establishing the connection.Return theSslStoreBundlethat can be used to access this bundle's key and trust stores.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.boot.ssl.SslBundle
createSslContext
-
Method Details
-
getStores
Description copied from interface:SslBundleReturn theSslStoreBundlethat can be used to access this bundle's key and trust stores. -
getKey
Description copied from interface:SslBundleReturn a reference to the key that should be used for this bundle orSslBundleKey.NONE. -
getOptions
Description copied from interface:SslBundleReturnSslOptionsthat should be applied when establishing the SSL connection.- Specified by:
getOptionsin interfaceSslBundle- Returns:
- the options that should be applied
-
getProtocol
Description copied from interface:SslBundleReturn the protocol to use when establishing the connection. Values should be supported bySSLContext.getInstance(String).- Specified by:
getProtocolin interfaceSslBundle- Returns:
- the SSL protocol
- See Also:
-
getManagers
Description copied from interface:SslBundle- Specified by:
getManagersin interfaceSslBundle- Returns:
- the
SslManagerBundleinstance for this bundle
-
get
Get anSslBundlefor the givenPemSslBundleProperties.- Parameters:
properties- the source properties- Returns:
- an
SslBundleinstance
-
get
Get anSslBundlefor the givenJksSslBundleProperties.- Parameters:
properties- the source properties- Returns:
- an
SslBundleinstance
-