dh_public_key_response_t

A Diffie-Hellman (DH) public key response.

Synopsis:

typedef struct dh_public_key_response {
    key_agree_request_e request_type ;
    unsigned int session_id ;
    unsigned int public_key_size ;
    unsigned char public_key [];
}dh_public_key_response_t;

Since:

BlackBerry 10.2.0

Data:

key_agree_request_e request_type
The request type, which is set to KEY_AGREE_REQUEST_DH_PUBLIC_KEY.
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 provider's public key.
unsigned char public_key[]
The public 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_DhPublicKey.