Rm unused classes

This commit is contained in:
ameba23
2021-05-04 15:09:22 +02:00
parent 26a35b3212
commit e5eb82a5a8
3 changed files with 0 additions and 336 deletions

View File

@@ -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;
}