classify
fun classify(signature: ByteArray, publicKey: ByteArray, messageDigest: ByteArray): Secp256k1AuditVerdict
Classifies one persisted signature: does it verify, and if not, does it bear this defect's fingerprint? See the class KDoc for exactly what each Secp256k1AuditVerdict does and does not establish.
Parameters
signature
64-byte P1363 (r || s) secp256k1 signature.
publicKey
SEC 1-encoded point (65-byte uncompressed or 33-byte compressed).
messageDigest
the 32-byte digest the signature was computed over.
Throws
if signature is not 64 bytes, messageDigest is not 32 bytes, or publicKey is not a validly-encoded, on-curve secp256k1 point.