类 AuthenticationDataTls
java.lang.Object
org.apache.pulsar.client.impl.auth.AuthenticationDataTls
- 所有已实现的接口:
Serializable,AuthenticationDataProvider
- 另请参阅:
-
字段概要
字段从接口继承的字段 org.apache.pulsar.client.api.AuthenticationDataProvider
PULSAR_AUTH_METHOD_NAME -
构造器概要
构造器构造器说明AuthenticationDataTls(String certFilePath, String keyFilePath) AuthenticationDataTls(Supplier<ByteArrayInputStream> certStreamProvider, Supplier<ByteArrayInputStream> keyStreamProvider) AuthenticationDataTls(Supplier<ByteArrayInputStream> certStreamProvider, Supplier<ByteArrayInputStream> keyStreamProvider, Supplier<ByteArrayInputStream> trustStoreStreamProvider) -
方法概要
修饰符和类型方法说明boolean从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.apache.pulsar.client.api.AuthenticationDataProvider
authenticate, getCommandData, getHttpAuthType, getTlsKeyStoreParams, hasDataForHttp, hasDataFromCommand
-
字段详细资料
-
tlsCertificates
-
tlsPrivateKey
-
-
构造器详细资料
-
AuthenticationDataTls
-
AuthenticationDataTls
public AuthenticationDataTls(Supplier<ByteArrayInputStream> certStreamProvider, Supplier<ByteArrayInputStream> keyStreamProvider) throws KeyManagementException -
AuthenticationDataTls
public AuthenticationDataTls(Supplier<ByteArrayInputStream> certStreamProvider, Supplier<ByteArrayInputStream> keyStreamProvider, Supplier<ByteArrayInputStream> trustStoreStreamProvider) throws KeyManagementException
-
-
方法详细资料
-
hasDataForTls
public boolean hasDataForTls()- 指定者:
hasDataForTls在接口中AuthenticationDataProvider
-
getHttpHeaders
- 指定者:
getHttpHeaders在接口中AuthenticationDataProvider
-
getTlsCertificates
- 指定者:
getTlsCertificates在接口中AuthenticationDataProvider
-
getTlsPrivateKey
- 指定者:
getTlsPrivateKey在接口中AuthenticationDataProvider
-
getTlsTrustStoreStream
-
getTlsCertificateFilePath
-
getTlsPrivateKeyFilePath
-