SecurityUtil.TruststoreKeystore (Apache Hadoop Common 3.5.0 API)
Description: declaration: package: org.apache.hadoop.security, class: SecurityUtil, class: TruststoreKeystore

Package org.apache.hadoop.security

# Class SecurityUtil.TruststoreKeystore

java.lang.Object
org.apache.hadoop.security.SecurityUtil.TruststoreKeystore

Enclosing class:
  SecurityUtil

public static class SecurityUtil.TruststoreKeystore extends Object
Helper class to contain the Truststore/Keystore paths for the ZK client connection over SSL/TLS.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TruststoreKeystore(Configuration conf)`
  Configuration for the ZooKeeper connection when SSL/TLS is enabled.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getKeystoreLocation()`
  `String`
  `getKeystorePassword()`
  `String`
  `getTruststoreLocation()`
  `String`
  `getTruststorePassword()`

  ### Methods inherited from class java.lang.Object

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

- ## Constructor Details

  - ### TruststoreKeystore

    public TruststoreKeystore(Configuration conf)
    Configuration for the ZooKeeper connection when SSL/TLS is enabled. When a value is not configured, ensure that empty string is set instead of null.
    Parameters:
      `conf` - ZooKeeper Client configuration

- ## Method Details

  - ### getKeystoreLocation

    public String getKeystoreLocation()

  - ### getKeystorePassword

    public String getKeystorePassword()

  - ### getTruststoreLocation

    public String getTruststoreLocation()

  - ### getTruststorePassword

    public String getTruststorePassword()