Some more plumbing for name attributes
[cyrus-sasl.git] / mech_eap / util_saml.h
index 3663c1d..374be78 100644 (file)
@@ -43,7 +43,29 @@ samlDuplicateAssertion(OM_uint32 *minor,
                        struct eap_gss_saml_assertion **out);
 
 OM_uint32
+samlExportAssertion(OM_uint32 *minor,
+                    struct eap_gss_saml_assertion *assertion,
+                    gss_buffer_t buffer);
+
+OM_uint32
 samlFreeAssertion(OM_uint32 *minor,
                   struct eap_gss_saml_assertion *assertion);
 
+OM_uint32
+samlGetAttribute(OM_uint32 *minor,
+                 struct eap_gss_saml_assertion *assertion,
+                 gss_buffer_t attr,
+                 int *authenticated,
+                 int *complete,
+                 gss_buffer_t value,
+                 gss_buffer_t display_value,
+                 int *more);
+
+OM_uint32
+samlSetAttribute(OM_uint32 *minor,
+                 struct eap_gss_saml_assertion *assertion,
+                 int complete,
+                 gss_buffer_t attr,
+                 gss_buffer_t value);
+
 #endif /* _UTIL_SAML_H_ */