[Mono-list] CertificatePoliciesExtension

Sebastien Pouliot spouliot@videotron.ca
Wed, 23 Feb 2005 07:32:57 -0500


Hello Kim,

This extension is only partially supported in Mono.Security.dll, so you can
either:

a. decode it manually using the ASN1 class;

b. Parse the result of CertificatePoliciesExtension.ToString () to see if
your OID is present.

The last one is much easier if you only want to find your OID from a string
representation.

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

-----Original Message-----
From: mono-list-admin@lists.ximian.com
[mailto:mono-list-admin@lists.ximian.com]On Behalf Of Hellan.Kim KHE
Sent: 23 fevrier 2005 05:01
To: mono-list@lists.ximian.com
Subject: [Mono-list] CertificatePoliciesExtension


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