id.unum.service.IssuerServiceInterface Maven / Gradle / Ivy
The newest version!
package id.unum.service;
import com.fasterxml.jackson.databind.node.ObjectNode;
import com.google.gson.JsonObject;
import id.unum.dto.RegisteredIssuer;
import id.unum.dto.Success;
import id.unum.dto.Unum;
import id.unum.enums.CredentialStatusOptions;
import id.unum.error.UnumError;
import id.unum.protos.issuer.v1.Issuer;
import id.unum.types.CredentialSubject;
import id.unum.types.dto.Credential;
import java.util.Date;
import java.util.List;
public interface IssuerServiceInterface {
Unum registerIssuer(String customerUuid, String apiKey) throws UnumError;
Unum issueCredential(String authToken, List types, String issuer, ObjectNode credentialSubject, String signingPrivateKey, Date expirationDate) throws UnumError;
Unum updateCredentialStatus(String authToken, String credentialId, CredentialStatusOptions status) throws UnumError;
}