You can buy this project and download/modify it how often you want.
Examples of use of the org.bouncycastle.openpgp package.