类 SslInfo
java.lang.Object
org.springframework.boot.info.SslInfo
Information about the certificates that the application uses.
- 从以下版本开始:
- 3.4.0
- 作者:
- Jonatan Ivanov, Moritz Halbritter
-
嵌套类概要
嵌套类修饰符和类型类说明final class
Info about a singleSslBundle
.final class
Info about a single certificate chain.final class
Info about a certificate.static class
Certificate validity info. -
构造器概要
构造器构造器说明SslInfo
(SslBundles sslBundles, Duration certificateValidityWarningThreshold) Creates a new instance.SslInfo
(SslBundles sslBundles, Duration certificateValidityWarningThreshold, Clock clock) Creates a new instance. -
方法概要
修饰符和类型方法说明Returns an SSL bundle by name.Returns information on all SSL bundles.
-
构造器详细资料
-
SslInfo
Creates a new instance.- 参数:
sslBundles
- theSslBundles
to extract the info fromcertificateValidityWarningThreshold
- the certificate validity warning threshold
-
SslInfo
Creates a new instance.- 参数:
sslBundles
- theSslBundles
to extract the info fromcertificateValidityWarningThreshold
- the certificate validity warning thresholdclock
- theClock
to use- 从以下版本开始:
- 3.5.0
-
-
方法详细资料
-
getBundles
Returns information on all SSL bundles.- 返回:
- information on all SSL bundles
-
getBundle
Returns an SSL bundle by name.- 参数:
name
- the name of the SSL bundle- 返回:
- the
SslInfo.BundleInfo
for the given SSL bundle - 抛出:
NoSuchSslBundleException
- if a bundle with the provided name does not exist- 从以下版本开始:
- 3.5.0
-