Thanks for a quick response Scott.
> Never mind, I see the docs imply the finalize call is supposed to do that
> internally. I suspect it's a problem in how the EVP calls are made or
> perhaps you're doing something unusual that prevents it from cleaning up.
>
I'm not doing anything unusual her
Hi,
Maybe i'm not doing this right, but according to Valgrind
calling XSECCryptoHash is leaking mem,
here's how i'm calling it.
// start of code
int GetSHA1Hash(unsigned char *pData, unsigned int pLen, char *pASCIIHash)
{
unsigned char hash[SHA_DIGEST_LENGTH];
XSECCryptoHash * sha1 = NU
can someone shed some light as to what this function does
XSECC14n20010315::setExclusive(void) ?this class isn't documented at all. any
insight would be helpful.thanks !
_
Messenger Café — open for fun 24/7. Hot games, cool activiti
To: security-dev@xml.apache.org> >
k b wrote:> > How do i generate SHA1 hash of canonicalized xml ?> > i just
want the sha1 hash.> > > > I know while signing a doc one can get the hash,> >
but in this case i just want the hash and don't want to go through th
How do i generate SHA1 hash of canonicalized xml ? i just want the sha1 hash.
I know while signing a doc one can get the hash, but in this case i just want
the hash and don't want to go through the signing process. is there an easier
way ?thanks !
_
Thanks Scott !so let say this is my sample xml Tove
Jani Reminder Lets meet this
weekend! Jani Tove
RE:Reminder Suresay i want to
only sign the body of the second note element. How do you i go about doing
thisif i use the XPath way how do i uniquely identify the second note's body.
d
Hi,is there a way that i could just sign just one element from the whole
xml.i'm doing this right now, but don't know if i could selectively sign just
one of the elements instead of the whole DOMDocument.try{ sig =
prov.newSignature();sig->setDSIGNSPrefix(MAKE_UNICODE_ST