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 or secret is also required to find the key. |
Supported Script Types |
Server scripts For additional information, see SuiteScript 2.x Script Types. |
Module |
|
Methods and Properties |
|
Since |
2015.2 |
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 Module Script Samples.
//Add additional code
...
var sKey = crypto.createSecretKey({
guid: '284CFB2D225B1D76FB94D150207E49DF',
encoding: encode.Encoding.UTF_8
});
...
//Add additional code