Authenticates a message.
Parameters |
Description |
const AMessage: string |
A string containing a JSON encoded SNS message to verify. |
AAllowInsecure: Boolean = False |
Allow insecure certificate sources. Leave False. Do not change. Used for testing only. |
Boolean indicating the authenticity of the message.
Exceptions |
Description |
The message could not be verified or is not authentic. | |
An error occured fetching or loading the certificate. | |
An error occured loading the OpenSSL libraries. | |
An error occured verifying the message digest. |
Copyright © 2019-2021 Appercept Ltd. All rights reserved.
|