From: snacktime Date: 2006-10-11T06:42:21+09:00 Subject: Re: Ruby and XML Security On 10/10/06, Damjan Rems wrote: > > Is it possible with Ruby to go through XML security process. > > - read x509 private key > - read receiver x509 public key > - encrypt message with private key > - encrypt message with public key > - sign message > > I guess first 4 steps could be made with openSSL library (found example > in forum) but how to create a signature. > > I would realy like to see some example code. You might want to repost this with an appropriate subject, it has nothing to do with XML. Look in the ruby source at the tests for openssl, it has examples there. I can't remember off the top of my head how to create the signature. Chris