Shankar,
These are digital certificate files. SSL/RSA stuff.
Lokper, you'll have to resort to some library, like OpenSSL. You can always buy some black boxed DLL and call its functions.
As a start, I suggest you get a look at Putty source, which is also open. C stuff, though.
Gustavo