Class AuthenticationDataTls

java.lang.Object
org.apache.pulsar.client.impl.auth.AuthenticationDataTls
All Implemented Interfaces:
Serializable, org.apache.pulsar.client.api.AuthenticationDataProvider

public class AuthenticationDataTls extends Object implements org.apache.pulsar.client.api.AuthenticationDataProvider
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • hasDataForTls

      public boolean hasDataForTls()
      Specified by:
      hasDataForTls in interface org.apache.pulsar.client.api.AuthenticationDataProvider
    • getHttpHeaders

      public Set<Map.Entry<String,String>> getHttpHeaders()
      Specified by:
      getHttpHeaders in interface org.apache.pulsar.client.api.AuthenticationDataProvider
    • getTlsCertificates

      public Certificate[] getTlsCertificates()
      Specified by:
      getTlsCertificates in interface org.apache.pulsar.client.api.AuthenticationDataProvider
    • getTlsPrivateKey

      public PrivateKey getTlsPrivateKey()
      Specified by:
      getTlsPrivateKey in interface org.apache.pulsar.client.api.AuthenticationDataProvider
    • getTlsTrustStoreStream

      public InputStream getTlsTrustStoreStream()
      Specified by:
      getTlsTrustStoreStream in interface org.apache.pulsar.client.api.AuthenticationDataProvider
    • getTlsCerificateFilePath

      public String getTlsCerificateFilePath()
      Specified by:
      getTlsCerificateFilePath in interface org.apache.pulsar.client.api.AuthenticationDataProvider
    • getTlsPrivateKeyFilePath

      public String getTlsPrivateKeyFilePath()
      Specified by:
      getTlsPrivateKeyFilePath in interface org.apache.pulsar.client.api.AuthenticationDataProvider