A Diffie-Hellman (DH) shared secret request.
Synopsis:
typedef struct dh_shared_secret_request {
key_agree_request_e request_type ;
unsigned int session_id ;
unsigned int public_key_size ;
unsigned char public_key [];
}dh_shared_secret_request_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 public_key_size
- The size (in bytes) of the gateway's public key.
- unsigned char public_key[]
- The public key from the gateway.
Library:
libvpn_ext (For the qcc command, use the -l vpn_ext option to link against this library)
Description:
This type of request is sent by VPN_ExP_DhSharedSecret.