tuweni / org.apache.tuweni.devp2p.v5.internal / DefaultAuthenticationProvider / authenticate

authenticate

@Synchronized fun authenticate(handshakeParams: HandshakeInitParameters): AuthHeader (source)

Overrides AuthenticationProvider.authenticate

Creates authentication header to initialize handshake process. As a result it creates an authentication header to include to udp message.

Parameters

handshakeParams - parameters for authentication header creation

Return
authentication header for handshake initialization