All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.quorum.tessera.recovery.internal.RecoveryProvider Maven / Gradle / Ivy

Go to download

Tessera is a stateless Java system that is used to enable the encryption, decryption, and distribution of private transactions for Quorum.

There is a newer version: 24.4.2
Show newest version
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