All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----is.logi.crypto.Crypto | +----is.logi.crypto.keys.KeyRing
A database key-source would be more appropriate for large collections of keys, but hasn't been written yet. An interface to a key-server would be more appropriate for really huge key collections but will have to wait even longer.
The CDS for a KeyRing object is KeyRing(k1,k2,...,kn)
with n
>=0 and each ki
the CDS for a
KeyRecord or Key object.
k
into the KeyRing.
k
into the KeyRing.
public KeyRing()
public static KeyRing parseCDS(String arg) throws InvalidCDSException
A valid CDS can be created by calling the KeyRing.toString() method.
public String toString()
public void insert(Key k)
k
into the KeyRing. It will be wrapped in
a KeyRecord containing empty strings and no certificates.
public void insert(KeyRecord kc)
k
into the KeyRing.
public KeyRecord byFingerprint(Fingerprint fingerprint)
fingerprint
must be
created with the same algorithm as the the Key object uses, which
will be SHA1 for the Key classes included with Crypto.
All Packages Class Hierarchy This Package Previous Next Index