summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lasso/id-wsf/wsf_profile.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/lasso/id-wsf/wsf_profile.c b/lasso/id-wsf/wsf_profile.c
index 89fdacd5..6621954b 100644
--- a/lasso/id-wsf/wsf_profile.c
+++ b/lasso/id-wsf/wsf_profile.c
@@ -141,6 +141,13 @@ lasso_wsf_profile_add_credential(LassoWsfProfile *profile, xmlNode *credential)
return 0;
}
+/**
+ * lasso_wsf_profile_set_public_key:
+ * @profile: a #LassoWsfProfile
+ * @public_key: a string containg an encoded public key.
+ *
+ * Setup a public key to validate credentials on received requests.
+ */
void
lasso_wsf_profile_set_public_key(LassoWsfProfile *profile, const char *public_key)
{