[Mono-list] X509Extensions and X509CertificateBuilder

Hellan.Kim KHE KHE at kmd.dk
Wed Jan 4 06:54:47 EST 2006

I'm trying to use X509CertificateBuilder to create a certificate and I
would like to add extensions.
As the first I would have liked to add a KeyUsageExtension, but ran into
problems. It seems that the extension classes are mainly there for
reading extensions in certificates, not for creating them.

1) How do I set what keyusage purposes this extension should contain?
2) How do I specify that this extension should be critical? The Critical
property is read only.

Any hints appreciated!


www.kmd.dk   www.kundenet.kmd.dk   www.eboks.dk   www.civitas.dk   www.netborger.dk www.organisator.dk

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. 

More information about the Mono-list mailing list