cryptix.pgp
Class KeyStore
java.lang.Object
|
+--cryptix.pgp.KeyStore
- Direct Known Subclasses:
- KeyClient, KeyGlob, KeyRing
- public abstract class KeyStore
- extends java.lang.Object
Abstract base class for PGP keyrings and keyservers.
Copyright © 1995-1997
Systemics Ltd on behalf of the
Cryptix Development Team.
All rights reserved.
$Revision: 1.2 $
- Since:
- Cryptix 2.2 or earlier
- Author:
- Ian Brown
- See Also:
KeyRing
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeyStore
public KeyStore()
getKey
protected abstract PublicKey getKey(java.lang.String username)
throws java.io.IOException
getKey
protected abstract PublicKey getKey(KeyID keyID)
throws java.io.IOException
checkSignature
public final boolean checkSignature(Signature sig,
Certificate cert,
UserId username)
throws java.io.IOException
- Checks the signature sig on cert
and username using the keys in this keystore.
checkSignature
public static boolean checkSignature(KeyStore store,
Signature sig,
Certificate cert,
UserId username)
throws java.io.IOException
- Checks the signature sig on cert
and username using the keys in store.
checkSignature
public static boolean checkSignature(PublicKey key,
Signature sig,
Certificate cert,
UserId username)
throws java.io.IOException
- Checks the signature sig on key's cert
and username using the keys in store.