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: [EMAIL PROTECTED]
blog: http://pages.infinit.net/ctech/poupou.html

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Hellan.Kim KHE
Sent: 23 fevrier 2005 05:01
To: [email protected]
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

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to