~ubuntu-branches/ubuntu/utopic/lasso/utopic-proposed

« back to all changes in this revision

Viewing changes to lasso/xml/strings.h

  • Committer: Bazaar Package Importer
  • Author(s): Frederic Peters
  • Date: 2004-09-13 09:26:34 UTC
  • Revision ID: james.westby@ubuntu.com-20040913092634-01vdfl8j9cp94exa
Tags: upstream-0.4.1
ImportĀ upstreamĀ versionĀ 0.4.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* $Id: strings.h,v 1.21 2004/08/21 12:49:30 valos Exp $ 
 
2
 *
 
3
 * Lasso - A free implementation of the Liberty Alliance specifications.
 
4
 *
 
5
 * Copyright (C) 2004 Entr'ouvert
 
6
 * http://lasso.entrouvert.org
 
7
 * 
 
8
 * Authors: Nicolas Clapies <nclapies@entrouvert.com>
 
9
 *          Valery Febvre <vfebvre@easter-eggs.com>
 
10
 *
 
11
 * This program is free software; you can redistribute it and/or modify
 
12
 * it under the terms of the GNU General Public License as published by
 
13
 * the Free Software Foundation; either version 2 of the License, or
 
14
 * (at your option) any later version.
 
15
 * 
 
16
 * This program is distributed in the hope that it will be useful,
 
17
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
18
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
19
 * GNU General Public License for more details.
 
20
 * 
 
21
 * You should have received a copy of the GNU General Public License
 
22
 * along with this program; if not, write to the Free Software
 
23
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
24
 */
 
25
 
 
26
#ifndef __LASSO_STRINGS_H__
 
27
#define __LASSO_STRINGS_H__
 
28
 
 
29
/*****************************************************************************/
 
30
/* Lasso                                                                     */
 
31
/*****************************************************************************/
 
32
 
 
33
/* prefix & href */
 
34
#define lassoLassoHRef   "http://www.entrouvert.org/namespaces/lasso/0.0"
 
35
#define lassoLassoPrefix         "lasso"
 
36
 
 
37
/*****************************************************************************/
 
38
/* Liberty Alliance                                                          */
 
39
/*****************************************************************************/
 
40
 
 
41
/* prefix & href */
 
42
#define lassoLibHRef     "urn:liberty:iff:2003-08"
 
43
#define lassoLibPrefix   "lib"
 
44
 
 
45
/* Versioning */
 
46
#define lassoLibMajorVersion     "1"
 
47
#define lassoLibMinorVersion     "2"
 
48
 
 
49
/* NameIDPolicyType */
 
50
#define lassoLibNameIDPolicyTypeNone     "none"
 
51
#define lassoLibNameIDPolicyTypeOneTime  "onetime"
 
52
#define lassoLibNameIDPolicyTypeFederated        "federated"
 
53
#define lassoLibNameIDPolicyTypeAny      "any"
 
54
 
 
55
/* AuthnContextComparison */
 
56
#define lassoLibAuthnContextComparisonExact      "exact"
 
57
#define lassoLibAuthnContextComparisonMinimum    "minimum"
 
58
#define lassoLibAuthnContextComparisonBetter     "better"
 
59
 
 
60
/* StatusCodes */
 
61
#define lassoLibStatusCodeFederationDoesNotExist         "lib:FederationDoesNotExist"
 
62
#define lassoLibStatusCodeInvalidAssertionConsumerServiceIndex   "lib:InvalidAssertionConsumerServiceIndex"
 
63
#define lassoLibStatusCodeInvalidSignature       "lib:InvalidSignature"
 
64
#define lassoLibStatusCodeNoAuthnContext         "lib:NoAuthnContext"
 
65
#define lassoLibStatusCodeNoAvailableIDP         "lib:NoAvailableIDP"
 
66
#define lassoLibStatusCodeNoPassive      "lib:NoPassive"
 
67
#define lassoLibStatusCodeNoSupportedIDP         "lib:NoSupportedIDP"
 
68
#define lassoLibStatusCodeProxyCountExceeded     "lib:ProxyCountExceeded"
 
69
#define lassoLibStatusCodeUnknownPrincipal       "lib:UnknownPrincipal"
 
70
#define lassoLibStatusCodeUnsignedAuthnRequest   "lib:UnsignedAuthnRequest"
 
71
#define lassoLibStatusCodeUnsupportedProfile     "lib:UnsupportedProfile"
 
72
 
 
73
/* ProtocolProfile */
 
74
#define lassoLibProtocolProfileBrwsArt   "http://projectliberty.org/profiles/brws-art"
 
75
#define lassoLibProtocolProfileBrwsPost  "http://projectliberty.org/profiles/brws-post"
 
76
#define lassoLibProtocolProfileFedTermIdpHttp    "http://projectliberty.org/profiles/fedterm-idp-http"
 
77
#define lassoLibProtocolProfileFedTermIdpSoap    "http://projectliberty.org/profiles/fedterm-idp-soap"
 
78
#define lassoLibProtocolProfileFedTermSpHttp     "http://projectliberty.org/profiles/fedterm-sp-http"
 
79
#define lassoLibProtocolProfileFedTermSpSoap     "http://projectliberty.org/profiles/fedterm-sp-soap"
 
80
#define lassoLibProtocolProfileRniIdpHttp        "http://projectliberty.org/profiles/rni-idp-http"
 
81
#define lassoLibProtocolProfileRniIdpSoap        "http://projectliberty.org/profiles/rni-idp-soap"
 
82
#define lassoLibProtocolProfileRniSpHttp         "http://projectliberty.org/profiles/rni-sp-http"
 
83
#define lassoLibProtocolProfileRniSpSoap         "http://projectliberty.org/profiles/rni-sp-soap"
 
84
#define lassoLibProtocolProfileSloSpHttp         "http://projectliberty.org/profiles/slo-sp-http"
 
85
#define lassoLibProtocolProfileSloSpSoap         "http://projectliberty.org/profiles/slo-sp-soap"
 
86
#define lassoLibProtocolProfileSloIdpHttp        "http://projectliberty.org/profiles/slo-idp-http"
 
87
#define lassoLibProtocolProfileSloIdpSoap        "http://projectliberty.org/profiles/slo-idp-soap"
 
88
 
 
89
/* NameIdentifier formats */
 
90
#define lassoLibNameIdentifierFormatFederated    "urn:liberty:iff:nameid:federated"
 
91
#define lassoLibNameIdentifierFormatOneTime      "urn:liberty:iff:nameid:one-time"
 
92
#define lassoLibNameIdentifierFormatEncrypted    "urn:liberty:iff:nameid:encrypted"
 
93
#define lassoLibNameIdentifierFormatEntityID     "urn:liberty:iff:nameid:entityID"
 
94
 
 
95
/* Consent */
 
96
#define lassoLibConsentObtained  "urn:liberty:consent:obtained"
 
97
#define lassoLibConsentUnavailable       "urn:liberty:consent:unavailable"
 
98
#define lassoLibConsentInapplicable      "urn:liberty:consent:inapplicable"
 
99
 
 
100
/*****************************************************************************/
 
101
/* METADATA                                                                  */
 
102
/*****************************************************************************/
 
103
 
 
104
/* prefix & href */
 
105
#define lassoMetadataHRef        "urn:liberty:metadata:2003-08"
 
106
#define lassoMetadataPrefix      "md"
 
107
 
 
108
/*****************************************************************************/
 
109
/* SAML                                                                      */
 
110
/*****************************************************************************/
 
111
 
 
112
/* prefix & href */
 
113
#define lassoSamlAssertionHRef   "urn:oasis:names:tc:SAML:1.0:assertion"
 
114
#define lassoSamlAssertionPrefix         "saml"
 
115
#define lassoSamlProtocolHRef    "urn:oasis:names:tc:SAML:1.0:protocol"
 
116
#define lassoSamlProtocolPrefix  "samlp"
 
117
 
 
118
/* Versioning */
 
119
#define lassoSamlMajorVersion    "1"
 
120
#define lassoSamlMinorVersion    "1"
 
121
 
 
122
/* StatusCodes */
 
123
#define lassoSamlStatusCodeRequestDenied         "samlp:RequestDenied"
 
124
#define lassoSamlStatusCodeSuccess       "samlp:Success"
 
125
 
 
126
/* AuthenticationMethods */
 
127
#define lassoSamlAuthenticationMethodPassword    "urn:oasis:names:tc:SAML:1.0:am:password"
 
128
#define lassoSamlAuthenticationMethodKerberos    "urn:ietf:rfc:1510"
 
129
#define lassoSamlAuthenticationMethodSecureRemotePassword        "urn:ietf:rfc:2945"
 
130
#define lassoSamlAuthenticationMethodHardwareToken       "urn:oasis:names:tc:SAML:1.0:am:HardwareToken"
 
131
#define lassoSamlAuthenticationMethodSmartcardPki        "urn:ietf:rfc:2246"
 
132
#define lassoSamlAuthenticationMethodSoftwarePki         "urn:oasis:names:tc:SAML:1.0:am:X509-PKI"
 
133
#define lassoSamlAuthenticationMethodPgp         "urn:oasis:names:tc:SAML:1.0:am:PGP"
 
134
#define lassoSamlAuthenticationMethodSPki        "urn:oasis:names:tc:SAML:1.0:am:SPKI"
 
135
#define lassoSamlAuthenticationMethodXkms        "urn:oasis:names:tc:SAML:1.0:am:XKMS"
 
136
#define lassoSamlAuthenticationMethodXmlDSig     "urn:ietf:rfc:3075"
 
137
#define lassoSamlAuthenticationMethodUnspecified         "urn:oasis:names:tc:SAML:1.0:am:unspecified"
 
138
 
 
139
/* ConfirmationMethods */
 
140
#define lassoSamlConfirmationMethodArtifact01    "urn:oasis:names:tc:SAML:1.0:cm:artifact-01"
 
141
#define lassoSamlConfirmationMethodBearer        "urn:oasis:names:tc:SAML:1.0:cm:bearer"
 
142
#define lassoSamlConfirmationMethodHolderOfKey   "urn:oasis:names:tc:SAML:1.0:cm:holder-of-key"
 
143
#define lassoSamlConfirmationMethodSenderVouches         "urn:oasis:names:tc:SAML:1.0:cm:sender-vouches"
 
144
 
 
145
/*****************************************************************************/
 
146
/* SOAP                                                                      */
 
147
/*****************************************************************************/
 
148
 
 
149
/* prefix & href */
 
150
#define lassoSoapEnvHRef         "http://schemas.xmlsoap.org/soap/envelope/"
 
151
#define lassoSoapEnvPrefix       "soap-env"
 
152
 
 
153
/*****************************************************************************/
 
154
/* Others                                                                    */
 
155
/*****************************************************************************/
 
156
 
 
157
/* xsi prefix & href */
 
158
#define lassoXsiHRef "http://www.w3.org/2001/XMLSchema-instance"
 
159
#define lassoXsiPrefix "xsi"
 
160
 
 
161
#endif /* __LASSO_STRINGS_H__ */