Is there any way to extract a public pki key over ldap and
use it to sign a document?

Looking for a generic solution that will let me dynamically
retrieve the public key from a certificate and use java to
digitally sign a text string.

Regards,
Adam