---
sourceDocument: Australia Platform security
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/platform-security

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia Platform security

ft:clusterId :

    - psec

bundleId :

    - psec

workflow :

    - Platform


---

# Encryption rule objects and APIs

# Encryption rule objects and APIs {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 30. Juni 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 Minute Lesedauer

Use encryption rule APIs to parse and encrypt values in requests moving through the Edge Encryption proxy server to the
instance.

The APIs available for your encryption rule depend on the format of the request object. For
example, if the contentType parameter of the request object is XML, you can use the [XML APIs](https://servicenow-prod.fluidtopics.net/T6uDP8eUQs9E51Y_lePZPg "XML APIs can be used after calling getAsXmlContent() on either the request object or a ParameterValue property.") to parse and encrypt values in the payload. After you
determine the type of object in your request, you can build an encryption rule using the
available APIs.

Encryption rule APIs are available in both encryption rule condition and action scripts.
* **[request](https://servicenow-prod.fluidtopics.net/CR6Fv3~bLOAJfQjIcmGTgg#c_requestAPI)**   
  The request object is a global object available in Edge Encryption rule action and condition scripts.
* **[POST and URL parameter APIs](https://servicenow-prod.fluidtopics.net/10kohEAkxSXxRGanrKZung#param-apis)**   
  POST and URL parameters can be accessed as properties of the request object using `request.postParams` and `request.urlParams`.
* **[XML APIs](https://servicenow-prod.fluidtopics.net/T6uDP8eUQs9E51Y_lePZPg)**   
  XML APIs can be used after calling getAsXmlContent() on either the request object or a ParameterValue property.
* **[JSON APIs](https://servicenow-prod.fluidtopics.net/XStZ1eaONPuRhW1Lx0LVtQ)**   
  JSON APIs can be used after calling getAsJsonContent() on either the request object or a ParameterValue property.
* **[print(String message)](https://servicenow-prod.fluidtopics.net/w9Zly~62s_fNxMO08bEIbA)**   
  Prints a message to the wrapper log file: \<proxy server directory\>/logs/wrapper_\<date\>.log.
* **[Prohibited keywords](https://servicenow-prod.fluidtopics.net/d7lvJL8Bw1mwqvZSKEjRbg)**   
  The Edge Encryption proxy validates encryption rule scripts before saving the rule. Many JavaScript keywords aren't allowed in encryption rule scripts.

