Hi, When I generate signature i load private key using: key=3DxmlSecSimpleKeysMngrLoadPemKey(keysMngr, = private_key_file,password,NULL,1) The problem is if the private_key_file is encrypted with password then I = can't load the key. If the "private_key_file" hasn't password I have not = problems and I can load key. Program doesn't crashing only return key=3DNULL. Regards, lidia