# Ruby wrapper for xmlsec?

**URL:** <https://www.ruby-forum.com/t/ruby-wrapper-for-xmlsec/158350>\
**Category:** Ruby\
**Created:** [January 22, 2009, 11:18am UTC](https://www.ruby-forum.com/t/ruby-wrapper-for-xmlsec/158350 "2009-01-22T11:18:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![piegut](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/3d9bf3/32.png) [@piegut](https://www.ruby-forum.com/u/piegut)\
**Post date:** [January 22, 2009, 11:18am UTC](https://www.ruby-forum.com/t/ruby-wrapper-for-xmlsec/158350/1 "2009-01-22T11:18:26Z")

</div>

Hi All,

If there’s support for XML signing in Ruby out there, I can’t find it (&  
apparently neither can anyone on RailsForum  
([http://railsforum.com/viewtopic.php?id=26227](http://railsforum.com/viewtopic.php?id=26227)).

So, I was thinking of writing a Ruby wrapper for xmlsec  
([XML Security Library](http://www.aleksey.com/xmlsec/)). Nothing particularly fancy, to start  
with just exposing the functionality that I need (signing & verifying an  
entire XML document).

I do have a few questions though:

- Before I start tilting at this particular windmill, does anyone know  
of an existing xmlsec wrapper? I can’t find one myself but that’s no  
guarantee it doesn’t exist.

- Can anyone point me to a good, current, tutorial for creating Ruby  
Gems? A Google search turned up _many_ and I don’t know which are  
considered good by the Ruby community (I’m new to developing Gems but  
have been using Rails for a few years now).

TIA for any help.

Yours,  
Duncan B.

---

<div class="post-metadata">

**Author:** ![piegut](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/3d9bf3/32.png) [@piegut](https://www.ruby-forum.com/u/piegut)\
**Post date:** [August 6, 2009, 8:17am UTC](https://www.ruby-forum.com/t/ruby-wrapper-for-xmlsec/158350/2 "2009-08-06T08:17:43Z")

</div>

Duncan B. wrote:

> Hi All,
> 
> If there’s support for XML signing in Ruby out there, I can’t find it (&  
> apparently neither can anyone on RailsForum  
> ([http://railsforum.com/viewtopic.php?id=26227](http://railsforum.com/viewtopic.php?id=26227)).
> 
> So, I was thinking of writing a Ruby wrapper for xmlsec  
> ([http://www.aleksey.com/xmlsec/](http://www.aleksey.com/xmlsec/)). Nothing particularly fancy, to start  
> with just exposing the functionality that I need (signing & verifying an  
> entire XML document).
> 
> I do have a few questions though:
> 
> - Before I start tilting at this particular windmill, does anyone know  
> of an existing xmlsec wrapper? I can’t find one myself but that’s no  
> guarantee it doesn’t exist.
> 
> - Can anyone point me to a good, current, tutorial for creating Ruby  
> Gems? A Google search turned up _many_ and I don’t know which are  
> considered good by the Ruby community (I’m new to developing Gems but  
> have been using Rails for a few years now).
> 
> TIA for any help.
> 
> Yours,  
> Duncan B.

maybe a bit late but what about  
[http://wso2.org/](http://wso2.org/)

Regards  
Friedrich

---

<div class="post-metadata">

**Author:** ![piegut](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/3d9bf3/32.png) [@piegut](https://www.ruby-forum.com/u/piegut)\
**Post date:** [August 10, 2009, 7:09am UTC](https://www.ruby-forum.com/t/ruby-wrapper-for-xmlsec/158350/3 "2009-08-10T07:09:37Z")

</div>

> maybe a bit late but what about  
> [http://wso2.org/](http://wso2.org/)

Not too late … turns out that both that and XmlSig  
([http://sourceforge.net/projects/xmlsig](http://sourceforge.net/projects/xmlsig)) do what I want.
