The implementation which allowed to sign the digests was removed in #100 in favor of passing raw content.
There are some cases when the user does not have content:
- for verification - only the digest is obtained from the Merkle tree, the user does not see the content
- for signing of sensitive content when only the digest is known, eg client constructs
toBeSigned, creates a hash and sends to a service
- for cose receipts (eg scitt receipts) where the structure
toBeSigned is slightly different to the cose one
Is there a chance to extend the interfaces Signer and Verifier to allow digests again, similar to ecdsa.Sign and ecdsa.VerifyASN1?