certificate.Verifier

Note:

The content in this help topic pertains to SuiteScript 2.0.

Object Description

Object for verifying plain string signatures.

This object is returned by the certificate.createVerifier(options) method.

Supported Script Types

Server scripts

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

Module

N/crypto/certificate Module

Methods and Properties

Verifier Object Members

Since

2019.1

Syntax

Important:

The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/crypto/certificate Module Script Samples.

            //Add additional code
...
var verifier = certificate.createVerifier({
    certId: 'custcertificate1',
    algorithm: certificate.HashAlg.SHA256
});
verifier.update('test');
verifier.verify(result);
...
//Add additional code 

          

Related Topics

N/crypto/certificate Module
SuiteScript 2.x Modules
SuiteScript 2.x

General Notices