# OpenSSL help in Swift

**URL:** <https://forums.kodeco.com/t/openssl-help-in-swift/30082>\
**Category:** iOS\
**Created:** [May 24, 2017, 5:50pm UTC](https://forums.kodeco.com/t/openssl-help-in-swift/30082 "2017-05-24T17:50:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mostaza](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/mostaza/32/81494_2.png) [@mostaza](https://forums.kodeco.com/u/mostaza)\
**Post date:** [May 24, 2017, 5:50pm UTC](https://forums.kodeco.com/t/openssl-help-in-swift/30082/1 "2017-05-24T17:50:18Z")

</div>

Hi! I’m new to the forum and a fairly new iOS developer. I’m new to this community too!!  
I’m building an iOS app that communicates to the Argentinian TAX Department (US IRS, ARG AFIP), you communicate to its API with encrypted soap xml commands which are encrypted using openssl.  
I’m a beginner developer so I don’t understand a lot of security (although it does not seems hard) or scrips (don’t know what they are). I can run openssl in the terminal and get the result I want. To do that I have to run this command

```
openssl smime -sign -signer certificate.cer -inkey Mikey -out ticket.xml.cms -in testticket.xml -outform PEM -nodetach

```

I really don’t understand when people tell me about a _ **shell script to build openssl for iOS** _ or _ **you can try to write a wrapper for an openssl version** _ or _ **compile your own framework** _  
Could anyone tell me where I can find a good reference to this subject. Or an example to this.  
Can you give me any advice?

Thanks a lot for your time
