Initial check-in.
[shibboleth/cpp-opensaml.git] / saml / util / XMLConstants.h
diff --git a/saml/util/XMLConstants.h b/saml/util/XMLConstants.h
new file mode 100644 (file)
index 0000000..af7d4ba
--- /dev/null
@@ -0,0 +1,116 @@
+/*\r
+ *  Copyright 2001-2006 Internet2\r
+ * \r
+ * Licensed under the Apache License, Version 2.0 (the "License");\r
+ * you may not use this file except in compliance with the License.\r
+ * You may obtain a copy of the License at\r
+ *\r
+ *     http://www.apache.org/licenses/LICENSE-2.0\r
+ *\r
+ * Unless required by applicable law or agreed to in writing, software\r
+ * distributed under the License is distributed on an "AS IS" BASIS,\r
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+ * See the License for the specific language governing permissions and\r
+ * limitations under the License.\r
+ */\r
+\r
+/**\r
+ * @file XMLConstants.h\r
+ * \r
+ * SAML XML namespace constants \r
+ */\r
+\r
+#ifndef __saml_xmlconstants_h__\r
+#define __saml_xmlconstants_h__\r
+\r
+#include <xmltooling/util/XMLConstants.h>\r
+\r
+namespace opensaml {\r
+    \r
+    /**\r
+     * SAML related constants.\r
+     */\r
+    struct SAML_API XMLConstants : public xmltooling::XMLConstants\r
+    {\r
+        /**  SOAP 1.1 Envelope XML namespace ("http://schemas.xmlsoap.org/soap/envelope/") */\r
+        static const XMLCh SOAP11ENV_NS[]; \r
+\r
+        /**  SOAP 1.1 Envelope QName prefix ("S") */\r
+        static const XMLCh SOAP11ENV_PREFIX[];\r
+    \r
+        /**  Liberty PAOS XML Namespace ("urn:liberty:paos:2003-08") */\r
+        static const XMLCh PAOS_NS[];\r
+        \r
+        /**  Liberty PAOS QName prefix ("paos") */\r
+        static const XMLCh PAOS_PREFIX[];\r
+    \r
+        /**  SAML 1.X Assertion XML namespace ("urn:oasis:names:tc:SAML:1.0:assertion") */\r
+        static const XMLCh SAML1_NS[];\r
+\r
+        /**  SAML 1.X Protocol XML namespace ("urn:oasis:names:tc:SAML:1.0:protocol") */\r
+        static const XMLCh SAML1P_NS[];\r
+        \r
+        /** SAML 1.X Assertion QName prefix ("saml") */\r
+        static const XMLCh SAML1_PREFIX[];\r
+    \r
+        /** SAML 1.X Protocol QName prefix ("samlp") */\r
+        static const XMLCh SAML1P_PREFIX[];\r
+        \r
+        /** SAML 1.1 Protocol Enumeration constant ("urn:oasis:names:tc:SAML:1.0:protocol") */\r
+        static const XMLCh SAML11_PROTOCOL_ENUM[];\r
+        \r
+        /** SAML 1.x Metadata Profile ID ("urn:oasis:names:tc:SAML:profiles:v1metadata") */\r
+        static const XMLCh SAML1_METADATA_PROFILE[];\r
+        \r
+        /**  SAML 2.0 Assertion XML namespace ("urn:oasis:names:tc:SAML:2.0:assertion") */\r
+        static const XMLCh SAML20_NS[];\r
+\r
+        /**  SAML 2.0 Protocol XML namespace ("urn:oasis:names:tc:SAML:2.0:protocol") */\r
+        static const XMLCh SAML20P_NS[];\r
+\r
+        /**  SAML 2.0 Metadata XML namespace ("urn:oasis:names:tc:SAML:2.0:metadata") */\r
+        static const XMLCh SAML20MD_NS[];\r
+\r
+        /**  SAML 2.0 AuthnContext XML namespace ("urn:oasis:names:tc:SAML:2.0:ac") */\r
+        static const XMLCh SAML20AC_NS[];\r
+        \r
+        /** SAML 2.0 Assertion QName prefix ("saml") */\r
+        static const XMLCh SAML20_PREFIX[];\r
+    \r
+        /** SAML 2.0 Protocol QName prefix ("samlp") */\r
+        static const XMLCh SAML20P_PREFIX[];\r
+\r
+        /** SAML 2.0 Metadata QName prefix ("md") */\r
+        static const XMLCh SAML20MD_PREFIX[];\r
+\r
+        /** SAML 2.0 AuthnContext QName prefix ("ac") */\r
+        static const XMLCh SAML20AC_PREFIX[];\r
+\r
+        /** SAML 2.0 Enhanced Client/Proxy SSO Profile XML Namespace ("urn:oasis:names:tc:SAML:2.0:profiles:SSO:ecp") */\r
+        static const XMLCh SAML20ECP_NS[];\r
+        \r
+        /** SAML 2.0 Enhanced Client/Proxy SSO Profile QName prefix ("ecp") */\r
+        static const XMLCh SAML20ECP_PREFIX[];\r
+    \r
+        /** SAML 2.0 DCE PAC Attribute Profile XML Namespace ("urn:oasis:names:tc:SAML:2.0:profiles:attribute:DCE") */\r
+        static const XMLCh SAML20DCE_NS[];\r
+        \r
+        /** SAML 2.0 DCE PAC Attribute Profile QName prefix ("DCE") */\r
+        static const XMLCh SAML20DCE_PREFIX[];\r
+    \r
+        /** SAML 2.0 X.500 Attribute Profile XML Namespace ("urn:oasis:names:tc:SAML:2.0:profiles:attribute:X500") */\r
+        static const XMLCh SAML20X500_NS[];\r
+        \r
+        /** SAML 2.0 X.500 Attribute Profile QName prefix ("x500") */\r
+        static const XMLCh SAML20X500_PREFIX[];\r
+    \r
+        /** SAML 2.0 XACML Attribute Profile XML Namespace ("urn:oasis:names:tc:SAML:2.0:profiles:attribute:XACML") */\r
+        static const XMLCh SAML20XACML_NS[];\r
+        \r
+        /** SAML 2.0 XACML Attribute Profile QName prefix ("xacmlprof") */\r
+        static const XMLCh SAML20XACML_PREFIX[];\r
+    };\r
+\r
+};\r
+\r
+#endif /* __saml_xmlconstants_h__ */\r