mirror of
https://github.com/AsamK/signal-cli
synced 2025-09-02 04:20:38 +00:00
First commit
This commit is contained in:
commit
28e192c519
18 changed files with 3272 additions and 0 deletions
20
src/main/java/cli/WhisperTrustStore.java
Normal file
20
src/main/java/cli/WhisperTrustStore.java
Normal file
|
@ -0,0 +1,20 @@
|
|||
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";
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue