| Function name | getResource(String did,String privateKey, String url) | 
    
        | Description | Access the Hub and read the specified resource. Users can directly access, third parties need to obtain authorization from the user to access. | 
    
   
         | Request Parameters | 
     
         | No. | Parameter | Type | Required | Description | 
     
         | 1 | uid | String | Y | ID in the Hub | 
  
     
         | 2 | privateKey | String | Y | Private key | 
 
     
         | 3 | url | String | Y | The path of the stored resource | 
                
     
         | Response Parameters | 
     
         | No. | Parameter | Type | Required | Description | 
     
     
         | 1 |  | QueryResourceResp | Y | Query result | 
 
     
         | QueryResourceResp | 
     
         | No. | Parameter | Type | Required | Description | 
 
     
         | 1 | content | String | Y | Ciphertext resource content | 
                     
     
         | 2 | key | String | Y | Ciphertext key |