Skip to content

Function: decryptPushPayload() ​

ts
function decryptPushPayload(key, wire): IPushPayload | null;

Defined in: pushCrypto.ts:151

Open a push with this device's secret. null when it was not sealed with it, was altered, or is not a payload.

Parameters ​

ParameterType
keystring
wireunknown

Returns ​

IPushPayload | null

Released under the GNU Affero General Public License v3.0.