certificate.createVerifier(options)

Method Description

Creates the verifier object for verifying signatures of plain strings.

Returns

A Parameters object

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