verify

fun verify(jsonBytes: ByteArray, signatureBytes: ByteArray): Boolean(source)

Verify the signature of a log list JSON.

Return

true if the signature is valid

Parameters

jsonBytes

The raw JSON bytes of the log list

signatureBytes

The signature bytes (from the .sig file)