|
From: Edwin W. <ed...@wo...> - 2005-11-30 19:57:12
|
> I would like to store created keys through PGP. What are different types
> of storage types? I am right now looking at a keystore? However java
> keystore only supports PKCS12 and JKS types with X.509 certificates.
Have a look at the CreateKeyRing and ReadKeyRingSignKey examples. Also,
check the documentation of cryptix.pki.ExtendedKeyStore
In short: you can get a keystore from
ExtendedKeyStore.getInstance("OpenPGP/KeyRing"). For protection, the secret
keys are automatically only stored in an encrypted format. This is done by
the PGPPrivateKey itself.
--
Edwin
|