cryptix.pgp
Class WebClient

java.lang.Object
  extended bycryptix.pgp.KeyStore
      extended bycryptix.pgp.KeyClient
          extended bycryptix.pgp.WebClient

public final class WebClient
extends KeyClient

DOCUMENT ME.


Copyright © 1995-1997 Systemics Ltd on behalf of the Cryptix Development Team. All rights reserved.

$Revision: 1.2 $

Author:
Ian Brown

Field Summary
 
Fields inherited from class cryptix.pgp.KeyClient
port, serverName
 
Constructor Summary
WebClient(java.lang.String name, int port, java.lang.String path)
           
 
Method Summary
protected  PublicKey fetch(EmailAddress address)
           
protected  PublicKey fetch(EmailAddress address, KeyID keyID)
          WebClient doesn't need an address as it queries a master keyserver.
protected  PublicKey fetch(KeyID keyID)
           
protected  PublicKey fetch(java.lang.String userName)
          Called by KeyClient.getKey() to fetch a key using a specific protocol.
 java.lang.String getUserName(KeyID keyID)
           
 
Methods inherited from class cryptix.pgp.KeyClient
getKey, getKey, getKey, getKey
 
Methods inherited from class cryptix.pgp.KeyStore
checkSignature, checkSignature, checkSignature
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebClient

public WebClient(java.lang.String name,
                 int port,
                 java.lang.String path)
          throws java.io.IOException,
                 java.net.UnknownHostException
Method Detail

fetch

protected PublicKey fetch(java.lang.String userName)
                   throws java.io.IOException
Called by KeyClient.getKey() to fetch a key using a specific protocol. Should NOT be called directly - this would bypass checks and caching.

Specified by:
fetch in class KeyClient
Throws:
java.io.IOException

fetch

protected PublicKey fetch(EmailAddress address,
                          KeyID keyID)
                   throws java.io.IOException
WebClient doesn't need an address as it queries a master keyserver.

Specified by:
fetch in class KeyClient
Throws:
java.io.IOException

fetch

protected PublicKey fetch(EmailAddress address)
                   throws java.io.IOException
Specified by:
fetch in class KeyClient
Throws:
java.io.IOException

fetch

protected PublicKey fetch(KeyID keyID)
                   throws java.io.IOException
Throws:
java.io.IOException

getUserName

public java.lang.String getUserName(KeyID keyID)
Specified by:
getUserName in class KeyClient