SV: [Mono-list] CertificatePoliciesExtension

Hellan.Kim KHE
Wed, 23 Feb 2005 14:23:25 +0100

Hi Sebastien

Thank you for your quick reply.
The ToString() gives me the following:
"[1]Certificate Policy:\r\n\tPolicyIdentifier=3D1.\r\n" =

...where the PolicyIdentifier is just what I need.
Maybe not the best way to find the identifier, but at least it works for


-----Oprindelig meddelelse-----
Fra: Sebastien Pouliot []=20
Sendt: 23. februar 2005 13:33
Til: Hellan.Kim KHE;
Emne: RE: [Mono-list] CertificatePoliciesExtension

Hello Kim,

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

a. decode it manually using the ASN1 class;

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

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

Sebastien Pouliot

-----Original Message-----
[]On Behalf Of Hellan.Kim KHE
Sent: 23 fevrier 2005 05:01
Subject: [Mono-list] CertificatePoliciesExtension


I just need the Policy OID (like "") from this extension,
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

___________________________________________________________________   =

Hvis du har modtaget denne mail ved en fejl vil jeg gerne, at du =
informerer mig og sletter den.
KMD skaber it-services, der fremmer effektivitet hos det offentlige, =
erhvervslivet og borgerne.

If you received this e-mail by mistake, please notify me and delete it. =
Thank you.
Our mission is to enhance the efficiency of the public sector and =
improve its service of the general public.=20