refresh method
Rotate shares (group key unchanged) → framed shares blob.
Implementation
@override
BuBytes refresh({
required List<int> sid,
required List<int> sharesBlob,
required List<int> seeds,
}) {
if (sid.isEmpty) {
throw CoreErrors.invalidOperationArguments(
'$_tag.refresh',
name: 'sid',
reason: 'session id must not be empty.',
);
}
if (sharesBlob.isEmpty) {
throw CoreErrors.invalidOperationArguments(
'$_tag.refresh',
name: 'sharesBlob',
reason: 'must not be empty',
);
}
return ApiValidate.call(
'$_tag.refresh',
() => inner.refresh(sid: sid, sharesBlob: sharesBlob, seeds: seeds),
);
}