--- title: "sign data()" slug: "basic-sign-data" updated: 2026-08-12T12:42:00Z published: 2026-08-12T12:42:00Z canonical: "docs.lobstersoftware.com/basic-sign-data" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # sign data() This function returns the signed data **a** by using charset **b**, certificate **c**, signature algorithm **d** and encoding **e**. If **f** is "true", the data **a** is added to the signed data. ## Parameters | Parameter | Description | | --- | --- | | a | Data to sign. | | b | (optional) Charset. Default: "8859_1". **NOTE:** Use the three dots to select a value. | | c | Certificate ID (Local certificate). **NOTE:** Use the three dots to select a value. | | d | (optional) Signature algorithm. Default: "SHA-1". **NOTE:** Use the three dots to select a value. | | e | (optional) Encoding. Default: "p7m". **NOTE:** Use the three dots to select a value. | | f | (optional) If "true", the data **a** is added to the signed data. Default: *true*. | A local certificate is held by the Lobster Data Platform itself. It contains the public key and the private key. This allows the Integration Server to identify itself to partners and sign or decrypt data. It can be managed through the REST API.