Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

ECKey.ES256Verify

Verifies the digital signature with ES256.

Component Version macOS Windows Linux Server iOS SDK
Sign 15.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "ECKey.ES256Verify"; ECKey; Data; DataEncoding; SignatureData { ; SignatureDataEncoding } )   More

Parameters

Parameter Description Example Flags
ECKey The reference number for the key. $Key
Data The data. "Hello World"
DataEncoding The text encoding for data parameter.
Default is UTF-8.
Pass base64 if the data is base64 encoded or pass hex if it is hex encoded.
"UTF8"
SignatureData The hex encoded signature. $sig
SignatureDataEncoding The text encoding for signature parameter.
Default is Base64.
Optional

Result

Returns OK or error.

Description

Verifies the digital signature with ES256.
We perform a hash with SHA256 of the data and verify the result.

See also

Release notes

Blog Entries

This function checks for a license.

Created 3th February 2025, last changed 11st April 2025


ECKey.ES256Sign - ECKey.Generate