Class AuthenticationDataKeyStoreTls

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

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

    Fields inherited from interface org.apache.pulsar.client.api.AuthenticationDataProvider

    PULSAR_AUTH_METHOD_NAME
  • Constructor Summary

    Constructors
    Constructor
    Description
    AuthenticationDataKeyStoreTls(org.apache.pulsar.client.api.KeyStoreParams keyStoreParams)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    org.apache.pulsar.client.api.KeyStoreParams
     
    boolean
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.pulsar.client.api.AuthenticationDataProvider

    authenticate, getHttpAuthType, getHttpHeaders, getTlsCerificateFilePath, getTlsCertificates, getTlsPrivateKey, getTlsPrivateKeyFilePath, getTlsTrustStoreStream, hasDataForHttp, hasDataFromCommand
  • Constructor Details

    • AuthenticationDataKeyStoreTls

      public AuthenticationDataKeyStoreTls(org.apache.pulsar.client.api.KeyStoreParams keyStoreParams) throws Exception
      Throws:
      Exception
  • Method Details

    • hasDataForTls

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

      public org.apache.pulsar.client.api.KeyStoreParams getTlsKeyStoreParams()
      Specified by:
      getTlsKeyStoreParams in interface org.apache.pulsar.client.api.AuthenticationDataProvider
    • getCommandData

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