RE: [saml-dev] DEFLATE Implementation in JAVA
As I recall, the Java library is poorly documented and you need the nowrap flag on the constructor of the deflate stream. See this thread: http://lists.oasis-open.org/archives/security-services/200502/msg00008.html -- Scott