DklsKeyshare.fromBytes constructor

DklsKeyshare.fromBytes(
  1. Iterable<int> bytes
)

Create DklsKeyshare using bytes

Implementation

factory DklsKeyshare.fromBytes(Iterable<int> bytes) {
  final bytesBuffer = utils.allocateTssBufferFromBytes(bytes);
  final handle = ctss_wrapper.dklsKeyshareFromBytes(bytesBuffer);
  return DklsKeyshare(handle);
}