All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----cryptix.pgp.KeyStore | +----cryptix.pgp.KeyClient
Next version will cache keys, within and between sessions.
WebClient is the only class which currently extends this. Others
can be easily written - they simply need to implement the fetch()
function.
protected String serverName
protected int port
protected KeyClient(String name, int port_) throws IOException, UnknownHostException
public PublicKey getKey(String userName) throws IOException
public PublicKey getKey(EmailAddress address) throws IOException
public PublicKey getKey(EmailAddress address, KeyID keyID) throws IOException
public PublicKey getKey(KeyID keyID) throws IOException
public final String getUserName(KeyID keyID)
protected abstract PublicKey fetch(String userName) throws IOException
protected abstract PublicKey fetch(EmailAddress address, KeyID keyID) throws IOException
protected abstract PublicKey fetch(EmailAddress address) throws IOException
All Packages Class Hierarchy This Package Previous Next Index