/// <summary> /// Get a handle to the entries associated with Mutable Data. /// </summary> /// <param name="mDataInfo">MDataInfo to access Mutable Data.</param> /// <returns>Handle to MDataEntries.</returns> public async Task <NativeHandle> GetHandleAsync(MDataInfo mDataInfo) { var handle = await AppBindings.MDataEntriesAsync(_appPtr, ref mDataInfo); return(new NativeHandle(_appPtr, handle, FreeAsync)); }
public Task <ulong> SerialisedSizeAsync(MDataInfo mDataInfo) { return(AppBindings.MDataSerialisedSizeAsync(_appPtr, ref mDataInfo)); }
public Task SetUserPermissionsAsync(MDataInfo mDataInfo, NativeHandle userSignPubKey, PermissionSet permissionSet, ulong version) { return(AppBindings.MDataSetUserPermissionsAsync(_appPtr, ref mDataInfo, userSignPubKey, ref permissionSet, version)); }
public Task MutateEntriesAsync(MDataInfo mDataInfo, NativeHandle entryActionsH) { return(AppBindings.MDataMutateEntriesAsync(_appPtr, ref mDataInfo, entryActionsH)); }
public Task PutAsync(MDataInfo mDataInfo, NativeHandle permissionsH, NativeHandle entriesH) { return(AppBindings.MDataPutAsync(_appPtr, ref mDataInfo, permissionsH, entriesH)); }
public Task <PermissionSet> ListUserPermissionsAsync(MDataInfo mDataInfo, NativeHandle userSignPubKey) { return(AppBindings.MDataListUserPermissionsAsync(_appPtr, ref mDataInfo, userSignPubKey)); }
public Task <List <MDataValue> > ListValuesAsync(MDataInfo mDataInfo) { return(AppBindings.MDataListValuesAsync(_appPtr, ref mDataInfo)); }
public Task <List <MDataKey> > ListKeysAsync(MDataInfo mDataInfo) { return(AppBindings.MDataListKeysAsync(_appPtr, ref mDataInfo)); }
public async Task <NativeHandle> ListPermissionsAsync(MDataInfo mDataInfo) { var handle = await AppBindings.MDataListPermissionsAsync(_appPtr, ref mDataInfo); return(new NativeHandle(_appPtr, handle, freeHandle => AppBindings.MDataPermissionsFreeAsync(_appPtr, freeHandle))); }
public Task <ulong> GetVersionAsync(MDataInfo mDataInfo) { return(AppBindings.MDataGetVersionAsync(_appPtr, ref mDataInfo)); }
public Task <(List <byte>, ulong)> GetValueAsync(MDataInfo mDataInfo, List <byte> key) { return(AppBindings.MDataGetValueAsync(_appPtr, ref mDataInfo, key)); }
public async Task <List <byte> > SerialiseAsync(MDataInfo mDataInfo) { var byteArray = await AppBindings.MDataInfoSerialiseAsync(ref mDataInfo); return(new List <byte>(byteArray)); }
public Task <List <byte> > EncryptEntryValueAsync(MDataInfo mDataInfo, List <byte> inputBytes) { return(AppBindings.MDataInfoEncryptEntryValueAsync(ref mDataInfo, inputBytes)); }
public Task <List <byte> > DecryptAsync(MDataInfo mDataInfo, List <byte> cipherText) { return(AppBindings.MDataInfoDecryptAsync(ref mDataInfo, cipherText)); }