HandshakeState constructor

const HandshakeState({
  1. required Uint8List chainKey,
  2. required Uint8List handshakeHash,
  3. required XXHandshakeState state,
  4. SecretKey? cipherKey,
  5. int cipherNonce = 0,
  6. SecretKey? sendKey,
  7. SecretKey? recvKey,
  8. Uint8List? remoteEphemeralKey,
  9. Uint8List? remoteStaticKey,
})

Implementation

const HandshakeState({
  required this.chainKey,
  required this.handshakeHash,
  required this.state,
  this.cipherKey,
  this.cipherNonce = 0,
  this.sendKey,
  this.recvKey,
  this.remoteEphemeralKey,
  this.remoteStaticKey,
});