Modules
Objects/Functions
SuiteScript 2.0
{Signer}.update({input: {string*},inputEncoding: {string}})
N/crypto/certificate Module
Signer.update()
Method Description:
Updates the input string to be signed. The string can be encoded.
Returns:
void
Supported Script Types:
Server scripts
For additional information, see SuiteScript 2.0 Script Types.
Governance:
None
Module:
N/crypto/certificate Module
Parent Object:
certificate.Signer
Sibling Object Members:
Signer Object Members
Since:
2019.1
Search NetSuite -
https://system.netsuite.com/app/help/helpcenter.nl?search=Signer.update(options)
Example:
// Code Example 1
//Add additional code
//...
var signer = certificate.createSigner({
certId: 'custcertificate1',
algorithm: 'SHA1'
});
signer.update("test");
var result = signer.sign();
//...
//Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_1547243336.html