Hi Berin, that's o.k. for us, thanks, Eckehard -----Original Message----- From: Berin Lautenbach [mailto:[EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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>> >