getSenderRatchetKey method

ECPublicKey getSenderRatchetKey()

Implementation

ECPublicKey getSenderRatchetKey() {
  try {
    return Curve.decodePoint(
        Uint8List.fromList(_sessionStructure.senderChain.senderRatchetKey),
        0);
  } on InvalidKeyException catch (e) {
    throw AssertionError(e);
  }
}