Checks a COSE_Sign1's signature over its Sig_structure.
the COSE algorithm identifier
the public key, in any form verifyCoseSignature() reads
verifyCoseSignature()
the encoded protected header
the payload
the signature
external, the external additional authenticated data
external
true when it verifies
Checks a COSE_Sign1's signature over its Sig_structure.