Verifies a COSE_Sign1.
the COSE_Sign1 bytes
the public key
algorithms, those accepted
algorithms
{ alg, protectedHeader, unprotectedHeader, payload }
Error when it does not parse or verify
Verifies a COSE_Sign1.