#include <saml/SAMLConfig.h>
Public Member Functions | |
virtual bool | init (bool initXMLTooling=true)=0 |
Initializes library. | |
virtual void | term (bool termXMLTooling=true)=0 |
Shuts down library. | |
void | setArtifactMap (ArtifactMap *artifactMap) |
Sets the global ArtifactMap instance. | |
ArtifactMap * | getArtifactMap () const |
Returns the global ArtifactMap instance. | |
virtual void | generateRandomBytes (void *buf, unsigned int len)=0 |
Generate random information using the underlying security library. | |
virtual void | generateRandomBytes (std::string &buf, unsigned int len)=0 |
Generate random information using the underlying security library. | |
virtual XMLCh * | generateIdentifier ()=0 |
Generate a valid XML identifier of the form _X{32} where X is a random hex character. | |
virtual std::string | hashSHA1 (const char *s, bool toHex=false)=0 |
virtual void | setContactPriority (const XMLCh *contactTypes)=0 |
Sets the order of contact types to use in annotating exceptions with contact information. | |
virtual const saml2md::ContactPerson * | getContactPerson (const saml2md::EntityDescriptor &entity) const =0 |
Returns the appropriate contact to use for the entity. | |
virtual const saml2md::ContactPerson * | getContactPerson (const saml2md::RoleDescriptor &role) const =0 |
Returns the appropriate contact to use for the role. | |
Static Public Member Functions | |
static SAMLConfig & | getConfig () |
Returns the global configuration object for the library. | |
Public Attributes | |
xmltooling::PluginManager< MessageDecoder, std::string, std::pair< const xercesc::DOMElement *, const XMLCh * > > | MessageDecoderManager |
Manages factories for MessageDecoder plugins. | |
xmltooling::PluginManager< MessageEncoder, std::string, std::pair< const xercesc::DOMElement *, const XMLCh * > > | MessageEncoderManager |
Manages factories for MessageEncoder plugins. | |
xmltooling::PluginManager< SAMLArtifact, std::string, const char * > | SAMLArtifactManager |
Manages factories for SAMLArtifact plugins. | |
xmltooling::PluginManager< SecurityPolicyRule, std::string, const xercesc::DOMElement * > | SecurityPolicyRuleManager |
Manages factories for SecurityPolicyRule plugins. | |
xmltooling::PluginManager< saml2md::MetadataProvider, std::string, const xercesc::DOMElement * > | MetadataProviderManager |
Manages factories for MetadataProvider plugins. | |
xmltooling::PluginManager< saml2md::MetadataFilter, std::string, const xercesc::DOMElement * > | MetadataFilterManager |
Manages factories for MetadataFilter plugins. | |
xmltooling::PluginManager< saml2md::EntityMatcher, std::string, const xercesc::DOMElement * > | EntityMatcherManager |
Manages factories for EntityMatcher plugins. | |
Protected Attributes | |
ArtifactMap * | m_artifactMap |
Global ArtifactMap instance for use by artifact-related functions. |
|
Generate a valid XML identifier of the form _X{32} where X is a random hex character. The caller is responsible for freeing the result.
|
|
Generate random information using the underlying security library.
|
|
Generate random information using the underlying security library.
|
|
Returns the global ArtifactMap instance.
|
|
Returns the global configuration object for the library.
|
|
Returns the appropriate contact to use for the role.
|
|
Returns the appropriate contact to use for the entity.
|
|
|
|
Initializes library. Each process using the library MUST call this function exactly once before using any library classes. The flag controls whether this is the "dominant" library or not and can allow the SAML library to be loaded as an extension of XMLTooling rather than subsuming it.
|
|
Sets the global ArtifactMap instance. This method must be externally synchronized with any code that uses the object. Any previously set object is destroyed.
|
|
Sets the order of contact types to use in annotating exceptions with contact information.
|
|
Shuts down library. Each process using the library SHOULD call this function exactly once before terminating itself. The flag controls whether this is the "dominant" library or not and can allow the SAML library to be loaded as an extension of XMLTooling rather than subsuming it.
|