certificate.Signer

Object Description

Encapsulates a created signature (signer) for plain strings.

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

Supported Script Types

Server scripts

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

Module

N/crypto/certificate Module

Methods and Properties

Signer 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
...
// mySigner is a certificate.Signer object
var mySigner = certificate.createSigner({
    certId: 'custcertificate1',
    algorithm: certificate.HashAlg.SHA512
});
...
//Add additional code 

          

Related Topics

General Notices