Re: [Mono-list] Creating a certificate

2007-09-04 Thread Hellan.Kim KHE
lse- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af Sebastien Pouliot Sendt: 4. september 2007 13:54 Til: Hellan.Kim KHE Cc: Mono List Emne: Re: [Mono-list] Creating a certificate Hey, On Tue, 2007-09-04 at 10:57 +0200, Hellan.Kim KHE wrote: > Hi, > > It's been a

[Mono-list] Creating a certificate

2007-09-04 Thread Hellan.Kim KHE
Hi, It's been a while since I have been looking at the Mono support for creating a certificate. Last time I looked, Mono couldn't quite create the certificate that I needed. I need: A certificate signed by a CA (cert/key). Support for keyUsage, crlDistributionPoints, basicConstraints, certificateP

Re: [Mono-list] SAML 2.0

2007-08-29 Thread Hellan.Kim KHE
PROTECTED] Sendt: 27. august 2007 16:01 Til: Hellan.Kim KHE Cc: Mono List Emne: Re: [Mono-list] SAML 2.0 Hello Kim, On Mon, 2007-08-27 at 22:30 +0900, Atsushi Eno wrote: > http://www.sourceid.org/ might support SAML 2.0. it's been a while but IIRC Sun had an open-source implementation of SAML

[Mono-list] SAML 2.0

2007-08-27 Thread Hellan.Kim KHE
Hi I know this isn't really the right place to ask, but I'll give it a shot anyway. I need to make a (C#) client supporting SAML 2.0. I'd rather not start from scratch, so does anyone know a good SAML 2.0 toolkit/API? Thanks, Kim ___ Mono-list maillist

SV: [Mono-list] RSA.Create() - major performance issues

2006-04-07 Thread Hellan.Kim KHE
OTECTED] Sendt: 7. april 2006 14:20 Til: Hellan.Kim KHE Cc: mono-list@lists.ximian.com Emne: Re: [Mono-list] RSA.Create() - major performance issues Hello Kim, On Fri, 2006-04-07 at 09:33 +0200, Hellan.Kim KHE wrote: > I'm trying to create a component that should be used in a > webapp

[Mono-list] RSA.Create() - major performance issues

2006-04-07 Thread Hellan.Kim KHE
I'm trying to create a component that should be used in a webapplication. It involves parsing of PKCS#12/PKCS#7 and creating signed/encrypted PKCS#7. It works fine, except the performance is really, really bad. Some places in the code I have lines like this: RSA signKey = RSA.Create(); signKey

SV: [Mono-list] Problem with crypto in assembly wrapped in COM

2006-02-14 Thread Hellan.Kim KHE
diately. If you want a bugzilla report to initiate it, let me know and I will make one. Thanks, Kim -Oprindelig meddelelse- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af Hellan.Kim KHE Sendt: 10. februar 2006 09:35 Til: [EMAIL PROTECTED] Cc: mono-list@lists.ximian.com Emne:

SV: [Mono-list] Problem with crypto in assembly wrapped in COM

2006-02-10 Thread Hellan.Kim KHE
en Pouliot [mailto:[EMAIL PROTECTED] Sendt: 8. februar 2006 15:24 Til: Hellan.Kim KHE Cc: mono-list@lists.ximian.com Emne: Re: [Mono-list] Problem with crypto in assembly wrapped in COM Hello Kim, On Wed, 2006-02-08 at 13:24 +0100, Hellan.Kim KHE wrote: > We have an assembly containing crypto fun

[Mono-list] Problem with crypto in assembly wrapped in COM

2006-02-08 Thread Hellan.Kim KHE
We have an assembly containing crypto functionality (X.509 certificates, PKCS#12, PKCS#7...) from Mono.Security.dll. So far it has been running fine in both WinForm and Webform environments (.NET 2.0). We have had to wrap this assembly in COM to allow it to be run from old ASP platforms. We now get

[Mono-list] UTF8 Encoding of data in PKCS#7

2006-01-18 Thread Hellan.Kim KHE
If you got a string you want PKCS#7 sign or envelope, are you then supposed to UTF8 encode it yourself before adding the data to the relevant Mono classes, or is that handled internally by Mono? I got a string where I can either choose: byte[] data = System.Text.Encoding.UTF8.GetBytes(myString);

[Mono-list] Danish chars in certificate SubjectName missing

2006-01-16 Thread Hellan.Kim KHE
I have a certificate where the common name contains the following danish word "Møbelhandel". OpenSSL and Windows certificate browser are both able to show this word correctly, but when I call the X509Certificate.SubjectName property, I just get "Mbelhandel". The danish 'ø' character is missing.

[Mono-list] X509Extensions and X509CertificateBuilder

2006-01-04 Thread Hellan.Kim KHE
I'm trying to use X509CertificateBuilder to create a certificate and I would like to add extensions. As the first I would have liked to add a KeyUsageExtension, but ran into problems. It seems that the extension classes are mainly there for reading extensions in certificates, not for creating them.

SV: [Mono-list] OCSP client

2005-12-23 Thread Hellan.Kim KHE
-list@lists.ximian.com Emne: Re: [Mono-list] OCSP client BouncyCastle is a very good Java package for your needs. There is a C# port: http://www.bouncycastle.org/csharp/ Hellan.Kim KHE wrote: > I'm trying to build an OCSP client, so my question is: > Is there anyone here who has used Mo

[Mono-list] OCSP client

2005-12-23 Thread Hellan.Kim KHE
I'm trying to build an OCSP client, so my question is: Is there anyone here who has used Mono to build an OCSP client? Any pointers or sample code would be appreciated. Thank you! and merry christmas to all of you :) /Kim __

SV: SV: [Mono-list] Verifying end certificate againstrootcertificates in store

2005-10-12 Thread Hellan.Kim KHE
for issuer verification of my end certificates. It's not a must that these are located in the Windows certificate store. If Mono uses some other kind of store, I can use that too. Thanks, Kim -Oprindelig meddelelse- Fra: Sebastien Pouliot [mailto:[EMAIL PROTECTED] Sendt: 11. oktobe

SV: [Mono-list] Verifying end certificate against rootcertificates in store

2005-10-11 Thread Hellan.Kim KHE
certificate? I know I'm ignoring checking of certificate chains here. I just want to make a simple check if possible. Thanks, Kim -Oprindelig meddelelse- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af Sebastien Pouliot Sendt: 11. oktober 2005 15:54 Til: Hellan.K

[Mono-list] Verifying end certificate against root certificates in store

2005-10-11 Thread Hellan.Kim KHE
I'm looking for the "correct" way of verifying the issuer of a X509Certificate (end certificate) against all root certificates in found in the LOCAL_MACHINE "Trusted root authorities" certificate store in Windows. Does anyone have some example code they want to share for doing that task? Thanks!

[Mono-list] PKCS#7 implementation without signers certificate

2005-09-27 Thread Hellan.Kim KHE
I need to create a signed PKCS#7 Message, but signers certificate should NOT be included in the PKCS#7 (I need a small footprint). I know that according to the standards this is allowed, but can you bring Mono to produce such a PKCS#7? Thanks, Kim __

SV: SV: SV: SV: [Mono-list] PKCS#12 example

2005-09-23 Thread Hellan.Kim KHE
7 Til: mono-list@lists.ximian.com Emne: Re: SV: SV: SV: [Mono-list] PKCS#12 example Hellan.Kim KHE wrote: >>I'll have a more in-depth >>look at this tonight if nobody do this until then. >> >> > >Thank you, I really appreciate that! > > Unfortunate

SV: [Mono-list] Verifying certificate against root certs in store

2005-09-22 Thread Hellan.Kim KHE
st post. /Kim -Oprindelig meddelelse- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af Julien Gilli Sendt: 22. september 2005 15:07 Til: mono-list@lists.ximian.com Emne: Re: [Mono-list] Verifying certificate against root certs in store Hellan.Kim KHE wrote: >I'm looking fo

[Mono-list] Verifying certificate against root certs in store

2005-09-22 Thread Hellan.Kim KHE
I'm looking for the "correct" way of verifying a X509Certificate (issuer) against all certificates in found in the LOCAL_MACHINE "Trusted root authorities" certificate store in Windows. Does anyone have some example code they want to share for doing that task? Thanks! /Kim ___

SV: SV: SV: [Mono-list] PKCS#12 example

2005-09-22 Thread Hellan.Kim KHE
ECTED] [mailto:[EMAIL PROTECTED] På vegne af Julien Gilli Sendt: 22. september 2005 10:30 Til: mono-list@lists.ximian.com Emne: Re: SV: SV: [Mono-list] PKCS#12 example Hellan.Kim KHE wrote: >Thank for that advice. I can see that there definitely is something wrong with >the PKCS#12 (no attributes).

SV: SV: [Mono-list] PKCS#12 example

2005-09-22 Thread Hellan.Kim KHE
ECTED] På vegne af Julien Gilli Sendt: 22. september 2005 09:32 Til: mono-list@lists.ximian.com Emne: Re: SV: [Mono-list] PKCS#12 example Hellan.Kim KHE wrote: >So whenever I try to install this PKCS#12, the certificate is put in the >"Other people" category instead of "Per

SV: [Mono-list] PKCS#12 example

2005-09-21 Thread Hellan.Kim KHE
what could be wrong? Thanks! Kim -Oprindelig meddelelse- Fra: Sebastien Pouliot [mailto:[EMAIL PROTECTED] Sendt: 20. september 2005 15:53 Til: Hellan.Kim KHE Cc: mono-list@lists.ximian.com Emne: Re: [Mono-list] PKCS#12 example Hello Kim, On Tue, 2005-20-09 at 14:13 +0200, Hellan.Kim KHE w

[Mono-list] PKCS#12 example

2005-09-20 Thread Hellan.Kim KHE
Hi   I need to create the following simple PKCS#12: - Containing private key and certificate - Containing 1 additional certificate - With a "Friendly Name" specified - Password protected   Does anyone have a small example for that, or can you direct to where I can find examples for

[Mono-list] PKCS7 example

2005-04-14 Thread Hellan.Kim KHE
I need to create a signed and encrypted PKCS#7 Message. Does anyone have an example of how to do that in Mono?   Med venlig hilsen / Best regards   Kim Hellan ___ www.kmd.dk www.kundenet.kmd.dk www.eboks.dk www.civitas.d

VS: SV: SV: [Mono-list] Problem with Windows .NET and Mono.Security

2005-02-25 Thread Hellan.Kim KHE
ror. /Kim -Oprindelig meddelelse- Fra: Francisco T. Martinez [mailto:[EMAIL PROTECTED] Sendt: 24. februar 2005 17:01 Til: Hellan.Kim KHE Cc: mono-list@lists.ximian.com Emne: Re: SV: SV: [Mono-list] Problem with Windows .NET and Mono.Security Unfortunately, the URL did something called wra

[Mono-list] Bug in X509Certificate.SubjectName

2005-02-24 Thread Hellan.Kim KHE
I have a certificate with the following subject information (from Windows certificate browser): Serialnumber = PID:9802-2002-2-095874063962 CN = Kim Hellan Larsen O = Ingen organisatorisk tilknytning C = DK If I use the System.Security.Cryptography.X509Certificates.X509Certificate.GetName() to

SV: SV: [Mono-list] Problem with Windows .NET and Mono.Security

2005-02-24 Thread Hellan.Kim KHE
Sendt: 24. februar 2005 11:32 Til: mono-list@lists.ximian.com Cc: Hellan.Kim KHE; [EMAIL PROTECTED] Emne: Re: SV: [Mono-list] Problem with Windows .NET and Mono.Security Please try using the Mono assembly library modules that are includede in Mono 1.1.4. You can obtain the installer at the officia

SV: [Mono-list] Problem with Windows .NET and Mono.Security

2005-02-24 Thread Hellan.Kim KHE
I've got no solution, but I just want to say, that I also got the "Error: Strong name validation failed for >assembly 'Mono.Security'." when I tried to use the assembly that comes with >Mono 1.0.5 installation. I didn't solve it, but had to use another Mono DLL I found in some 3rd party softwar

VS: [Mono-list] Problems with CRLDistributionPointsExtension

2005-02-24 Thread Hellan.Kim KHE
[mailto:[EMAIL PROTECTED] Sendt: 23. februar 2005 17:33 Til: Hellan.Kim KHE Cc: mono-list@lists.ximian.com Emne: RE: [Mono-list] Problems with CRLDistributionPointsExtension Hello again Kim, > CRLDistributionPointsExtension cdpExt = null; > foreach( X509Extension xe in x509.Extensions

[Mono-list] Problems with CRLDistributionPointsExtension

2005-02-23 Thread Hellan.Kim KHE
I get exceptions when trying to parse a CRLDistributionPointsExtension object since I need to find the directory location of the CRL. My code looks something like this:   CRLDistributionPointsExtension cdpExt = null;foreach( X509Extension xe in x509.Extensions ) {  if( xe.Oid != "2.5.29.31"

SV: [Mono-list] CertificatePoliciesExtension

2005-02-23 Thread Hellan.Kim KHE
now. /Kim -Oprindelig meddelelse- Fra: Sebastien Pouliot [mailto:[EMAIL PROTECTED] Sendt: 23. februar 2005 13:33 Til: Hellan.Kim KHE; mono-list@lists.ximian.com Emne: RE: [Mono-list] CertificatePoliciesExtension Hello Kim, This extension is only partially supported in Mono.Security.dll,

[Mono-list] CertificatePoliciesExtension

2005-02-23 Thread Hellan.Kim KHE
Hi   I just need the Policy OID (like "1.2.3.4.5.6.7.8") from this extension, but I don't know how extract this information? The class contains a "policies" member, but this member is private, so I can't get the OID.   Any ideas how to get the Policy OID?   Med venlig hilsen / Best regards