[strongSwan] How to use the strongswan library as API calls to strongswan so

Andreas Steffen andreas.steffen at hsr.ch
Fri May 7 16:52:14 CEST 2010


Hi,
As you might have noticed in the strongswan-4.4.0 release all IKEv2 functionality is now in the libcharon library and the charon daemon is just a rump process. Thus it should be easy to write an application yourself using the libcharon, libhydra, and libstrongswan. It is also possible to integrate the plugins monolithically into their corresponding libraries.

Concerning the APIs you have to consult the header files and the architecture information offered by the wiki.

Regards

Andreas

----- Ursprüngliche Mitteilung -----
> Hi
>
> 
>
> My question is specific to the usage of the strongswan shared object
> which is generated after the build.
>
> 
>
> All the documentation I see in the website is for using the strongswan
> command line utility only and for the IKE daemons but I also wanted to
> explore If I can use the strongswan defined API in the so library in my
> code to do all the functionality supported by the tool or to do some
> stuff like encrypting / decryption of packets etc.  .
>
> 
>
>  I do not see any documentation related to this so can you plz clarify
> if this is possible / advisable and if yes then is there any
> documentation or any hint  of starting point to explore the APIs that
> you can provide.
>
> 
>
> Many Thanks
>
> Shyam     
>
>
> Please do not print this email unless it is absolutely necessary.
>
> The information contained in this electronic message and any attachments to this
> message are intended for the exclusive use of the addressee(s) and may contain
> proprietary, confidential or privileged information. If you are not the intended
> recipient, you should not disseminate, distribute or copy this e-mail. Please
> notify the sender immediately and destroy all copies of this message and any
> attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient should
> check this email and any attachments for the presence of viruses. The company
> accepts no liability for any damage caused by any virus transmitted by this
> email.
>
> www.wipro.com





More information about the Users mailing list