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>>