Class cryptix.pgp.KeyStore
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class cryptix.pgp.KeyStore

java.lang.Object
   |
   +----cryptix.pgp.KeyStore

public class KeyStore
extends Object
Abstract base class for PGP keyrings and keyservers.


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

Author:
Ian Brown
See Also:
KeyServer

Constructor Index

 o KeyStore()

Method Index

 o checkSignature(KeyStore, Signature, Certificate, UserId)
Check the signature sig on cert and username using the keys in store.
 o checkSignature(PublicKey, Signature, Certificate, UserId)
Check the signature sig on key's cert and username using the keys in store.
 o checkSignature(Signature, Certificate, UserId)
Check the signature sig on cert and username using the keys in this keystore.
 o getKey(KeyID)
 o getKey(String)

Constructors

 o KeyStore
  public KeyStore()

Methods

 o getKey
  protected abstract PublicKey getKey(String username) throws IOException
 o getKey
  protected abstract PublicKey getKey(KeyID keyID) throws IOException
 o checkSignature
  public final boolean checkSignature(Signature sig,
                                      Certificate cert,
                                      UserId name) throws IOException
Check the signature sig on cert and username using the keys in this keystore.
 o checkSignature
  public final static boolean checkSignature(KeyStore store,
                                             Signature sig,
                                             Certificate cert,
                                             UserId name) throws IOException
Check the signature sig on cert and username using the keys in store.
 o checkSignature
  public final static boolean checkSignature(PublicKey key,
                                             Signature sig,
                                             Certificate cert,
                                             UserId name) throws IOException
Check the signature sig on key's cert and username using the keys in store.

All Packages  Class Hierarchy  This Package  Previous  Next  Index