Re: [c++] XML Encryption

2004-01-26 Thread Berin Lautenbach
Milan, Good question. Now that we have sent the required notification to BIS, I think we should be fine on that front. I was thinking about this on the weekend. I'd like to get a beta distribution (xml-security 1.10-beta or some such) up in the next few weeks. I've got a large part of the web-si

Re: Base64

2004-01-26 Thread Berin Lautenbach
Milan, 1K seems a lot to be missing. I'm not sure about the line : outputSz = b64.encodeFinish(output, outLen - outputSz); My reading is that outputSz could still be set from the last run through the loop, and if the last piece of input was big enough, this would leave no space in the outpu

Base64

2004-01-26 Thread Milan Tomic
Title: Base64     Is this OK: CString cEncodedFile; XSCryptCryptoBase64 b64; b64.encodeInit(); CFile f; f.Open(cXMLFile.GetBuffer(999), CFile::modeRead); int outLen = 10 * 1024 * 4/3 + 4; BYTE *input = new BYTE[10 * 1024]; BYTE *output = new BYTE[outLen]; int inputSz = f.Read(i

[c++] XML Encryption

2004-01-26 Thread Milan Tomic
Title: [c++] XML Encryption     When will be XML Encryption 1.00 released? Thanks, Milan

[C++] Spaces in URI

2004-01-26 Thread Berin Lautenbach
Milan, Have put a fix into CVS for the spaces in filenames issues on Windows. (Not yet fixed on *NIX - but same code). NOTE - Spaces in URIs are illegal - you have to use %20, which the code will now translate back to a ' ' before reading the file. Thanks! Cheers, Berin