public class KeystoreWrapper extends Object
| Modifier and Type | Class and Description | 
|---|---|
| static class  | KeystoreWrapper.KeystoreBuilder | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | containsEntry(String alias) | 
| String | getSecureSetting(String alias) | 
| List<String> | listEntries() | 
| static KeystoreWrapper.KeystoreBuilder | loadStore(InputStream stream) | 
| static KeystoreWrapper.KeystoreBuilder | loadStore(String path) | 
| static KeystoreWrapper.KeystoreBuilder | newStore() | 
| void | removeSecureSetting(String alias) | 
| void | saveKeystore(OutputStream outputStream) | 
| void | saveKeystore(String path) | 
| void | setSecureSetting(String alias,
                String key) | 
public void setSecureSetting(String alias, String key) throws EsHadoopSecurityException
EsHadoopSecurityExceptionpublic void removeSecureSetting(String alias) throws EsHadoopSecurityException
EsHadoopSecurityExceptionpublic String getSecureSetting(String alias) throws EsHadoopSecurityException
EsHadoopSecurityExceptionpublic boolean containsEntry(String alias) throws EsHadoopSecurityException
EsHadoopSecurityExceptionpublic List<String> listEntries() throws EsHadoopSecurityException
EsHadoopSecurityExceptionpublic void saveKeystore(OutputStream outputStream) throws EsHadoopSecurityException, IOException
EsHadoopSecurityExceptionIOExceptionpublic void saveKeystore(String path) throws EsHadoopSecurityException, IOException
EsHadoopSecurityExceptionIOExceptionpublic static KeystoreWrapper.KeystoreBuilder loadStore(String path)
public static KeystoreWrapper.KeystoreBuilder loadStore(InputStream stream)
public static KeystoreWrapper.KeystoreBuilder newStore()