Still now jce is very low level. Users of the API has to handle storing and retrieving keys. Having a filesystem based data store for the keys will enable ease of use.
Idea
KeyStore class with a path to the directory to store keys
Will cache all existing public key fingerprints, and UIDs at start. Can have a cache_refresh call.
Users can create new keys via store, it will handle storing of the key on the file system.
Have a PGPKey class, which can be retrieved from the KeyStore based on either fingerprint or UID
Let users use functions from either KeyStore or PGPKey for highlevel access.
Still now
jce
is very low level. Users of the API has to handle storing and retrieving keys. Having a filesystem based data store for the keys will enable ease of use.Idea
KeyStore
class with a path to the directory to store keysfingerprints
, andUID
s at start. Can have acache_refresh
call.PGPKey
class, which can be retrieved from theKeyStore
based on eitherfingerprint
orUID
KeyStore
orPGPKey
for highlevel access.