Modules

filter

 

Objects/Functions

module (N/crypto)

SuiteScript 2.0

crypto.SecretKey

// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=crypto.SecretKey for more information.

N/crypto Module
crypto.SecretKey
Object Description: Encapsulates the handle to the key. The handler does not store the key value. It points to the key stored within the NetSuite system. The GUID is also required to find the key. For a complete list of this object’s methods and properties, see SecretKey Object Members.
Supported Script Types: Server-side scripts For additional information, see SuiteScript 2.0 Script Types.
Module: N/crypto Module
Since: 2015.2
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=crypto.SecretKey

Example:

// Code Example 1
//Add additional code
//...
var sKey = crypto.createSecretKey({
guid: '284CFB2D225B1D76FB94D150207E49DF',
encoding: encode.Encoding.UTF_8
});
//...

//Add additional code

//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4358620976.html