SealdEncryptionSession_RevokeRecipients method
- Pointer<
NativeSealdEncryptionSession> es, - Pointer<
NativeSealdStringArray> recipientsIds, - Pointer<
NativeSealdStringArray> proxySessionsIds, - Pointer<
NativeSealdStringArray> symEncKeysIds, - Pointer<
NativeSealdStringArray> tmrAccessIds, - Pointer<
NativeSealdAuthFactorArray> tmrAccessAuthFactors, - Pointer<
Pointer< result,NativeSealdRevokeResult> > - Pointer<
Pointer< error,NativeSealdError> >
Revoke some recipients or proxy sessions from this session. If you want to revoke all recipients, see SealdEncryptionSession_RevokeAll instead. If you want to revoke all recipients besides yourself, see SealdEncryptionSession_RevokeOthers.
@param es The SealdEncryptionSession instance.
@param recipientsIds The Seald IDs of users to revoke from this session.
@param proxySessionsIds The IDs of proxy sessions to revoke from this session.
@param symEncKeysIds The IDs of symEncKeys to revoke from this session.
@param tmrAccessIds The IDs of tmrAccesses to revoke from this session.
@param tmrAccessAuthFactors The value of tmrAccesses to revoke from this session.
@param result A pointer to which to write the response.
@param error A pointer to a SealdError* where details will be stored in case of error.
@return Error code: -1 if an error happened, 0 for success.
Implementation
int SealdEncryptionSession_RevokeRecipients(
ffi.Pointer<NativeSealdEncryptionSession> es,
ffi.Pointer<NativeSealdStringArray> recipientsIds,
ffi.Pointer<NativeSealdStringArray> proxySessionsIds,
ffi.Pointer<NativeSealdStringArray> symEncKeysIds,
ffi.Pointer<NativeSealdStringArray> tmrAccessIds,
ffi.Pointer<NativeSealdAuthFactorArray> tmrAccessAuthFactors,
ffi.Pointer<ffi.Pointer<NativeSealdRevokeResult>> result,
ffi.Pointer<ffi.Pointer<NativeSealdError>> error,
) {
return _SealdEncryptionSession_RevokeRecipients(
es,
recipientsIds,
proxySessionsIds,
symEncKeysIds,
tmrAccessIds,
tmrAccessAuthFactors,
result,
error,
);
}