maidsafe-archive / safe_app_nodejs

BSD 3-Clause "New" or "Revised" License
28 stars 23 forks source link

Add method to get encryption keys #347

Open b-zee opened 5 years ago

b-zee commented 5 years ago

As MutableData basically mirrors MDataInfo, could there be a method added to retrieve the encryption keys?

Perhaps not as a method, but as properties to the instance. Might as well offer name and type_tag as properties too. Also, getNameAndTag is asynchronous, but I see no reason for it to be.