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 bitmacOS Apple SiliconWindows 32 bitWindows 64 bitWindows ARM 64 bitLinux 32 bitLinux 64 bitLinux ARM 32 bitLinux ARM 64 bitiOS
See Also
EinhugurEd25519 Module