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

opensaml::saml1p::SAMLArtifactType0002 Class Reference

Type 0x0002 SAML 1.x artifact class. More...

#include <saml/saml1/binding/SAMLArtifactType0002.h>

Inheritance diagram for opensaml::saml1p::SAMLArtifactType0002:

opensaml::SAMLArtifact List of all members.

Public Member Functions

 SAMLArtifactType0002 (const char *s)
 Decodes a base64-encoded type 0x0002 artifact.
 SAMLArtifactType0002 (const std::string &sourceLocation)
 Constructs an artifact with the specified source URL, but a random assertion handle.
 SAMLArtifactType0002 (const std::string &sourceLocation, const std::string &handle)
 Constructs an artifact with the specified source URL and assertion handle.
virtual SAMLArtifactType0002 * clone () const
 Builds a duplicate, independent artifact of the same type.
virtual std::string getMessageHandle () const
 Returns the binary data that references the message (2.0) or assertion (1.x) The exact form this takes depends on the type.
virtual std::string getSource () const
 Returns a string that identifies the source of the artifact.

Static Public Attributes

const unsigned int HANDLE_LENGTH
 Length of assertion handle.

Protected Member Functions

 SAMLArtifactType0002 (const SAMLArtifactType0002 &src)
 Copy constructor.

Detailed Description

Type 0x0002 SAML 1.x artifact class.


Constructor & Destructor Documentation

opensaml::saml1p::SAMLArtifactType0002::SAMLArtifactType0002 (  const char *  s  ) 
 

Decodes a base64-encoded type 0x0002 artifact.

Parameters:
s NULL-terminated base64-encoded string

opensaml::saml1p::SAMLArtifactType0002::SAMLArtifactType0002 (  const std::string &  sourceLocation  ) 
 

Constructs an artifact with the specified source URL, but a random assertion handle.

Parameters:
sourceLocation source URL

opensaml::saml1p::SAMLArtifactType0002::SAMLArtifactType0002 (  const std::string &  sourceLocation,
const std::string &  handle
) 
 

Constructs an artifact with the specified source URL and assertion handle.

Parameters:
sourceLocation source URL
handle HANDLE_LENGTH bytes of binary data

opensaml::saml1p::SAMLArtifactType0002::SAMLArtifactType0002 (  const SAMLArtifactType0002 &  src  )  [inline, protected]
 

Copy constructor.

Parameters:
src object to copy


Member Function Documentation

virtual SAMLArtifactType0002* opensaml::saml1p::SAMLArtifactType0002::clone (   )  const [inline, virtual]
 

Builds a duplicate, independent artifact of the same type.

Returns:
the new artifact

Implements opensaml::SAMLArtifact.

virtual std::string opensaml::saml1p::SAMLArtifactType0002::getMessageHandle (   )  const [inline, virtual]
 

Returns the binary data that references the message (2.0) or assertion (1.x) The exact form this takes depends on the type.

The result MAY contain embedded null characters.

Returns:
the binary reference data

Implements opensaml::SAMLArtifact.

virtual std::string opensaml::saml1p::SAMLArtifactType0002::getSource (   )  const [inline, virtual]
 

Returns a string that identifies the source of the artifact.

The exact form this takes depends on the type but should match the syntax needed for metadata lookup.

Returns:
null-terminated source string

Implements opensaml::SAMLArtifact.


The documentation for this class was generated from the following file:
Generated on Mon Jun 22 13:47:22 2009 for opensaml-2.2 by  doxygen 1.3.9.1