SealdAnonymousTmrRecipientsArray_Get method
void
SealdAnonymousTmrRecipientsArray_Get(
- Pointer<
NativeSealdAnonymousTmrRecipientsArray> array, - int i,
- Pointer<
Pointer< authFactorType,Utf8> > - Pointer<
Pointer< authFactorValue,Utf8> > - Pointer<
Pointer< overEncryptionKey,Uint8> > - Pointer<
Int> overEncryptionKeyLen, - Pointer<
Int> recipientRightRead, - Pointer<
Int> recipientRightForward, - Pointer<
Int> recipientRightRevoke,
SealdAnonymousTmrRecipientsArray_Get returns the TMR recipient at position i.
The caller is responsible for calling free on the returned char** when no longer necessary.
@param array The SealdAnonymousTmrRecipientsArray from which to retrieve the recipient. @param i The position from which we want to retrieve the recipient. @param authFactorType A pointer to which to write the recipient authentication factor type at position i. @param authFactorValue A pointer to which to write the recipient authentication factor value at position i. @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 SealdAnonymousTmrRecipientsArray_Get(
ffi.Pointer<NativeSealdAnonymousTmrRecipientsArray> array,
int i,
ffi.Pointer<ffi.Pointer<pkg_ffi.Utf8>> authFactorType,
ffi.Pointer<ffi.Pointer<pkg_ffi.Utf8>> authFactorValue,
ffi.Pointer<ffi.Pointer<ffi.Uint8>> overEncryptionKey,
ffi.Pointer<ffi.Int> overEncryptionKeyLen,
ffi.Pointer<ffi.Int> recipientRightRead,
ffi.Pointer<ffi.Int> recipientRightForward,
ffi.Pointer<ffi.Int> recipientRightRevoke,
) {
return _SealdAnonymousTmrRecipientsArray_Get(
array,
i,
authFactorType,
authFactorValue,
overEncryptionKey,
overEncryptionKeyLen,
recipientRightRead,
recipientRightForward,
recipientRightRevoke,
);
}