BC 1,45 would probably be your best bet.
This is available on the BC ftp site or in the maven repository. Please note the BC FTP site does not support passive ftp.
I would recommend giving the new APIs a go though - the flavour of them is similar to what is described in the book with a few name changes, however they are considerably more powerful and flexible.
If you also read:
http://www.bouncycastle.org/wiki/dis...Version+2+APIs
http://www.bouncycastle.org/wiki/dis...1.47+and+later
You should find you are okay.
Regards,
David