No that is not correct.   The correct input is called out in section 4.4.

You can also look at
https://github.com/jimsch/Examples/blob/master/ecdsa-examples/ecdsa-01.json
for the ToBeSign_hex field

jim

> -----Original Message-----
> From: COSE [mailto:[email protected]] On Behalf Of Lundblade, Laurence
> Sent: Monday, December 05, 2016 6:39 PM
> To: cose <[email protected]>
> Subject: [COSE] exact input to the sig computation
> 
> Can you confirm for me the input to the signature computation (e.g. ECDSA)
is
> the concatenation of the the bstr wrapped  protected headers and the bstr
> wrapped payload?  Pretty sure that's right, but it doesn't seem to be
explicit in
> the cose draft. Sorry if I missed it.
> 
> Thx
> 
> LL
> 
> _______________________________________________
> COSE mailing list
> [email protected]
> https://www.ietf.org/mailman/listinfo/cose

_______________________________________________
COSE mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/cose

Reply via email to