summaryrefslogtreecommitdiffstats
path: root/csharp/examples
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2008-05-27 15:27:36 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2008-05-27 15:27:36 +0000
commitcab19f5814c43ade1bcac7a9ab4c29c83a6cf35d (patch)
tree6b0fb2d318c3a2fd4421956fc85dd0f1c5c7f39e /csharp/examples
parent1d35f289a88f2e1acfa0a8b975e40f3b95ff4c7c (diff)
remove obsolete swig binding csharp, php5, python.
java stays as long as alain coetmeur needs it php(4) will be superseded by the new bindings/php4 later.
Diffstat (limited to 'csharp/examples')
-rw-r--r--csharp/examples/perfs.cs36
-rw-r--r--csharp/examples/runme.cs27
2 files changed, 0 insertions, 63 deletions
diff --git a/csharp/examples/perfs.cs b/csharp/examples/perfs.cs
deleted file mode 100644
index f72d126f..00000000
--- a/csharp/examples/perfs.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * install lasso then compile with
- * mcs -g -nologo -pkg:lasso-sharp -out:perfs.exe perfs.cs
- */
-
-using System;
-
-public class perfs
-{
- static void Main()
- {
- lasso.lasso.init();
-
- lasso.Server server = new lasso.Server(
- "../../tests/data/sp1-la/metadata.xml",
- "../../tests/data/sp1-la/private-key-raw.pem",
- null,
- "../../tests/data/sp1-la/certificate.pem");
-
- server.addProvider(lasso.LassoProviderRole.PROVIDER_ROLE_SP,
- "../../tests/data/idp1-la/metadata.xml",
- "../../tests/data/idp1-la/public-key.pem",
- "../../tests/data/ca1-la/certificate.pem");
-
- lasso.Login login = new lasso.Login(server);
-
- login.initAuthnRequest("https://idp1/metadata", (lasso.LassoHttpMethod)4);
- lasso.LibAuthnRequest request = (lasso.LibAuthnRequest)login.request;
- login.request.protocolProfile = lasso.lasso.LIB_PROTOCOL_PROFILE_BRWS_POST;
- login.buildAuthnRequestMsg();
-
- Console.WriteLine(login.msgUrl);
-
- lasso.lasso.shutdown();
- }
-}
diff --git a/csharp/examples/runme.cs b/csharp/examples/runme.cs
deleted file mode 100644
index e0114b94..00000000
--- a/csharp/examples/runme.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * install lasso then compile with
- * mcs -g -nologo -pkg:lasso-sharp -out:runme.exe runme.cs
- */
-
-using System;
-
-public class runme
-{
- static void Main()
- {
- lasso.lasso.init();
-
- lasso.Server server = new lasso.Server(
- "../../tests/data/sp1-la/metadata.xml",
- "../../tests/data/sp1-la/private-key-raw.pem",
- null,
- "../../tests/data/sp1-la/certificate.pem");
- server.addProvider(lasso.LassoProviderRole.PROVIDER_ROLE_SP,
- "../../tests/data/idp1-la/metadata.xml",
- "../../tests/data/idp1-la/public-key.pem",
- "../../tests/data/ca1-la/certificate.pem");
- Console.WriteLine(server.dump());
-
- lasso.lasso.shutdown();
- }
-}