santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Lautenbach <be...@wingsofhermes.org>
Subject Re: DSIGSignature::calculateSignedInfoAndReferenceHash
Date Sat, 14 May 2005 04:30:01 GMT
Well that took longer than expected!

Have just committed to CVS.

Thanks!

Cheers,
	Berin


Eckehard.Hermann@softwareag.com wrote:

> Hi Berin,
> that's o.k. for us,
> thanks, Eckehard
> 
> -----Original Message-----
> From: Berin Lautenbach [mailto:berin@wingsofhermes.org] 
> Sent: Mittwoch, 2. März 2005 10:06
> To: security-dev@xml.apache.org
> Subject: Re: DSIGSignature::calculateSignedInfoAndReferenceHash
> 
> 
> Happy to add anything that's useful into the API!
> 
> Do you mind if I just add straight to CVS?
> 
> Cheers,
> 	Berin
> 
> Eckehard.Hermann@softwareag.com wrote:
> 
> 
>>Hi all,
>>
>>for some reasons we have the need to calculate the SignedInfo hash,
>>including the reference hashes, before signing a document. So I suggest 
>>to add the following method to the DSIGSignature class:
>>
>>unsigned int 
>>DSIGSignature::calculateSignedInfoAndReferenceHash(unsigned
>>char * hashBuf, unsigned int hashBufLen) {
>>
>>        // Set up the reference list hashes - including any manifests
>>        mp_signedInfo->hash();
>>        // calculae signed InfoHash
>>        return calculateSignedInfoHash(hashBuf,hashBufLen);
>>}
>>
>>So what do you think?
>>
>>Kind regards,
>>Eckehard
>>
>><<DSIGSignature.hpp>> <<DSIGSignature.cpp>>
>>
> 
> 

Mime
View raw message