Encrypt/decrypt file using provided public/primary key. Allow setting also other as for missing MCP record etc. for higher compatibility with some old software we need to deal with sometimes