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

id.unum.service.VerifierServiceInterface Maven / Gradle / Ivy

The newest version!
package id.unum.service;

import com.google.gson.JsonObject;
import id.unum.dto.*;
import id.unum.error.UnumError;
import id.unum.protos.crypto.v1.KeyPair;
import id.unum.types.EncryptedData;
import id.unum.types.dto.CredentialRequest;
import id.unum.types.dto.PresentationRequestEnriched;
import id.unum.types.dto.VersionInfo;

import java.util.Date;
import java.util.List;

public interface VerifierServiceInterface {
    Unum registerVerifier(String customerUuid, String url, String apiKey,
                                        List versionInfoList) throws UnumError;
    Unum sendRequest(String authToken, String verifier, List credentialRequests,
                                                                    String signingPrivateKey, String holderAppUuid,
                                                                    Date expiresAt, JsonObject metadata) throws UnumError;
    Unum verifyPresentation(String authToken, EncryptedData encryptedData, String verifierDid,
                                                   String encryptionKeyPair,
                                                   PresentationRequestEnriched presentationRequest) throws UnumError;
    Unum sendSms(String authToken, String to, String deeplink) throws UnumError;
    Unum sendEmail(String authToken, String to, String deeplink) throws UnumError;
    Unum checkCredentialStatus(String authToken, String credentialId) throws UnumError;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy