pgp.createConfig(options)
The content in this help topic pertains to SuiteScript 2.1.
Method Description |
Creates a new pgp.Config object. A configuration object stores general configuration options that can be used for message decryption. |
Returns |
|
Supported Script Types |
Server scripts For more information, see SuiteScript 2.x Script Types. |
Governance |
None |
Module |
|
Sibling Module Members |
|
Since |
2022.2 |
Parameters
Parameter |
Type |
Required / Optional |
Description |
Since |
---|---|---|---|---|
|
boolean |
optional |
Enables decryption that is not secured with signing keys on configuration objects. Default value is |
2022.2 |
|
boolean |
optional |
Allows messages without integrity protection on configuration objects. Default value is |
2022.2 |
|
boolean |
optional |
Allows relaxed signature parsing for configuration objects. Default value is |
2022.2 |
Syntax
The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/pgp Module Script Samples.
// Add additional code
...
const config = pgp.createConfig()
...
// Add additional code