Best practice for sending a signature hash between java & javascript?

Andy Bradford amb-plugg at bradfords.org
Thu Apr 17 21:37:08 MDT 2014


Thus said "S. Dale Morrey" on Thu, 17 Apr 2014 11:56:38 -0600:

> However when I send  the post request to the server,  I hex decode the
> strings back into byte arrays (for hash and sig) the sig comes back as
> invalid (does not conform to spec). Note that the sig is checked for a
> number of attributes such as a leading byte 0x30 etc. This is where it
> is failing.

What did it find instead of 0x30?

It sounds  like you're dealing  with transmitting essentially  raw bytes
between  potentially different  architectures... is  this an  endianness
problem?

Andy
-- 
TAI64 timestamp: 4000000053509e07




More information about the PLUG mailing list