#include <saml/saml1/binding/SAMLArtifactType0001.h>
Public Member Functions | |
SAMLArtifactType0001 (const char *s) | |
Decodes a base64-encoded type 0x0001 artifact. | |
SAMLArtifactType0001 (const std::string &sourceid) | |
Constructs an artifact with the specified source ID, but a random assertion handle. | |
SAMLArtifactType0001 (const std::string &sourceid, const std::string &handle) | |
Constructs an artifact with the specified source ID and assertion handle. | |
SAMLArtifactType0001 * | clone () const |
Builds a duplicate, independent artifact of the same type. | |
std::string | getSource () const |
Returns a string that identifies the source of the artifact. | |
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 | getSourceID () const |
Returns the binary data that identifies the source. | |
Static Public Attributes | |
static const unsigned int | SOURCEID_LENGTH |
Length of source ID. | |
static const unsigned int | HANDLE_LENGTH |
Length of assertion handle. | |
Protected Member Functions | |
SAMLArtifactType0001 (const SAMLArtifactType0001 &src) | |
Copy constructor. |
opensaml::saml1p::SAMLArtifactType0001::SAMLArtifactType0001 | ( | const char * | s | ) |
Decodes a base64-encoded type 0x0001 artifact.
s | NULL-terminated base64-encoded string |
opensaml::saml1p::SAMLArtifactType0001::SAMLArtifactType0001 | ( | const std::string & | sourceid | ) |
Constructs an artifact with the specified source ID, but a random assertion handle.
sourceid | SOURCEID_LENGTH bytes of binary data |
opensaml::saml1p::SAMLArtifactType0001::SAMLArtifactType0001 | ( | const std::string & | sourceid, | |
const std::string & | handle | |||
) |
Constructs an artifact with the specified source ID and assertion handle.
sourceid | SOURCEID_LENGTH bytes of binary data | |
handle | HANDLE_LENGTH bytes of binary data |
opensaml::saml1p::SAMLArtifactType0001::SAMLArtifactType0001 | ( | const SAMLArtifactType0001 & | src | ) | [protected] |
Copy constructor.
src | object to copy |
SAMLArtifactType0001* opensaml::saml1p::SAMLArtifactType0001::clone | ( | ) | const [virtual] |
Builds a duplicate, independent artifact of the same type.
Implements opensaml::SAMLArtifact.
std::string opensaml::saml1p::SAMLArtifactType0001::getSource | ( | ) | const [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.
Implements opensaml::SAMLArtifact.
std::string opensaml::saml1p::SAMLArtifactType0001::getMessageHandle | ( | ) | const [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.
Implements opensaml::SAMLArtifact.
virtual std::string opensaml::saml1p::SAMLArtifactType0001::getSourceID | ( | ) | const [virtual] |
Returns the binary data that identifies the source.
The result MAY contain embedded null characters.