The ciphersuite type
Get the current validity expectation.
Get the message.
Get the verifying key.
Get the ciphersuite.
StaticcreateCreate a new SignatureCase. Generates a random signing key, signs the message, and creates an invalid verifying key for testing the ChangePubkey tweak.
A new SignatureCase
Check that signature verification succeeds or fails, as expected.
This method exercises the round-trip serialization/deserialization code paths for both signatures and verifying keys.
true if the verification result matches the expected validity
Apply the given tweak to the signature test case.
The modification to apply
A signature test-case, containing signature data and expected validity. Ported from SignatureCase struct in proptests.rs
This class encapsulates a message, signature, and verifying key, along with methods to apply "tweaks" that should invalidate the signature. The check() method verifies that the signature verification result matches expectations.