[Mono-list] ASN1Viewer port

Sebastien Pouliot sebastien.pouliot at gmail.com
Thu Apr 27 10:56:18 EDT 2006


Hello Martin,

On Thu, 2006-04-27 at 09:33 -0500, Martín Trejo Chávez wrote:
> Hi,
> 
> I'm very happy you're glad to know about this port.

I'm recursively happy that ... :)

> Right now I'm looking to substitute the TextBox control used for another 
> that simply allows to do syntax higligthing and searchs. At the beginning 
> thougth about the text editor included in SharpDevelop, but guess that is 
> too big for the task. Maybe if I try to extend the RichTextBox control....

I've seen similar things done with RichTextBox - but I never used it
myself so...

> About ASN.1 decoder, guess I was wrong about Mono.Security.ASN1 class, at 
> first look seems to be the replacement for ASN1Element but was just a vague 
> idea :P

Almost, actually it's the reverse. 

The current ASN1 class (inside Mono.Security.dll) is both a decoder and
an encoder. It was (and still is) useful for small structures (like
X.509 certificates). However it's design is quite inefficient for large
structure (e.g. a X.509 CRL can be several MB large). 

The new ASN1Decoder class (now only available in the ASN1Viewwer source
code) fix most of the (memory-related) design flaw. However I still want
to make it easier to trap errors (e.g. invalid or semi-valid ASN.1
constructs) so the API will likely change before it gets "adopted" in
Mono.Security.dll.


P.S. send me an screenshot (and/or a link) and I'll about it (soon ;-)
Thanks

> Regards,
> 
> Martín Trejo Chávez
> http://chilli-coder.blogspot.com
> http://www.chillicoder.com
> 
> ----- Original Message ----- 
> From: "Sebastien Pouliot" <sebastien.pouliot at gmail.com>
> To: "Martín Trejo Chávez" <mtrejoch at ownmail.net>
> Cc: <mono-list at lists.ximian.com>
> Sent: Wednesday, April 26, 2006 10:47 AM
> Subject: Re: [Mono-list] ASN1Viewer port
> 
> 
> > Hello Martin,
> >
> > On Tue, 2006-04-25 at 08:13 -0500, Martín Trejo Chávez wrote:
> >> Hi,
> >>
> >> Yesterday just finished the initial Winforms port of Sebastian
> >> Pouliout's ASN1View. As far it goes, is quite a direct translation.
> >
> > Great news!
> >
> >>  There is no highligthing nor find bar but works ok for my current
> >> needs.
> >
> > When complete we could look at including it into SVN (where it could be
> > build side-by-side with the GTK# gui version).
> >
> >> Also run it with Paco's VS plugin and worked ok with Mono 1.1.15 but
> >> no so with 1.1.13.6.
> >
> > A lot of SWF fixes are only occurring on HEAD.
> >
> >> The next step is modify to use the latest Mono.Security classes. I got
> >> interested because a recent engagement for a security library.
> >
> > The new ASN.1 decoder is still not included in Mono.Security. There are
> > other changes I need to make to it before that (and I don't want to
> > commit to the new API just yet). This will be done for Mono 2.0.
> >
> > -- 
> > Sebastien Pouliot  <sebastien at ximian.com>
> > Blog: http://pages.infinit.net/ctech/
> >
> > 
> 
-- 
Sebastien Pouliot  <sebastien at ximian.com>
Blog: http://pages.infinit.net/ctech/



More information about the Mono-list mailing list