SealdRecipientsWithRightsArray_Get method
SealdRecipientsWithRightsArray_Get returns the user and its associated rights at position i.
For rights, returns -1 if rights are not set (using default rights).
The caller is responsible for calling free on the returned recipientId when no longer necessary.
@param array The SealdRecipientsWithRightsArray from which to retrieve the recipients-rights pair. @param i The position from which we want to retrieve the recipients-rights pair. @param recipientId A pointer to which to write the recipient id at position i. @param recipientRightRead A pointer to which to write the read right value at position i. @param recipientRightForward A pointer to which to write the forward right value at position i. @param recipientRightRevoke A pointer to which to write the revoke right value at position i.
Implementation
void SealdRecipientsWithRightsArray_Get(
ffi.Pointer<NativeSealdRecipientsWithRightsArray> array,
int i,
ffi.Pointer<ffi.Pointer<pkg_ffi.Utf8>> recipientId,
ffi.Pointer<ffi.Int> recipientRightRead,
ffi.Pointer<ffi.Int> recipientRightForward,
ffi.Pointer<ffi.Int> recipientRightRevoke,
) {
return _SealdRecipientsWithRightsArray_Get(
array,
i,
recipientId,
recipientRightRead,
recipientRightForward,
recipientRightRevoke,
);
}