SealdTmrRecipientsWithRightsArray_AddWithDefaultRights method
void
SealdTmrRecipientsWithRightsArray_AddWithDefaultRights()
SealdTmrRecipientsWithRightsArray_AddWithDefaultRights adds a recipient with default rights. SealdTmrRecipientsWithRightsArray_AddWithDefaultRights does not take ownership of the given strings and booleans. It creates copies for itself. Default rights are: read: true, forward: true, revoke: false
@param array The SealdTmrRecipientsWithRightsArray to add the recipients-rights pair to. @param authFactorType The type of authentication factor. 'EM' or 'SMS' @param authFactorValue The value of authentication factor. @param overEncryptionKey The TMR over-encryption key. This MUST be a cryptographically random buffer of 64 bytes. @param overEncryptionKeyLen The length of overEncryptionKey.
Implementation
void SealdTmrRecipientsWithRightsArray_AddWithDefaultRights(
ffi.Pointer<NativeSealdTmrRecipientsWithRightsArray> array,
ffi.Pointer<pkg_ffi.Utf8> authFactorType,
ffi.Pointer<pkg_ffi.Utf8> authFactorValue,
ffi.Pointer<ffi.Uint8> overEncryptionKey,
int overEncryptionKeyLen,
) {
return _SealdTmrRecipientsWithRightsArray_AddWithDefaultRights(
array,
authFactorType,
authFactorValue,
overEncryptionKey,
overEncryptionKeyLen,
);
}