KeyProviderOptions constructor

KeyProviderOptions({
  1. required bool sharedKey,
  2. required Uint8List ratchetSalt,
  3. required int ratchetWindowSize,
  4. Uint8List? uncryptedMagicBytes,
  5. int failureTolerance = -1,
  6. int keyRingSize = 16,
  7. bool discardFrameWhenCryptorNotReady = false,
})

Implementation

KeyProviderOptions({
  required this.sharedKey,
  required this.ratchetSalt,
  required this.ratchetWindowSize,
  this.uncryptedMagicBytes,
  this.failureTolerance = -1,
  this.keyRingSize = 16,
  this.discardFrameWhenCryptorNotReady = false,
});