opensaml-2.5.0
|
Type 0x0004 SAML 2.0 artifact class. More...
#include <saml/saml2/binding/SAML2ArtifactType0004.h>
Public Member Functions | |
SAML2ArtifactType0004 (const char *s) | |
Decodes a base64-encoded type 0x0004 artifact. | |
SAML2ArtifactType0004 (const std::string &sourceid, int index) | |
Constructs an artifact with the specified source ID and index, but a random message handle. | |
SAML2ArtifactType0004 (const std::string &sourceid, int index, const std::string &handle) | |
Constructs an artifact with the specified source ID and assertion handle. | |
SAML2ArtifactType0004 * | 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 message handle. | |
Protected Member Functions | |
SAML2ArtifactType0004 (const SAML2ArtifactType0004 &src) | |
Copy constructor. |
Type 0x0004 SAML 2.0 artifact class.
opensaml::saml2p::SAML2ArtifactType0004::SAML2ArtifactType0004 | ( | const char * | s | ) |
Decodes a base64-encoded type 0x0004 artifact.
s | NULL-terminated base64-encoded string |
opensaml::saml2p::SAML2ArtifactType0004::SAML2ArtifactType0004 | ( | const std::string & | sourceid, |
int | index | ||
) |
Constructs an artifact with the specified source ID and index, but a random message handle.
sourceid | SOURCEID_LENGTH bytes of binary data |
index | endpoint index |
opensaml::saml2p::SAML2ArtifactType0004::SAML2ArtifactType0004 | ( | const std::string & | sourceid, |
int | index, | ||
const std::string & | handle | ||
) |
Constructs an artifact with the specified source ID and assertion handle.
sourceid | SOURCEID_LENGTH bytes of binary data |
index | endpoint index |
handle | HANDLE_LENGTH bytes of binary data |
opensaml::saml2p::SAML2ArtifactType0004::SAML2ArtifactType0004 | ( | const SAML2ArtifactType0004 & | src | ) | [protected] |
Copy constructor.
src | object to copy |
SAML2ArtifactType0004* opensaml::saml2p::SAML2ArtifactType0004::clone | ( | ) | const [virtual] |
Builds a duplicate, independent artifact of the same type.
Implements opensaml::SAMLArtifact.
std::string opensaml::saml2p::SAML2ArtifactType0004::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.
std::string opensaml::saml2p::SAML2ArtifactType0004::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.
virtual std::string opensaml::saml2p::SAML2ArtifactType0004::getSourceID | ( | ) | const [virtual] |
Returns the binary data that identifies the source.
The result MAY contain embedded null characters.