mail-archives/mono-list/2005-February/026000.html

92 строки
3.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-list] Problems with CRLDistributionPointsExtension
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:spouliot%40videotron.ca">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="025983.html">
<LINK REL="Next" HREF="025986.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-list] Problems with CRLDistributionPointsExtension
</H1>
<B>Sebastien Pouliot
</B>
<A HREF="mailto:spouliot%40videotron.ca"
TITLE="[Mono-list] Problems with CRLDistributionPointsExtension">spouliot@videotron.ca
</A><BR>
<I>Thu, 24 Feb 2005 08:16:15 -0500</I>
<P><UL>
<LI> Previous message: <A HREF="025983.html">VS: [Mono-list] Problems with CRLDistributionPointsExtension
</A></li>
<LI> Next message: <A HREF="025986.html">SV: [Mono-list] Problem with Windows .NET and Mono.Security
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#26000">[ date ]</a>
<a href="thread.html#26000">[ thread ]</a>
<a href="subject.html#26000">[ subject ]</a>
<a href="author.html#26000">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Hello Kim,
&gt;<i> Thank you (again)!
</I>&gt;<i> Do you have any example code about how I can parse the ASN.1 myself?
</I>
The best source is to look at the other attributes source code in
Mono.Security
<A HREF="http://svn.myrealbox.com/viewcvs/trunk/mcs/class/Mono.Security/Mono.Security">http://svn.myrealbox.com/viewcvs/trunk/mcs/class/Mono.Security/Mono.Security</A>
.X509.Extensions/
and the RFC specs that have the ASN.1 definitions. You'll probably find that
one in RFC3280.
&gt;<i> All I need is the Directory Access value in plain text, but
</I>&gt;<i> unfortunately I don't know anything about ASN.1.
</I>&gt;<i>
</I>&gt;<i> I have now moved almost all my code from using OpenSSL to Mono regarding
</I>&gt;<i> the certificate handling, and this Directory Access value is the very
</I>&gt;<i> last thing I need to implement before I can dump OpenSSL.
</I>
Great :)
&gt;<i> ANY help appreciated :-)
</I>
Give it a try. If it doesn't work then open a bug in bugzilla.ximian.com for
Mono.Security.dll
include your code and a sample certificate and I will have a look at it.
&gt;<i> PS!
</I>&gt;<i> X509Extension ex = x509.Extensions [&quot;2.5.29.31&quot;];
</I>&gt;<i> ...works just fine.
</I>
Glad :)
Sebastien Pouliot
home: <A HREF="mailto:spouliot@videotron.ca">spouliot@videotron.ca</A>
blog: <A HREF="http://pages.infinit.net/ctech/poupou.html">http://pages.infinit.net/ctech/poupou.html</A>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="025983.html">VS: [Mono-list] Problems with CRLDistributionPointsExtension
</A></li>
<LI> Next message: <A HREF="025986.html">SV: [Mono-list] Problem with Windows .NET and Mono.Security
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#26000">[ date ]</a>
<a href="thread.html#26000">[ thread ]</a>
<a href="subject.html#26000">[ subject ]</a>
<a href="author.html#26000">[ author ]</a>
</LI>
</UL>
</body></html>