Вопрос

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
Это было полезно?

Решение

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top