certificate.createSigner(options)

Note:

The content in this help topic pertains to SuiteScript 2.0.

Method Description

Creates the signer object for signing plain strings.

Returns

certificate.Signer

Supported Script Types

Server scripts

For additional information, see SuiteScript 2.x Script Types.

Governance

10 units

Module

N/crypto/certificate Module

Since

2019.1

Parameters

Note:

The options parameter is a JavaScript object.

Parameter

Type

Required / Optional

Description

options.certId

string

required

The script ID of the digital certificate.

options.algorithm

string

required

The hash algorithm.

Set this property using the certificate.HashAlg enum.

Related Topics

General Notices