I\'m using PERL 5.8.8 and I\'ve not found a way to read a PrivateKEY in format pkcs#8 in perl, so I\'m trying to create a dll in C# that can do it, so I can call the methods
Win::API
is good for calling native Win32 methods, but to call .NET objects then you need to go through Win32::OLE
. You also need to register the .NET object with COM via regasm
. The full details of everything that may be required is up on perlmonks (although this is dated 2004, so things may have moved on), however it would be a starting point.