类 DefaultSslContextBuilder
java.lang.Object
org.apache.pulsar.common.util.SslContextAutoRefreshBuilder<SSLContext>
org.apache.pulsar.common.util.DefaultSslContextBuilder
-
字段概要
字段修饰符和类型字段说明protected final booleanprotected final FileModifiedTimeUpdaterprotected final FileModifiedTimeUpdaterprotected final booleanprotected final FileModifiedTimeUpdater从类继承的字段 org.apache.pulsar.common.util.SslContextAutoRefreshBuilder
lastRefreshTime, refreshTime -
构造器概要
构造器构造器说明DefaultSslContextBuilder(boolean allowInsecure, String trustCertsFilePath, String certificateFilePath, String keyFilePath, boolean requireTrustedClientCertOnConnect, long certRefreshInSec) DefaultSslContextBuilder(boolean allowInsecure, String trustCertsFilePath, String certificateFilePath, String keyFilePath, boolean requireTrustedClientCertOnConnect, long certRefreshInSec, String providerName) -
方法概要
修饰符和类型方法说明Returns cached SSLContext.booleanReturns whether the key files modified after a refresh time, and context need update.update()updates and returns cached SSLContext.从类继承的方法 org.apache.pulsar.common.util.SslContextAutoRefreshBuilder
get
-
字段详细资料
-
tlsAllowInsecureConnection
protected final boolean tlsAllowInsecureConnection -
tlsTrustCertsFilePath
-
tlsCertificateFilePath
-
tlsKeyFilePath
-
tlsRequireTrustedClientCertOnConnect
protected final boolean tlsRequireTrustedClientCertOnConnect
-
-
构造器详细资料
-
DefaultSslContextBuilder
-
DefaultSslContextBuilder
-
-
方法详细资料
-
update
从类复制的说明:SslContextAutoRefreshBuilderupdates and returns cached SSLContext.- 指定者:
update在类中SslContextAutoRefreshBuilder<SSLContext>- 返回:
- 抛出:
GeneralSecurityException
-
getSslContext
从类复制的说明:SslContextAutoRefreshBuilderReturns cached SSLContext.- 指定者:
getSslContext在类中SslContextAutoRefreshBuilder<SSLContext>- 返回:
-
needUpdate
public boolean needUpdate()从类复制的说明:SslContextAutoRefreshBuilderReturns whether the key files modified after a refresh time, and context need update.- 指定者:
needUpdate在类中SslContextAutoRefreshBuilder<SSLContext>- 返回:
- true if files modified
-