Question

I used to do this in shell:

openssl smime -binary -sign -certfile WWDR.pem -signer passcertificate.pem -inkey passkey.pem -in manifest.json -out signature -outform DER -passin pass:12345
Was it helpful?

Solution

The command-line tool for OpenSSL just makes use of the OpenSSL library. As it is written in C, you can use it natively in your iOS project. It isn't included with iOS, but you can download the source code from here and compile it yourself, as it is open source.

Using the library natively will be much faster, and much more reliable.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top