Re: CAPICOM HashedData, java and binary files

From: Michel Gallant (neutron_at_istar.ca)
Date: 03/30/05


Date: Wed, 30 Mar 2005 08:49:28 -0500

CAPICOM does not currently support setting the hash property for
SignedData to be encrypted separately.
You need to have the SignedData.Content loaded.
Of course, you could always simply sign the HASH itself (in effect,
SignedData would be encyrpting the hash of the hash of the large file).

I'll have a look at your CAPICOM hash calculator tho and try to see
what the problem is.
- Mitch

"Daniel Soriano" <dsoriano@isoco.com> wrote in message news:e3e6564f.0503300318.6a6a06e7@posting.google.com...
> Hash with capicom seems to generate another unexpected result with
> binary files.
> Finally, what i need is to use capicom signeddata object with this
> calculated hash, in order to avoid set the signeddata.content object
> with large binary files. is it possible?



Relevant Pages

  • Signature verification with capicom
    ... sign verify reverse the entire buffer. ... capicom says that the hashes don't match. ... Iaik sends ... >with capicom but the hash created from the original file. ...
    (microsoft.public.platformsdk.security)
  • Re: Signature verification with capicom
    ... > sign verify reverse the entire buffer. ... capicom says that the hashes don't match. ... > Iaik sends ... >>with capicom but the hash created from the original file. ...
    (microsoft.public.platformsdk.security)
  • Signature verification with capicom
    ... I'm developing an application that signs a pdf file with iaik ... I'm using the capicom libraries, the sign process goes well but in the ... If I make the hash with iaik with a plain text file, ...
    (microsoft.public.platformsdk.security)
  • VB Script Trying to use Capicom
    ... I had a script which used Capicom to calculate a MD5 hash for a file ... error loading DLL 'crypt.Algorithm' ... I installed Capicom and gave Everyone full access to it. ...
    (microsoft.public.scripting.vbscript)
  • Re: Signature verification with capicom
    ... discussed several tims in CAPICOM list. ... Most S/MIME applications that I have seen sign the raw binary data (not UNICODE ... > I'm developing an application that signs a pdf file with iaik ... > with capicom but the hash created from the original file. ...
    (microsoft.public.platformsdk.security)