Contains C API definitions for "protect by template" label policy action. 
Gets a "protect by template" action's template ID. 
Gets double key encryption url.
Gets size of buffer required to store the double key encryption url.
Gets a "protect by template" action's whether or not it is double key.
- Parameters
- 
  
    | action | "protect by template" action |  | templateId | [Output] ID of template that defines protections |  | errorInfo | [Output] (Optional) Failure info if operation result is error |  
 
- Returns
- Result code indicating success or failure
- Parameters
- 
  
    | action | "protect by template" action |  | isDoubleKey | [Output] Whether or not this is a double key template |  | errorInfo | [Output] (Optional) Failure info if operation result is error |  
 
- Returns
- Result code indicating success or failure
- Parameters
- 
  
    | action | "protect by template" action |  | urlSize | [Output] Size of buffer to hold the url (in number of chars) |  | errorInfo | [Output] (Optional) Failure info if operation result is error |  
 
- Returns
- Result code indicating success or failure
- Parameters
- 
  
    | action | "protect by template" action |  | urlBuffer | [Output] Buffer the url will be copied into. |  | urlBufferSize | Size (in number of chars) of the urlBuffer. |  | actualUrlSize | [Output] Number of chars written to the buffer |  | errorInfo | [Output] (Optional) Failure info if operation result is error |  
 
- Returns
- Result code indicating success or failure
- Note
- If urlBuffer is null or insufficient, MIP_RESULT_ERROR_INSUFFICIENT_BUFFER will be returned and actualUrlSize will be set to the minimum required buffer size.
- If the template action is not double key then MIP_RESULT_ERROR_NOT_SUPPORTED_OPERATION will be returned