Yes, you can encrypt a file to multiple recipients using the class/method below:
org.bouncycastle.openpgp.PGPEncryptedDataGenerator.addMethod(PGPPublicKey
publicKey)
Such an encrypted file can be decrypted using any of the corresponding
private keys.
Sai Pullabhotla
www.jMethods.com
On Fri, Oct 9, 2009 at 11:35 AM, Viet H. Phan <
hoangvietphan@...> wrote:
>
> Hi Experts,
>
> Does BCPG support encryption and decryption for multiple recipients? The BCPG APIs doesn't seem to support that.
>
> Thanks for your helps,
> Viet
>