received

fun received(value: BdecodeNode, publicKey: ByteArray, seq: Long, signature: ByteArray, salt: ByteArray = DhtItems.EMPTY): MutableItem?

Rebuild a mutable item received over the wire, verifying its signature. This ports bool item::assign(bdecode_node const& v, salt, seq, pk, sig), which returns false (here: null) when verification fails.

value is the parsed v node; its BdecodeNode.dataSection is the exact bencoding that was signed, so the signature round-trips.