[xmlsec] Signing a string using xmlsec
Aleksey Sanin
aleksey at aleksey.com
Wed Jul 29 09:36:22 PDT 2009
I believe you want to do your own digital signature and xmlsec
implements XMLDsig standard. Thus, this is outside of the xmlsec
scope.
Aleksey
Frederic Aussenac wrote:
>
> Hello,
>
> I am currently wrting a program that should perform several operations
> in order to populate properly some fields of an XML message.
>
> a string is constructed by concatenating various functional fields.
> With SHA-1 algorithm, a 160-bit message digest of this string is produced.
> This digest is then encoded with my private key.
> The result is encoded using Base64 encoding...this produces my final
> electronic signature(a string of 176 characters)
>
>
> I have gone through the posts and the xmlsec documentation but i must
> admit i do not know which methods to use to obtain my expected result.
>
> Did someone already code a logic like this one ?
>
> Thanks in advance for your help,
> Rgds,
> Fred.
>
> *Frederic Aussenac**
> Software Engineer - Payment Platform*
> Reservation, Distribution & MBO
> Amadeus IT Group SA
> T: +33 (0)4 92 94 84 92
> faussenac at amadeus.com_
> __www.amadeus.com_ <http://www.amadeus.com/>
>
> Amadeus logo <www.amadeus.com>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> xmlsec mailing list
> xmlsec at aleksey.com
> http://www.aleksey.com/mailman/listinfo/xmlsec
More information about the xmlsec
mailing list