mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 03:09:04 +01:00
Rm unused classes
This commit is contained in:
@@ -1,37 +0,0 @@
|
||||
package org.briarproject.briar.api.socialbackup;
|
||||
|
||||
import org.briarproject.bramble.api.crypto.SecretKey;
|
||||
import org.briarproject.bramble.api.db.DbException;
|
||||
import org.briarproject.bramble.api.nullsafety.NotNullByDefault;
|
||||
import org.briarproject.bramble.api.plugin.duplex.DuplexTransportConnection;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
@NotNullByDefault
|
||||
public interface SocialBackupExchangeManager {
|
||||
|
||||
/**
|
||||
* Return a shard and encrypted backup to a secret-owner's new device
|
||||
* @param conn
|
||||
* @param masterKey
|
||||
* @param verified
|
||||
* @throws IOException
|
||||
* @throws DbException
|
||||
*/
|
||||
void sendReturnShard(DuplexTransportConnection conn,
|
||||
SecretKey masterKey,
|
||||
boolean verified, ReturnShardPayload returnShardPayload) throws IOException, DbException;
|
||||
|
||||
/**
|
||||
* Receive a returned shard and encrypted backup from a custodian
|
||||
* @param conn
|
||||
* @param masterKey
|
||||
* @param verified
|
||||
* @return the shard and encrypted backup
|
||||
* @throws IOException
|
||||
* @throws DbException
|
||||
*/
|
||||
ReturnShardPayload receiveReturnShard(DuplexTransportConnection conn,
|
||||
SecretKey masterKey, boolean verified)
|
||||
throws IOException, DbException;
|
||||
}
|
||||
Reference in New Issue
Block a user