| Lasso Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
char * lasso_build_unique_id (unsigned int size); gboolean lasso_profile_is_saml_query (const gchar *query); LassoSaml2EncryptedElement * lasso_provider_saml2_node_encrypt (const LassoProvider *provider,LassoNode *lasso_node);
char * lasso_build_unique_id (unsigned int size);
Builds an ID which has an unicity probability of 2^(-size*4).
|
the ID's length (between 32 and 40) |
Returns : |
a "unique" ID (begin always with _ character). [transfer full] |
LassoSaml2EncryptedElement * lasso_provider_saml2_node_encrypt (const LassoProvider *provider,LassoNode *lasso_node);
Dump the node object to an XML fragment, then encrypt this fragment using encryption key of
provider, then encapsulate the resulting encrypted content into a LassoSaml2EncryptedElement.
|
a LassoProvider object |
|
a LassoNode object |
Returns : |
a newly created LassoSaml2EncryptedElement if successfull, NULL otherwise. |