#include <saml/binding/MessageEncoder.h>
Public Member Functions | |
virtual bool | isCompact () const |
Indicates whether the encoding format requires that messages be as compact as possible. | |
virtual bool | isUserAgentPresent () const |
Indicates whether a web browser or similar user agent will receive the message. | |
virtual long | encode (xmltooling::GenericResponse &genericResponse, xmltooling::XMLObject *xmlObject, const char *destination, const saml2md::EntityDescriptor *recipient=NULL, const char *relayState=NULL, const ArtifactGenerator *artifactGenerator=NULL, const xmltooling::Credential *credential=NULL, const XMLCh *signatureAlg=NULL, const XMLCh *digestAlg=NULL) const =0 |
Encodes an XML object/message into a binding- and transport-specific response. | |
Classes | |
class | ArtifactGenerator |
Interface to caller-supplied artifact generation mechanism. More... |
|
Encodes an XML object/message into a binding- and transport-specific response. The XML content cannot have a parent object, and any existing references to the content will be invalidated if the encode method returns successfully. If a CredentialResolver is supplied, the message is also signed in a binding-specific manner. The CredentialResolver MUST be locked by the caller. Artifact-based bindings require an ArtifactGenerator be set to produce an artifact suitable for the intended recipient.
|
|
Indicates whether the encoding format requires that messages be as compact as possible.
|
|
Indicates whether a web browser or similar user agent will receive the message.
|