A Diffie-Hellman (DH) shared secret response.
Synopsis:
typedef struct dh_shared_secret_response {
key_agree_request_e request_type ;
unsigned int session_id ;
unsigned int shared_secret_size ;
unsigned char shared_secret [];
}dh_shared_secret_response_t;
Data:
- key_agree_request_e request_type
- The request type, which is set to KEY_AGREE_REQUEST_DH_SHARED_SECRET.
- unsigned int session_id
- The session identifier, which is used for key and termination requests.
- unsigned int shared_secret_size
- The size (in bytes) of the shared secret key.
- unsigned char shared_secret[]
- The shared secret key.
Library:
libvpn_ext (For the qcc command, use the -l vpn_ext option to link against this library)
Description:
This type of response is returned to VPN_ExP_DhSharedSecret.