openpgp-example is an example that provides how to use multiple-key to encrypt the data and each private key can decrypt it.
Authors: Zilong Wang (zilong.wang.uk@gmail.com)
git clone https://github.com/wangzilong/openpgp-example.git
cd openpgp-example
mvn install
Pretty Good Privacy (PGP) is an encryption program that provides cryptographic privacy and authentication for data communication. PGP is used for signing, encrypting, and decrypting texts, e-mails, files, directories, and whole disk partitions and to increase the security of e-mail communications. Phil Zimmermann developed PGP in 1991.