aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/thialfihar/android/apg/KeyServer.java
blob: 25ff2614479f35dfbea12f057102b1ab12e9ba9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package org.thialfihar.android.apg;

import java.io.IOException;
import java.io.Serializable;
import java.net.MalformedURLException;
import java.util.Date;
import java.util.List;
import java.util.Vector;

public abstract class KeyServer {
    static public class KeyInfo implements Serializable {
        private static final long serialVersionUID = -7797972113284992662L;
        Vector<String> userIds;
        String revoked;
        Date date;
        String fingerPrint;
        long keyId;
        int size;
        String algorithm;
    }
    abstract List<KeyInfo> search(String query) throws MalformedURLException, IOException;
    abstract String get(long keyId) throws MalformedURLException, IOException;
}