How to get detailed signature properties? Signature subject




In LCES process I need to know who signed the document. I can use "Verify PDF Signature" and decide validity of the signature and whether the document was signed. But I need to know certificate subject - DN, E-mail, and so.

What I am able to get is certificate encoded in DER form in byte array.

What I'm going to do is try ti use script component and write small script in java, that will decode x509 certificate and return data into string variables.

Is this the way? Or I can invoke external openssl command.

Any experience?

--- Jaroslav