PGPPublicKeyRing from Bouncy Castle package

2007-08-21 Thread Sucharitha.X.Panthika
I am creating keys using gnupg command line and accessing the keys for my application using Bouncy Castle PGPPUblicKeyRing object reading the pubring.gpg file under user home directory. I have three different public keys one for app and one for web and one for local testing. When debug the PGPPu

Gnupg RSA encryption with Bouncy Castle provider

2007-06-28 Thread Sucharitha.X.Panthika
I have a problem reading the decrypted messages and the decryptStream.read() doesn't return me any bytes. See the code below that I used to encrypt data. I am writing data to file using the encryptStream returned by the following method. On the other hand when I write the content to the file w

Gnupg RSA encryption with Bouncy Castle provider

2007-06-28 Thread Sucharitha.X.Panthika
I have a problem reading the decrypted messages and the decryptStream.read() doesn't return me any bytes. See the code below that I used to encrypt data. I am writing data to file using the encryptStream returned by the following method. On the other hand when I write the content to the file w