use of org.whispersystems.signalservice.internal.keybackup.protos.BackupResponse in project Signal-Android by signalapp.
the class KeyBackupCipher method getKeyBackupResponse.
public static BackupResponse getKeyBackupResponse(KeyBackupResponse response, RemoteAttestation remoteAttestation) throws InvalidCiphertextException, InvalidProtocolBufferException {
byte[] data = decryptData(response, remoteAttestation);
Response backupResponse = Response.parseFrom(data);
return backupResponse.getBackup();
}
use of org.whispersystems.signalservice.internal.keybackup.protos.BackupResponse in project Signal-Android by WhisperSystems.
the class KeyBackupCipher method getKeyBackupResponse.
public static BackupResponse getKeyBackupResponse(KeyBackupResponse response, RemoteAttestation remoteAttestation) throws InvalidCiphertextException, InvalidProtocolBufferException {
byte[] data = decryptData(response, remoteAttestation);
Response backupResponse = Response.parseFrom(data);
return backupResponse.getBackup();
}
Aggregations