Class WebServerSslBundle
java.lang.Object
org.springframework.boot.web.server.WebServerSslBundle
- All Implemented Interfaces:
- SslBundle
- Since:
- 3.1.0
- Author:
- Scott Frederick, Phillip Webb
- 
Field SummaryFields inherited from interface org.springframework.boot.ssl.SslBundleDEFAULT_PROTOCOL
- 
Method SummaryModifier and TypeMethodDescriptionstatic SslBundlestatic SslBundleget(Ssl ssl, SslBundles sslBundles) static SslBundleget(Ssl ssl, SslBundles sslBundles, SslStoreProvider sslStoreProvider) Deprecated, for removal: This API element is subject to removal in a future version.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.toString()Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.boot.ssl.SslBundlecreateSslContext
- 
Method Details- 
getStoresDescription copied from interface:SslBundleReturn theSslStoreBundlethat can be used to access this bundle's key and trust stores.
- 
getKeyDescription copied from interface:SslBundleReturn a reference to the key that should be used for this bundle orSslBundleKey.NONE.
- 
getOptionsDescription copied from interface:SslBundleReturnSslOptionsthat should be applied when establishing the SSL connection.- Specified by:
- getOptionsin interface- SslBundle
- Returns:
- the options that should be applied
 
- 
getProtocolDescription copied from interface:SslBundleReturn the protocol to use when establishing the connection. Values should be supported bySSLContext.getInstance(String).- Specified by:
- getProtocolin interface- SslBundle
- Returns:
- the SSL protocol
- See Also:
 
- 
getManagersDescription copied from interface:SslBundle- Specified by:
- getManagersin interface- SslBundle
- Returns:
- the SslManagerBundleinstance for this bundle
 
- 
get- Parameters:
- ssl- the source ssl instance
- Returns:
- a SslBundleinstance
- Throws:
- NoSuchSslBundleException- if a bundle lookup fails
 
- 
get- Parameters:
- ssl- the source ssl instance
- sslBundles- the bundles that should be used when- Ssl.getBundle()is set
- Returns:
- a SslBundleinstance
- Throws:
- NoSuchSslBundleException- if a bundle lookup fails
 
- 
get@Deprecated(since="3.1.0", forRemoval=true) public static SslBundle get(Ssl ssl, SslBundles sslBundles, SslStoreProvider sslStoreProvider) Deprecated, for removal: This API element is subject to removal in a future version.since 3.1.0 for removal in 3.3.0 along withSslStoreProvider- Parameters:
- ssl- the source- Sslinstance
- sslBundles- the bundles that should be used when- Ssl.getBundle()is set
- sslStoreProvider- the- SslStoreProviderto use or- null
- Returns:
- a SslBundleinstance
- Throws:
- NoSuchSslBundleException- if a bundle lookup fails
 
- 
toString
 
- 
SslStoreProvider