Re: Sign w/ BSafe; Verify w/ MS Crypto; Error: Invalid Signature

From: Pieter Philippaerts (Pieter_at_nospam.mentalis.org)
Date: 12/19/03


Date: Fri, 19 Dec 2003 03:16:14 +0100


"Daniel McGloin" <dmcgloin@san.rr.com> wrote
> Perhaps I am wrong or confused about this. So just in case, I tried
> flipping the bytes as though it was an array of 2 byte integers - then
> I tried this as though it was an array of 4 byte integers. But it
> still doesn't work :(.

Try reversing the array as a whole. This step is necessary to do .NET <->
CAPI interop [.NEt is big endian, CAPI little endian], so it may be
necessary in your case too.

Regards,
Pieter Philippaerts
Managed SSL/TLS: http://www.mentalis.org/go.php?sl



Relevant Pages

  • Re: FloatToStr Reals and whole numbers on XP
    ... - Bit order when writing a hexadecimal constant. ... Endian when writing a multibye quantity as an array of bytes. ...
    (comp.lang.pascal.delphi.misc)
  • Re: Converting to big -endian
    ... array an looped backwards then use the bitocnverter with the proper index. ... r u the same Kevin Spencer from takempis.com? ... Convert.ToUint16 only does extension and signed/unsigned conversion. ... a little endian machine ...
    (microsoft.public.dotnet.framework)
  • Re: Byte
    ... nur in Java nicht). ... da kann ich doch auch gleich die Intziffer in ein Byte Array umwandeln, ... Jede Intziffer ist äquivalent zu ihrer Hexziffer 0-9, ... - binär big Endian, little Endian, BCD, ... ...
    (de.comp.lang.java)
  • Re: Looking for a better way to do this
    ... I thought VB6 stored in Little Endian, ... is there actually an API call to swap Endians? ... (And check into whether it can work directly on the Variant array or if I wanna pull it out into a byte array or whatever.) ... Private Function CVSAs String ...
    (microsoft.public.vb.general.discussion)
  • Re: Question about 2D VB arrays
    ... argue the morality of 'little endian' over 'big endian'. ... block of memory - it's an object that contains information about where and ... COM/OLE structure and is defined as it is defined. ... A VB Array running in the IDE isn't ...
    (microsoft.public.vb.general.discussion)