
com.quorum.tessera.enclave.rest.EnclaveApplication Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of enclave-jaxrs Show documentation
Show all versions of enclave-jaxrs 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.enclave.rest;
import com.quorum.tessera.config.AppType;
import com.quorum.tessera.config.CommunicationType;
import com.quorum.tessera.enclave.Enclave;
import com.quorum.tessera.enclave.EnclaveServer;
import jakarta.ws.rs.core.Application;
import java.util.Objects;
import java.util.Set;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class EnclaveApplication extends Application
implements com.quorum.tessera.config.apps.TesseraApp {
private static final Logger LOGGER = LoggerFactory.getLogger(EnclaveApplication.class);
private final Enclave enclave;
public EnclaveApplication() {
this(EnclaveServer.create());
}
public EnclaveApplication(Enclave enclave) {
LOGGER.debug("Create EnclaveApplication with {}", enclave);
this.enclave = Objects.requireNonNull(enclave);
}
@Override
public Set
© 2015 - 2025 Weber Informatics LLC | Privacy Policy