Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface IVerificationContext

interface IVerificationContext
Extends com.amazon.apmf.IStandard Interface for verification context.

Methods

verify()

bool verify(u8[] message, u8[] signature)
Verify that the signature is valid and was signed by the key associated with this verification context.

Parameters

message
u8[] — Required The message that was signed.
signature
u8[] — Required The signature to verify.

Returns

bool True if the signature is valid and signed by the associated key, false otherwise.
Last modified on October 29, 2026