Hi,
suppose I have an MS certificate. I want to read its v2 template
name, (OID 1.3.6.1.4.1.311.21.7).
When doing a dump of the certificate, I couldn't find there any
string, even though the certificate probably does contain some name.
While an article [1] recommends to find out the information thru
ICertView Windows API, I'd like to do that programmatically myself, in a
Windows API independent way.
Now: maybe I am not getting the MS documentation but is the template
name encoded as part of 1.3.6.1.4.1.311.21.8 OID? If so, how? If not,
where is that text?
Microsoft's own example of this stuff (from [2]):
SEQUENCE :
OBJECT IDENTIFIER : [1.3.6.1.4.1.311.21.7]
OCTET STRING :
SEQUENCE :
OBJECT IDENTIFIER :
[1.3.6.1.4.1.311.21.8.4014942.3497959.5914804.3829722.12246394.103.3066650.1537810]
INTEGER : 100
INTEGER : 2
[1]
http://groups.google.com/group/microsoft.public.security.crypto/browse_frm/thread/5017c7cae9b865b6/39b52e619aec25fb?lnk=st&q=14866E57-50D2-4611-B303-91F702FE78D7%40microsoft.com&rnum=1#39b52e619aec25fb
[2]
http://technet2.microsoft.com/WindowsServer/en/Library/76cbcd89-125f-45f2-a4df-52dc96669b871033.mspx?mfr=true
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [email protected]
Automated List Manager [EMAIL PROTECTED]