[Mono-dev] Question about Mono.Security.X509
David Isaac Wolinsky
davidiw at ufl.edu
Fri Jun 13 02:08:56 EDT 2008
Attached is a patch to allow creation of the SubjectAltName Extension
using X509CertificateBuilder. There are some unit tests and I confirmed
using openssl, System.Security.Cryptography.X509Certificates, and
Mono.Security.X509 to read the certificates.
I also went ahead and fixed the IP Address code and again confirmed it
worked with openssl. Please let me know if there needs to be more unit
tests, I would like to believe that I didn't really add anything
substantial that needed more thorough testing than what I did.
Are there any code freezes in Mono? Or will this appear in the next
released version (assuming you're happy with the patch?).
Regards,
David
Sebastien Pouliot wrote:
> Hello David,
>
> On Thu, 2008-06-12 at 14:26 -0400, David Wolinsky wrote:
>
>> Is anyone working on X509CertificateBuilder.
>>
>
> AFAIK no one. The actual class does everything that mono itself requires
> (mostly implementing the makecert tool).
>
>
>> I am putting together a
>> little work to add a single URI to SubjectAltName and add the extension
>> to the CertificateBuilder. It appears to work in both .Net and Mono.
>> They were able to properly read the certificate and Identify the
>> SubjectAltName. If someone is working on this, how much more robust
>> would you want this before you would take it in as a patch?
>>
>
> Mono.Security is stable so any change must be forward compatible (e.g.
> adding new stuff is possible but changing existing API is unlikely to be
> possible).
>
> Also any new features should come with unit tests to make sure any
> future change won't break them.
>
> Other than this it's as simple as posting your patch for review on this
> list (as long as you're willing the code to be available under the MIT
> X11 license).
>
> Thanks!
> Sebastien
>
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mono.security.patch
Type: text/x-diff
Size: 9588 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080613/e3d8c78a/attachment.bin
More information about the Mono-devel-list
mailing list