mirror of
https://github.com/aljazceru/signal-cli.git
synced 2025-12-18 22:54:20 +01:00
21 lines
470 B
Java
21 lines
470 B
Java
package cli;
|
|
|
|
import org.whispersystems.textsecure.api.push.TrustStore;
|
|
|
|
import java.io.FileInputStream;
|
|
import java.io.FileNotFoundException;
|
|
import java.io.InputStream;
|
|
|
|
public class WhisperTrustStore implements TrustStore {
|
|
|
|
@Override
|
|
public InputStream getKeyStoreInputStream() {
|
|
return cli.WhisperTrustStore.class.getResourceAsStream("whisper.store");
|
|
}
|
|
|
|
@Override
|
|
public String getKeyStorePassword() {
|
|
return "whisper";
|
|
}
|
|
}
|