devp2p / org.apache.tuweni.devp2p.v5 / AuthenticationProvider / finalizeHandshake

finalizeHandshake

abstract fun finalizeHandshake(senderNodeId: Bytes, authHeader: AuthHeader): Unit (source)

Verifies, that incoming authentication header is valid via decoding authorization response and checking nonce signature. In case if everything is valid, it creates and stores session key

Parameters

senderNodeId - sender node identifier

authHeader - authentication header for verification