pgp.parseMessage(options)
The content in this help topic pertains to SuiteScript 2.1.
Method Description |
Parses a PGP message. |
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 |
---|---|---|---|---|
|
string |
required |
ASCII armored representation of the message. |
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 parse = pgp.parseMessage({
value: message
});
...
// Add additional code