Hi  all,

 

I have an application which already establishes SSL Socket connection using
OpenSSL as lib. Now, my application needs to able the user create a RSA key
pair, sign documents and verify signatures. This it will be needed in some
features of my application, managed by user for signing docs and verifying
signatures. 

 

The point is not do this by prompt because it will force install openssl in
all computer which the application is installed. The idea is call some
function from Openssl lib already imported by my application in order to
create and use key pair.

 

My question is, what's the better (or easier) way to make it happen? 

 

I'm thinking in call the function which the openssl prompt calls, then,
Openssl lib will generate and store the key already in pem format, into a
directory specified by application. The same about sign docs and verify
signatures.

 

Other way it would be to call rsa functions directly and code it for pem
format. 

 

I have no idea which one is easier or better. I'm reading openssl docs and
source code, but I'm still a bit lost how to make it works. 

 

I really appreciate any help on it.

 

Leonardo 

Reply via email to