Class PemReader


  • public final class PemReader
    extends Object
    Note: this class is copied from io.airlift.security.pem.PemReader (see https://github.com/airlift/airlift/blob/master/security/src/main/java/io/airlift/security/pem/PemReader.java) with permission of the authors, to avoid adding an extra library dependency to Zookeeper. The file was copied from commit hash 86348546af43217f4d04a0cdad624b0ae4751c2c. The following modifications have been made to the original source code:
    • imports have been rearranged to match Zookeeper import order style.
    • The dependency on com.google.common.io.Files.asCharSource has been removed.
    • A dependency on java.nio.file.Files has been added.