pgp.Config
Note:
The content in this help topic pertains to SuiteScript 2.1.
Object Description |
Stores general configuration options that can be used for message decryption. Use the pgp.createConfig(options) method to create a new configuration object. |
Supported Script Types |
Server scripts For more information, see SuiteScript 2.x Script Types. |
Module |
|
Methods and Properties |
|
Since |
2022.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/pgp Module Script Samples.
// Add additional code
...
const config = pgp.createConfig({
allowInsecureDecryptionWithSigningKeys: true,
useRelaxedSignatureParsing: true
});
...
// Add additional code