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.
Copyright © 1995-1997
Systemics Ltd on behalf of the
Cryptix Development Team.
All rights reserved.
$Revision: 1.1.1.1 $
fetch()
is overridden by child classes to provide the 'meat'
of these classes.
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
protected abstract PublicKey fetch(String userName) throws IOException
fetch()
is overridden by child classes to provide the 'meat'
of these classes.
protected abstract PublicKey fetch(EmailAddress address, KeyID keyID) throws IOException
protected abstract PublicKey fetch(EmailAddress address) throws IOException
public abstract String getUserName(KeyID keyID)
All Packages Class Hierarchy This Package Previous Next Index