> From: Paul Meyer [mailto:[email protected]]
> 
> I'm relatively new to bouncy castle, so there may be something obvious
> I'm missing. For my project I need to be able to get and add PGP
> public keys to/from my RSA keyring file (generated by GnuPG) in string
> format using ID as the reference.
> 
> For the first step (getting a key), I've posted the code that I tried here:
> http://stackoverflow.com/questions/25468450/bouncycastle-c-sharp-
> publickey-different-than-gnupg
> 
> Can you help me with that?

If you're lucky, maybe somebody already knows that and will give you an answer. 
 But there's only one thing we all have in common on this list, and that is at 
least a little bit of knowledge of bouncycastle.

This is the sort of question, that when I can, I like to take as an exercise 
and see if I can figure it out.  Sometimes it can be very confusing and 
difficult to find the right classes or the right methods to pass the necessary 
types of objects around (often, there is more than one solution that works.)

Bouncy castle is huge, and not amazingly well documented.  I usually find 
answers by reading and stepping through source code and unit tests.  (Which is 
not as difficult as it sounds, since everything just straight up works so 
easily.)

But your question has two parts.  Only half is bouncycastle.  The other part is 
pgp keys, rsa keyring, generated by gnupg...  For me and a lot of other folks, 
that'll be a showstopper, because I'm certainly not going to learn all that in 
order to try answering the bouncycastle part of the question.

If you'd like, (and if you don't get an answer based on the question as it 
stands) you might just paste some exact step-by-step instructions that a person 
can brainlessly follow in order to recreate your working environment, in order 
to try seeing if we can help in some way.

Reply via email to