Class cryptix.pgp.PublicKeyRing
All Packages Class Hierarchy This Package Previous Next Index
Class cryptix.pgp.PublicKeyRing
java.lang.Object
|
+----cryptix.pgp.KeyStore
|
+----cryptix.pgp.KeyRing
|
+----cryptix.pgp.PublicKeyRing
- public class PublicKeyRing
- extends KeyRing
Represents a public keyring. Keys on it can be retrieved using the
getKey()
functions.
Copyright © 1995, 1996, 1997
Systemics Ltd
on behalf of the
Cryptix Development Team.
All rights reserved.
- Author:
- Mike Wynn, Ian Brown
-
PublicKeyRing()
-
-
PublicKeyRing(InputStream)
- Create a new public keyring object from
in
.
-
PublicKeyRing(String)
- Create a new public keyring object from the file
filename
.
-
getKey(EmailAddress)
- Retrieve a key by any of the e-mail addresses on it.
-
getKey(KeyID)
- Retrieve a key by its ID.
-
getKey(String)
- Retrieve a key by any of the user names on it.
-
init(PacketInputStream)
-
PublicKeyRing
public PublicKeyRing()
PublicKeyRing
public PublicKeyRing(InputStream in) throws IOException
- Create a new public keyring object from
in
.
PublicKeyRing
public PublicKeyRing(String filename) throws FileNotFoundException, IOException
- Create a new public keyring object from the file
filename
.
getKey
public PublicKey getKey(String username) throws IOException
- Retrieve a key by any of the user names on it.
- Overrides:
- getKey in class KeyStore
getKey
public PublicKey getKey(KeyID keyID) throws IOException
- Retrieve a key by its ID.
- Overrides:
- getKey in class KeyStore
getKey
public PublicKey getKey(EmailAddress address) throws IOException
- Retrieve a key by any of the e-mail addresses on it.
init
protected final void init(PacketInputStream reader) throws IOException
- Overrides:
- init in class KeyRing
All Packages Class Hierarchy This Package Previous Next Index