Function dnstplib::processor::request::encryption::decode_key_request

source ·
pub fn decode_key_request(
    message: &DNSMessage,
) -> Result<KeySwapContext, DecodeKeyRequestError>
Expand description

Take a client’s handshake request, process the crypto and prepare a response

Includes generating a server key pair, using the public key in the response, deriving the shared secret.