messages.getDhConfig

Returns configuration parameters for Diffie-Hellman key generation. Can also return a random sequence of bytes of required length.

 Method schema is available as of layer 8. Switch ยป

Parameters

Name Type Description
version int Value of the version parameter from messages.dhConfig, available at the client
random_length int Length of the required random sequence

Result

messages.DhConfig

Possible errors

Code Type Description
400 RANDOM_LENGTH_INVALID Random length invalid.

Related pages

messages.dhConfig

New set of configuring parameters.