blob: 3c77c0a1def142a0350d335216cb7efe7b0f1820 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
package pl.edu.mimuw.cloudatlas.querysignerapi;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.security.PublicKey;
public interface QuerySignerApi extends Remote {
public byte[] signQuery(String queryName, String queryCode) throws RemoteException;
public String checkQuery(byte[] encryptedQuery, String queryName, String queryCode) throws RemoteException;
public PublicKey getPublicKey() throws RemoteException;
public void setPublicKey(PublicKey publicKey) throws RemoteException;
public byte[] getQuerySignature(String queryName) throws RemoteException;
}
|