[Mono-list] Problems with CRLDistributionPointsExtension

Sebastien Pouliot spouliot@videotron.ca
Wed, 23 Feb 2005 11:33:25 -0500

Hello again Kim,

> CRLDistributionPointsExtension cdpExt = null;
> foreach( X509Extension xe in x509.Extensions )
> {
>   if( xe.Oid != "" )
>     continue;
>   cdpExt = new CRLDistributionPointsExtension( xe );
>   break;
> }

IIRC you can do

X509Extension ex = x509.Extensions [""];
if (ex != null)
	cdpExt = new CRLDistributionPointsExtension (xe);

> An unhandled exception of type 'System.NullReferenceException' occurred in
> Additional information: Object reference not set to an instance of an

The DistributionPoint SEQUENCE (inside the CRLDistributionPoint) isn't

Sadly it's been a while since I've worked on this code. I will eventually
resume this to support CRL and other Fx 2.0 features but until then only the
features that Mono required elsewhere are implemented.

> Any idea what I can do to make this work?

a.	Contribute the code :-) or
b.	Fill a bug in bugzilla.ximian.com, attach sample code and a sample

Sebastien Pouliot
home: spouliot@videotron.ca
blog: http://pages.infinit.net/ctech/poupou.html