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

com.quorum.tessera.recovery.resend.ResendResponse 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.resend;

import com.quorum.tessera.enclave.EncodedPayload;

public interface ResendResponse {

  EncodedPayload getPayload();

  class Builder {

    private EncodedPayload payload;

    private Builder() {}

    public static Builder create() {
      return new Builder();
    }

    public Builder withPayload(EncodedPayload payload) {
      this.payload = payload;
      return this;
    }

    public ResendResponse build() {
      return new ResendResponse() {
        @Override
        public EncodedPayload getPayload() {
          return payload;
        }
      };
    }
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy