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

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

The newest version!
package id.unum.service;


//import id.unum.dto.DidDocument;
import id.unum.dto.Unum;
import id.unum.error.UnumError;
import id.unum.protos.crypto.v1.PublicKeyInfo;
import id.unum.protos.didDocument.v1.DidDocument;

import java.util.List;

public interface DidDocServiceInterface {
    Unum getDidDocPublicKeyInfoByKeyId(String authToken, String didWithKeyId);
    Unum getDIDDoc(String authToken, String did) throws UnumError;

    List getKeysFromDIDDoc(DidDocument document, String type);

    PublicKeyInfo getKeyFromDIDDoc(DidDocument document, String type);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy