Modules

filter

 

Objects/Functions

module (N/https)

SuiteScript 2.0

https.createSecureKey.promise(options)

// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=https.createSecureKey.promise(options) for more information.

N/https Module
https.createSecureKey.promise()
Method Description: Creates and returns a crypto.SecretKey Object asynchronously. The parameters and errors thrown for this method are the same as those for https.createSecureKey(options). For more information on promises, see Promise Object.
Returns: Promise Object
Synchronous Version: https.createSecureKey(options)
Supported Script Types: Client scripts For more information, see SuiteScript 2.0 Client Script Type.
Governance: None
Module: N/https Module
Since: 2015.2
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=https.createSecureKey.promise(options)

Example:

// Code Example 1
// Add additional code
//...
var secretKey = https.createSecretKey.promise({
encoding: https.Encoding.HEX,
guid: '284CFB2D225B1D76FB94D150207E49DF'
});

//...
// Add additional code

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