Commit Graph

19 Commits

Author SHA1 Message Date
Emmanuel Raviart 570c8031ef Added new object Assertion to C# & Java bindings. 2004-09-04 08:01:50 +00:00
Frédéric Péters f405492f8b ignore some files 2004-09-02 19:30:38 +00:00
Frédéric Péters c4b7d3d6c3 new classes -> new files 2004-09-02 17:05:30 +00:00
Frédéric Péters cf811b7aef swig generate new objects/filenames 2004-08-30 09:11:01 +00:00
Frédéric Péters 0351d7076c updated c# binding for new class names 2004-08-29 12:37:07 +00:00
Emmanuel Raviart 31aa53988b Removed SWIG Lasso.c file.
Added a Python test for defederation (currently it aborts).
2004-08-27 10:56:39 +00:00
Frédéric Péters 6456f648d7 ignore new class 2004-08-25 08:34:46 +00:00
Frédéric Péters b767d59e79 added Defederation profile; workaround lasso-sharp.snk 2004-08-25 08:33:59 +00:00
Frédéric Péters 4b9f87788e updated example with correct path to certificates 2004-08-21 18:56:18 +00:00
Frédéric Péters 9ed2fd5828 more C# fun. dll is now registered with gacutil. But it needed a StrongName;
this is sort of a cryptographic signature for DLL; not clear about this.  The
key is in csharp/lasso-sharp.snk
2004-08-21 18:55:06 +00:00
Frédéric Péters 705c7d3d32 forgot to distribute lasso.dll.config 2004-08-21 17:51:41 +00:00
Frédéric Péters c608d25197 C# example 2004-08-21 17:49:11 +00:00
Frédéric Péters ca761ff5c3 some files were renamed 2004-08-21 17:46:51 +00:00
Frédéric Péters ea5c3f2215 I don't know the purpose of this file. 2004-08-21 17:45:49 +00:00
Frédéric Péters e3cc8bc557 working lasso c# binding. next step is to figure how mono manages the
directories (currently it looks like CLASSPATH mess but gacutil may be
useful).
2004-08-21 17:45:24 +00:00
Frédéric Péters a0bb363ab6 getting there; it builds and installs correctly but I'm still trying to
separate assembly name and file name. (no, I don't know what is an assembly
name)
2004-08-21 16:30:08 +00:00
Frédéric Péters f52a1fee16 a few files to ignore 2004-08-21 15:13:49 +00:00
Frédéric Péters 923c27acf4 usable lasso c# bindings; liblassosharpglue.so is installed in libdir and
lasso.dll in /usr/share/dotnet/lasso/

compile with mcs -g -nologo -r:lasso.dll -out:runme.exe runme.cs
2004-08-21 15:12:52 +00:00
Frédéric Péters a2d6291268 added c# binding; I'm not sure how all of this works and a little program
compiles and run:

using System;

public class runme
{
    static void Main()
    {
        Console.WriteLine("lasso_init");
        int rc = lassomod.lasso_init();
        Console.WriteLine(String.Format("sortie de lasso_init: {0}", rc));

        LassoServer server = new LassoServer(
                        "../tests/data/idp1-la/metadata.xml",
                        "",
                        "../tests/data/idp1-la/private-key-raw.pem",
                        "../tests/data/idp1-la/certificate.pem",
                        lassomod.lassoSignatureMethodRsaSha1);


        Console.WriteLine("lasso_shutdown");
        lassomod.lasso_shutdown();
    }
}
2004-08-21 11:23:53 +00:00