Hi,
I have a problem. I would to add an extension to a certificate request for the certification authority. Using Xenroll I did. With Certenroll I have follow this Microsoft topic:
http://msdn.microsoft.com/en-us/library/bb545676(VS.85).aspx#AddExtensionsToRequestI did to create an ObjectId correctly. When I tryied to initialize IX509Extension I received this error:
Data is invalid 0x8007000d (WIN32: 13)
Probably the error is the type of encoded data that I pass to the function:
IX509Extension.Initialize(ObjectId, XCN_CRYPT_STRING_BASE64, encodeData)
Can someone help me?