mirror of
https://github.com/oxen-io/session-android.git
synced 2023-12-14 02:53:01 +01:00
27 lines
595 B
Java
27 lines
595 B
Java
package org.thoughtcrime.securesms.push;
|
|
|
|
import android.content.Context;
|
|
|
|
import org.thoughtcrime.securesms.R;
|
|
import org.whispersystems.signalservice.api.push.TrustStore;
|
|
|
|
import java.io.InputStream;
|
|
|
|
public class IasTrustStore implements TrustStore {
|
|
|
|
private final Context context;
|
|
|
|
public IasTrustStore(Context context) {
|
|
this.context = context.getApplicationContext();
|
|
}
|
|
|
|
@Override
|
|
public InputStream getKeyStoreInputStream() {
|
|
return context.getResources().openRawResource(R.raw.ias);
|
|
}
|
|
|
|
@Override
|
|
public String getKeyStorePassword() {
|
|
return "whisper";
|
|
}
|
|
}
|