> rc = xmlsec.xmlSecSimpleKeysStoreSave(keyStore, > 'c:/xmlsec/keys/savedKeysStore.xml', c_uint(65535)) > print 'xmlSecSimpleKeysStoreSave \t\tstatus code', rc c_uint(65535) is incorrect. Please set just private keys to be saved (xmlSecKeyDataTypePrivate define). Aleksey