Version 1.5 of the C++ client fetches protected files, like the .NET and Python SDKs, and checks every file against the SHA-256 the server sends. Copy the new PwfClient.h and PwfClient.cpp from GitHub and rebuild; ServerPublicKey.h and ProductionPolicy.h are unchanged
GetResource(name)fetches a file by its name in the panel afterLoginorAccountLogin, and returns aPwfResourcewhosebytesare the file- A file that does not match its SHA-256 throws
PwfSecurityError ListResources()returns thenamesof the files this customer can fetch- A refusal (
NOT_FOUND,SESSION_EXPIRED,RATE_LIMITED) comes back as a failed reply, likeLogin. A call without a session throws - A reply to the file call may be up to 24 MB, since a 10 MB file is about 18 MB sealed. Every other call keeps the 4 MB limit