I am developing a tool in java (sort of like an SDK) which stores sensitive configuration (like api key) in a file. I saw about ProtectedData class of C# to acess DP