Ok, I understand better. I've already created .gpg files but not .pem. It's OK then, i'll figure out how to create my keys with openssl. In my first question : > > here are several examples to sign or encrypt documents. > > But should I create the .c files or xmlsec does it for me? I meant : why creating .c files if I use xmlsec? Thanks Lionel