keygen/src/iam.c
/**
 * ep_auth_resp_set_ecdsa() - Helper function to ep_auth_resp_unmarshal
 * @active_credentials: The active credentials portion of XIAMs return
 * @ep_ret: The return data structure
 *
 * Return: None
 */
Helper function to ep_auth_resp_unmarshal
@active_credentials: The active credentials portion of XIAMs return
@ep_ret: The return data structure

None
Helper function to ep_auth_resp_unmarshal @active_credentials : The active credentials portion of XIAMs return @ep_ret : The return data structure None
static void ep_auth_resp_set_ecdsa(json_t *active_credentials, struct iam_endpoint *ep_ret)
{
    ep_ret->type = EP_ECDSA;
    strcpy(ep_ret->active_credentials.ecdsa.type, type_ecdsa_p256);
    ep_ret->active_credentials.ecdsa.key = new_json_str(json_object_get(active_credentials, "key"));
    ep_ret->active_credentials.ecdsa.creation_timestamp =
            new_json_str(json_object_get(active_credentials, "creation_timestamp"));
}
static void ep_auth_resp_set_ecdsa ( json_t * active_credentials , struct iam_endpoint * ep_ret ) { ep_ret -> type = EP_ECDSA ; strcpy ( ep_ret -> active_credentials . ecdsa . type , type_ecdsa_p256 ) ; ep_ret -> active_credentials . ecdsa . key = new_json_str ( json_object_get ( active_credentials , " " ) ) ; ep_ret -> active_credentials . ecdsa . creation_timestamp = new_json_str ( json_object_get ( active_credentials , " " ) ) ; }
ep_auth_resp_set_ecdsa() - Helper function to ep_auth_resp_unmarshal
 @active_credentials: The active credentials portion of XIAMs return
 @ep_ret: The return data structure
ep_auth_resp_set_ecdsa () - Helper function to ep_auth_resp_unmarshal @active_credentials : The active credentials portion of XIAMs return @ep_ret : The return data structure