Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

SAML2Redirect.h File Reference

SAML 2.0 HTTP Redirect compression functionality. More...

#include <saml/base.h>
#include <iostream>

Namespaces

namespace  opensaml
namespace  opensaml::saml2p

Functions

char * deflate (char *in, unsigned int in_len, unsigned int *out_len)
 Deflates data in accordance with RFC1951.
unsigned int inflate (char *in, unsigned int in_len, std::ostream &out)
 Inflates data compressed in accordance with RFC1951 and sends the results to an output stream.


Detailed Description

SAML 2.0 HTTP Redirect compression functionality.


Function Documentation

char* deflate (  char *  in,
unsigned int  in_len,
unsigned int *  out_len
) 
 

Deflates data in accordance with RFC1951.

The caller must free the resulting buffer using delete[]

Parameters:
in the data to compress
in_len length of input data
out_len will contain the length of the resulting data
Returns:
allocated buffer of out_len bytes containing deflated data

unsigned int inflate (  char *  in,
unsigned int  in_len,
std::ostream &  out
) 
 

Inflates data compressed in accordance with RFC1951 and sends the results to an output stream.

Parameters:
in the data to inflate
in_len length of input data
out reference to output stream to receive data
Returns:
number of bytes written to stream


Generated on Wed Jun 17 16:59:54 2009 for opensaml-2.2 by  doxygen 1.3.9.1