Class KeystoreFileStorage
java.lang.Object
org.graylog.security.certutil.keystore.storage.KeystoreFileStorage
- All Implemented Interfaces:
KeystoreStorage<Path>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreadKeyStore(Path location, char[] password) voidwriteKeyStore(Path location, KeyStore keyStore, char[] currentPassword, char[] newPassword)
-
Constructor Details
-
KeystoreFileStorage
public KeystoreFileStorage()
-
-
Method Details
-
writeKeyStore
public void writeKeyStore(Path location, KeyStore keyStore, char[] currentPassword, char[] newPassword) throws KeyStoreStorageException - Specified by:
writeKeyStorein interfaceKeystoreStorage<Path>- Throws:
KeyStoreStorageException
-
readKeyStore
public Optional<KeyStore> readKeyStore(Path location, char[] password) throws KeyStoreStorageException - Specified by:
readKeyStorein interfaceKeystoreStorage<Path>- Throws:
KeyStoreStorageException
-