cryptix.pgp
Class WebClient

java.lang.Object
  |
  +--cryptix.pgp.KeyStore
        |
        +--cryptix.pgp.KeyClient
              |
              +--cryptix.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

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.
Overrides:
fetch in class KeyClient

fetch

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

fetch

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

fetch

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

getUserName

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