Type 0x0001 SAML 1.x artifact class.
More...
#include <saml/saml1/binding/SAMLArtifactType0001.h>
|
| SAMLArtifactType0001 (const char *s) |
| Decodes a base64-encoded type 0x0001 artifact. More...
|
|
| SAMLArtifactType0001 (const std::string &sourceid) |
| Constructs an artifact with the specified source ID, but a random assertion handle. More...
|
|
| SAMLArtifactType0001 (const std::string &sourceid, const std::string &handle) |
| Constructs an artifact with the specified source ID and assertion handle. More...
|
|
SAMLArtifactType0001 * | clone () const |
| Builds a duplicate, independent artifact of the same type. More...
|
|
std::string | getSource () const |
| Returns a string that identifies the source of the artifact. More...
|
|
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. More...
|
|
virtual std::string | getSourceID () const |
| Returns the binary data that identifies the source. More...
|
|
virtual std::string | encode () const |
| Returns artifact encoded into null-terminated base64 for transmission.
|
|
virtual std::string | getBytes () const |
| Returns all of the raw binary data that makes up the artifact. More...
|
|
virtual std::string | getTypeCode () const |
| Returns the binary type code of the artifact. More...
|
|
virtual std::string | getRemainingArtifact () const |
| Returns the binary artifact data following the type code. More...
|
|
|
static SAMLArtifact * | parse (const char *s) |
| Parses a base64-encoded null-terminated string into an artifact, if the type is known. More...
|
|
static SAMLArtifact * | parse (const XMLCh *s) |
| Parses a base64-encoded null-terminated string into an artifact, if the type is known. More...
|
|
static std::string | toHex (const std::string &s) |
| Converts binary data to hex notation. More...
|
|
std::string | m_raw |
| Raw binary data that makes up an artifact. More...
|
|
Type 0x0001 SAML 1.x artifact class.
◆ SAMLArtifactType0001() [1/4]
opensaml::saml1p::SAMLArtifactType0001::SAMLArtifactType0001 |
( |
const char * |
s | ) |
|
Decodes a base64-encoded type 0x0001 artifact.
- Parameters
-
s | NULL-terminated base64-encoded string |
◆ SAMLArtifactType0001() [2/4]
opensaml::saml1p::SAMLArtifactType0001::SAMLArtifactType0001 |
( |
const std::string & |
sourceid | ) |
|
Constructs an artifact with the specified source ID, but a random assertion handle.
- Parameters
-
sourceid | SOURCEID_LENGTH bytes of binary data |
◆ SAMLArtifactType0001() [3/4]
opensaml::saml1p::SAMLArtifactType0001::SAMLArtifactType0001 |
( |
const std::string & |
sourceid, |
|
|
const std::string & |
handle |
|
) |
| |
Constructs an artifact with the specified source ID and assertion handle.
- Parameters
-
sourceid | SOURCEID_LENGTH bytes of binary data |
handle | HANDLE_LENGTH bytes of binary data |
◆ SAMLArtifactType0001() [4/4]
Copy constructor.
- Parameters
-
◆ clone()
Builds a duplicate, independent artifact of the same type.
- Returns
- the new artifact
Implements opensaml::SAMLArtifact.
◆ getMessageHandle()
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.
- Returns
- the binary reference data
Implements opensaml::SAMLArtifact.
◆ getSource()
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.
- Returns
- null-terminated source string
Implements opensaml::SAMLArtifact.
◆ getSourceID()
virtual std::string opensaml::saml1p::SAMLArtifactType0001::getSourceID |
( |
| ) |
const |
|
virtual |
Returns the binary data that identifies the source.
The result MAY contain embedded null characters.
- Returns
- the binary source ID
The documentation for this class was generated from the following file: