@Override public void storeKey(Key key) throws KeyStoringException { Path keyPath = FileSystemService.getUserRapidMinerDir().toPath().resolve(DEFAULTKEY_FILE_NAME); try { KeyGeneratorTool.storeKey(key.getEncoded(), keyPath); } catch (IOException e) { throw new KeyStoringException("Could not store new cipher key", e); } }