libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ mobileactivation_create_activation_info_with_session()

mobileactivation_error_t mobileactivation_create_activation_info_with_session ( mobileactivation_client_t  client,
plist_t  handshake_response,
plist_t *  info 
)

Retrieves the activation info required for device activation in 'session' mode.

This function expects a handshake result retrieved from https://albert.apple.com/deviceservies/drmHandshake with a blob provided by mobileactivation_create_activation_session_info().

Parameters
clientThe mobileactivation client @aram handshake_response The handshake response returned from drmHandshake
infoPointer to a plist_t variable that will be set to the activation info created by the mobileactivation service. The consumer is responsible for freeing the returned object using plist_free().
Returns
MOBILEACTIVATION_E_SUCCESS on success, or an MOBILEACTIVATION_E_* error code otherwise.