certificate.signXml(options)
The content in this help topic pertains to SuiteScript 2.0.
Method Description |
Signs the inputXml string using the certId. Formatting, such as line breaks, is disabled. |
Returns |
|
Supported Script Types |
Server scripts For additional information, see SuiteScript 2.x Script Types. |
Governance |
10 units |
Module |
|
Since |
2019.1 |
Parameters
The options
parameter is a JavaScript object.
Parameter |
Type |
Required / Optional |
Description |
---|---|---|---|
|
string |
required |
Input XML string |
|
string |
required |
Certificate ID |
|
string |
required |
The hash algorithm. Set this property using the certificate.HashAlg enum. |
|
string |
required |
Root tag of XML section to sign. |
|
string |
optional |
Tag where to insert the signature. |