Merge branch 'social-backup-poc' into remote-wipe-poc

* social-backup-poc:
  SecretOwnerTask also passes a provider of AuthenticatedCipher
This commit is contained in:
ameba23
2021-06-16 08:35:05 +02:00

View File

@@ -21,6 +21,7 @@ import java.security.GeneralSecurityException;
import java.util.logging.Logger;
import javax.inject.Inject;
import javax.inject.Provider;
import static java.util.logging.Logger.getLogger;
@@ -38,9 +39,9 @@ public class SecretOwnerTaskImpl extends ReturnShardTaskImpl
getLogger(SecretOwnerTaskImpl.class.getName());
@Inject
SecretOwnerTaskImpl(AuthenticatedCipher cipher, CryptoComponent crypto,
SecretOwnerTaskImpl(Provider<AuthenticatedCipher> cipherProvider, CryptoComponent crypto,
ClientHelper clientHelper) {
super(cipher, crypto);
super(cipherProvider, crypto);
this.clientHelper = clientHelper;
}