final class PEMFileLoader extends FileKeyStoreLoader
FileKeyStoreLoader
that loads from PEM files.
This file has been copied from the Apache ZooKeeper project.Modifier and Type | Class and Description |
---|---|
(package private) static class |
PEMFileLoader.Builder |
keyStorePassword, keyStorePath, trustStorePassword, trustStorePath
Modifier | Constructor and Description |
---|---|
private |
PEMFileLoader(String keyStorePath,
String trustStorePath,
char[] keyStorePassword,
char[] trustStorePassword) |
Modifier and Type | Method and Description |
---|---|
KeyStore |
loadKeyStore() |
KeyStore |
loadTrustStore() |
private PEMFileLoader(String keyStorePath, String trustStorePath, char[] keyStorePassword, char[] trustStorePassword)
public KeyStore loadKeyStore() throws IOException, GeneralSecurityException
IOException
GeneralSecurityException
public KeyStore loadTrustStore() throws IOException, GeneralSecurityException
IOException
GeneralSecurityException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.