TSNSMessageVerifier
Class in AWS.SNS
Message verification class for Amazon SNS messages.
Ancestors
TObject
Constructors
Create
constructor Create(const AAllowInsecure: Boolean = False);
Constructor for TSNSMessageVerifier.
Parameters
| Name | Description |
|---|---|
AAllowInsecure | Allow insecure certificate sources. Leave. Do not change. Used for testing only. |
Methods
Authenticate
class function Authenticate(const AMessage: string; AAllowInsecure: Boolean = False): Boolean; overload; static;
Authenticates a message.
Parameters
| Name | Description |
|---|---|
AMessage | A string containing a JSON encoded SNS message to verify. |
AAllowInsecure | Allow insecure certificate sources. Leave. Do not change. Used for testing only. |
Returns
Boolean indicating the authenticity of the message.
IsAuthentic
function IsAuthentic(const AMessage: string): Boolean;
Authenticates a message.
Parameters
| Name | Description |
|---|---|
AMessage | A string containing a JSON encoded SNS message to verify. |
Returns
Boolean indicating the authenticity of the message.