e-CryptIt Engine Xojo Plugin

EinhugurEd25519.BufferedVerify Method

Verifies message signature using public key. The buffered version is used to verify very long message such as whole file.

BufferedVerify(
   signature as String,
   publicKey as String) as VerifyBuffer

Parameters

signature
The signature to be verified.
publicKey
The public key to use to verify.

Returns

VerifyBuffer
Buffer object to use to stream the large message.

Remarks

Verify only needs to be streamed once, as opposed to the sign which need double streaming.

So verify process is as follows:
1. BufferedVerify.
2. buffer.Update in chunks as often as needed until your through the file.
3. buffer.Final.

This function can throw InvalidArgumentException if the keys are of incorrect size.

Supported Platforms:

  • macOS Intel 64 bit
  • macOS Apple Silicon
  • Windows 32 bit
  • Windows 64 bit
  • Windows ARM 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM 32 bit
  • Linux ARM 64 bit
  • iOS
  • See Also

    EinhugurEd25519 Module