OpenSSL and CommonCrypto lib smime sign

Hi! I need to execute an openssl subcommand on an ios device.


openssl smime -sign -signer *certificate.cer* -inkey *miPrivateKey* -out *outFile* -in *inFile* 
-outform PEM -nodetach


The fact is I have tried to execute using openss raw functionsl but I don't which they are and run below the hood of openssl. I have tried to run openssl in eclipse, but failed to debug it.

So, Does anybody knows the way to execute this command using apple CommonCrypto or any other native apple library?


Thanks a lot for your time. I really appreciate it.


🙂