Class SslInfo
java.lang.Object
org.springframework.boot.info.SslInfo
Information about the certificates that the application uses.
- Since:
- 3.4.0
- Author:
- Jonatan Ivanov, Moritz Halbritter
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionfinal classInfo about a singleSslBundle.final classInfo about a single certificate chain.final classInfo about a certificate.static classCertificate validity info.
- 
Constructor SummaryConstructorsConstructorDescriptionSslInfo(SslBundles sslBundles) Creates a new instance.SslInfo(SslBundles sslBundles, Clock clock) Creates a new instance.
- 
Method SummaryModifier and TypeMethodDescriptionReturns an SSL bundle by name.Returns information on all SSL bundles.
- 
Constructor Details- 
SslInfoCreates a new instance.- Parameters:
- sslBundles- the- SslBundlesto extract the info from
- Since:
- 4.0.0
 
- 
SslInfoCreates a new instance.- Parameters:
- sslBundles- the- SslBundlesto extract the info from
- clock- the- Clockto use
- Since:
- 4.0.0
 
 
- 
- 
Method Details- 
getBundlesReturns information on all SSL bundles.- Returns:
- information on all SSL bundles
 
- 
getBundleReturns an SSL bundle by name.- Parameters:
- name- the name of the SSL bundle
- Returns:
- the SslInfo.BundleInfofor the given SSL bundle
- Throws:
- NoSuchSslBundleException- if a bundle with the provided name does not exist
- Since:
- 3.5.0
 
 
-