I have an SDK library written is C, the functions from which I want to call from a Java applet. Is this possible?

The SDK is for PGP and I want to create a DHTML through which I can create keys, etc.

Kind regards,

--
MarcV