pgp.parseMessage(options)

Note:

The content in this help topic pertains to SuiteScript 2.1.

Method Description

Parses a PGP message.

Returns

pgp.Message

Supported Script Types

Server scripts

Governance

None

Module

N/pgp Module

Sibling Module Members

N/pgp Module Members

Since

2022.2

Parameters

Parameter

Type

Required / Optional

Description

Since

options.value

string

required

ASCII armored representation of the message.

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 parse = pgp.parseMessage({ 
   value: message
});

...
// Add additional code 

          

Related Topics

General Notices