addMultipleTmrAccessesAsync method
Future<Map<String, SealdActionStatus> >
addMultipleTmrAccessesAsync(
- List<
SealdTmrRecipientWithRights> recipients
Add multiple TMR accesses to this session for the given authentication factors.
recipients
- The TMR recipients with their associated rights.
Returns a Map which gives the result of the adding as a SealdActionStatus for each of the added TMR recipients.
Implementation
Future<Map<String, SealdActionStatus>> addMultipleTmrAccessesAsync(
List<SealdTmrRecipientWithRights> recipients) {
final _TransferablePointer<NativeSealdEncryptionSession> tPtr = _ptr;
return compute(
(Map<String, dynamic> args) => SealdEncryptionSession._(tPtr)
.addMultipleTmrAccesses(args["recipients"]),
{"recipients": recipients});
}