@Synchronized fun finalizeHandshake(senderNodeId: Bytes, authHeader: AuthHeader): Unit
(source)
Overrides AuthenticationProvider.finalizeHandshake
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