pgp

How to replace Linq Cast expression ?

Question: I have some code for pgp encryption from here: http://blogs.microsoft.co.il/blogs/kim/archive/2009/01/23/pgp-zip-encrypted-files-with-c.aspx It has the below method, using some LINQ. I'm still on .NET 2.0 and can't switch higher, yet... How can I replace this expression with ordinary code? I don't really understand Linq, I g...

is it possible to create an ssl certificate out of a pgp public/private key ?

i have a pgp public/private (RSA) key pair that my friends trust. i have a webserver running and i'd like to generate an ssl certificate whose public key matches my pgp public key. does that make any sense ? is that possible ? is that safe ? ...