com.quorum.tessera.recovery.internal.RecoveryProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tessera-recover Show documentation
Show all versions of tessera-recover Show documentation
Tessera is a stateless Java system that is used to enable the encryption, decryption, and distribution of private transactions for Quorum.
package com.quorum.tessera.recovery.internal;
import com.quorum.tessera.data.staging.StagingEntityDAO;
import com.quorum.tessera.discovery.Discovery;
import com.quorum.tessera.enclave.PayloadEncoder;
import com.quorum.tessera.recovery.Recovery;
import com.quorum.tessera.recovery.resend.BatchTransactionRequester;
import com.quorum.tessera.transaction.TransactionManager;
public class RecoveryProvider {
public static Recovery provider() {
StagingEntityDAO stagingEntityDAO = StagingEntityDAO.create();
Discovery discovery = Discovery.create();
BatchTransactionRequester batchTransactionRequester = BatchTransactionRequester.create();
TransactionManager transactionManager = TransactionManager.create();
PayloadEncoder payloadEncoder = PayloadEncoder.create();
return new RecoveryImpl(
stagingEntityDAO, discovery, batchTransactionRequester, transactionManager, payloadEncoder);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy