summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorValery Febvre <vfebvre at easter-eggs.com>2004-05-13 12:58:40 +0000
committerValery Febvre <vfebvre at easter-eggs.com>2004-05-13 12:58:40 +0000
commit16afa26fe212e917de76b143be4df05e019a8931 (patch)
tree153e4681f7b70205f01ab962ce65311f2c9be840
parentd46f748b3ac8f6bb56f7eeee41f0c9aaff6afdd5 (diff)
4 NameIdentifier formats added
-rw-r--r--lasso/xml/strings.c14
-rw-r--r--lasso/xml/strings.h10
2 files changed, 18 insertions, 6 deletions
diff --git a/lasso/xml/strings.c b/lasso/xml/strings.c
index d37abab9..772154d7 100644
--- a/lasso/xml/strings.c
+++ b/lasso/xml/strings.c
@@ -75,6 +75,12 @@ const xmlChar lassoLibProtocolProfileSloSpSoap[] = "http://projectliberty.o
const xmlChar lassoLibProtocolProfileSloIdpHttp[] = "http://projectliberty.org/profiles/slo-idp-http";
const xmlChar lassoLibProtocolProfileSloIdpSoap[] = "http://projectliberty.org/profiles/slo-idp-soap";
+/* NameIdentifier formats */
+const xmlChar lassoLibNameIdentifierFormatFederated[] = "urn:liberty:iff:nameid:federated";
+const xmlChar lassoLibNameIdentifierFormatOneTime[] = "urn:liberty:iff:nameid:one-time";
+const xmlChar lassoLibNameIdentifierFormatEncrypted[] = "urn:liberty:iff:nameid:encrypted";
+const xmlChar lassoLibNameIdentifierFormatEntityID[] = "urn:liberty:iff:nameid:entityID";
+
/*****************************************************************************/
/* SAML */
/*****************************************************************************/
@@ -87,7 +93,7 @@ const xmlChar lassoSamlProtocolPrefix[] = "samlp";
/* Versioning */
const xmlChar lassoSamlMajorVersion[] = "1";
-const xmlChar lassoSamlMinorVersion[] = "0";
+const xmlChar lassoSamlMinorVersion[] = "1";
/* StatusCodes */
const xmlChar lassoSamlStatusCodeRequestDenied[] = "Samlp:RequestDenied";
@@ -100,15 +106,15 @@ const xmlChar lassoSamlAuthenticationMethodSecureRemotePassword[] = "urn:ietf:rf
const xmlChar lassoSamlAuthenticationMethodHardwareToken[] = "urn:oasis:names:tc:SAML:1.0:am:HardwareToken";
const xmlChar lassoSamlAuthenticationMethodSmartcardPki[] = "urn:ietf:rfc:2246";
const xmlChar lassoSamlAuthenticationMethodSoftwarePki[] = "urn:oasis:names:tc:SAML:1.0:am:X509-PKI";
-const xmlChar lassoSamlAuthenticationMethodPGP[] = "urn:oasis:names:tc:SAML:1.0:am:PGP";
+const xmlChar lassoSamlAuthenticationMethodPgp[] = "urn:oasis:names:tc:SAML:1.0:am:PGP";
const xmlChar lassoSamlAuthenticationMethodSPki[] = "urn:oasis:names:tc:SAML:1.0:am:SPKI";
const xmlChar lassoSamlAuthenticationMethodXkms[] = "urn:oasis:names:tc:SAML:1.0:am:XKMS";
-const xmlChar lassoSamlAuthenticationMethodXmlSign[] = "urn:ietf:rfc:3075";
+const xmlChar lassoSamlAuthenticationMethodXmlDSig[] = "urn:ietf:rfc:3075";
const xmlChar lassoSamlAuthenticationMethodUnspecified[] = "urn:oasis:names:tc:SAML:1.0:am:unspecified";
/* ConfirmationMethods */
const xmlChar lassoSamlConfirmationMethodArtifact01[] = "urn:oasis:names:tc:SAML:1.0:cm:artifact-01";
-const xmlChar lassoSamlConfirmationMethodBearer[] = "urn:oasis:names:tc:SAML:1.1:cm:bearer";
+const xmlChar lassoSamlConfirmationMethodBearer[] = "urn:oasis:names:tc:SAML:1.0:cm:bearer";
const xmlChar lassoSamlConfirmationMethodHolderOfKey[] = "urn:oasis:names:tc:SAML:1.0:cm:holder-of-key";
const xmlChar lassoSamlConfirmationMethodSenderVouches[] = "urn:oasis:names:tc:SAML:1.0:cm:sender-vouches";
diff --git a/lasso/xml/strings.h b/lasso/xml/strings.h
index 1f283a7f..ca3cd45a 100644
--- a/lasso/xml/strings.h
+++ b/lasso/xml/strings.h
@@ -83,6 +83,12 @@ LASSO_EXPORT_VAR const xmlChar lassoLibProtocolProfileSloSpSoap[];
LASSO_EXPORT_VAR const xmlChar lassoLibProtocolProfileSloIdpHttp[];
LASSO_EXPORT_VAR const xmlChar lassoLibProtocolProfileSloIdpSoap[];
+/* NameIdentifier formats */
+LASSO_EXPORT_VAR const xmlChar lassoLibNameIdentifierFormatFederated[];
+LASSO_EXPORT_VAR const xmlChar lassoLibNameIdentifierFormatOneTime[];
+LASSO_EXPORT_VAR const xmlChar lassoLibNameIdentifierFormatEncrypted[];
+LASSO_EXPORT_VAR const xmlChar lassoLibNameIdentifierFormatEntityID[];
+
/*****************************************************************************/
/* SAML */
/*****************************************************************************/
@@ -108,10 +114,10 @@ LASSO_EXPORT_VAR const xmlChar lassoSamlAuthenticationMethodSecureRemotePassword
LASSO_EXPORT_VAR const xmlChar lassoSamlAuthenticationMethodHardwareToken[];
LASSO_EXPORT_VAR const xmlChar lassoSamlAuthenticationMethodSmartcardPki[];
LASSO_EXPORT_VAR const xmlChar lassoSamlAuthenticationMethodSoftwarePki[];
-LASSO_EXPORT_VAR const xmlChar lassoSamlAuthenticationMethodPGP[];
+LASSO_EXPORT_VAR const xmlChar lassoSamlAuthenticationMethodPgp[];
LASSO_EXPORT_VAR const xmlChar lassoSamlAuthenticationMethodSPki[];
LASSO_EXPORT_VAR const xmlChar lassoSamlAuthenticationMethodXkms[];
-LASSO_EXPORT_VAR const xmlChar lassoSamlAuthenticationMethodXmlSign[];
+LASSO_EXPORT_VAR const xmlChar lassoSamlAuthenticationMethodXmlDSig[];
LASSO_EXPORT_VAR const xmlChar lassoSamlAuthenticationMethodUnspecified[];
/* ConfirmationMethods */