AWS.SNS.TSNSMessageVerifier.Authenticate

Authenticates a message.

class function Authenticate(const AMessage: string; AAllowInsecure: Boolean = False): Boolean; overload; static;
static __fastcall Boolean Authenticate(const AnsiString AMessage, Boolean AAllowInsecure = False);

File: AWS.SNS.pas 

Namespace: AWS.SNS 

Module: Appercept AWS SDK for Delphi 

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.