Jürgen Heiss wrote: > Sorry it was wrong to tell its didn't work. > I mean I don't know how to get the keypair. Finally I want to write the keypair into one file like mykey.pem. > Do you understand? xmlsec does not provide this functionality. Use the crypto library for this. Aleksey