[kmf-discuss] CSRVersion

Massimiliano Pala pala at cs.dartmouth.edu
Wed Mar 21 20:27:36 PDT 2007


Hello all,

I am just struggling with the CSR interface.. still ... :( Indeed I do the
following:

	uint32_t version = 2;

	rv = KMF_SetCSRVersion( req->tbs, version );
         if( rv != KMF_OK ) goto err;

the program continues correctly, signs the request and then save it to
a file in PEM format. But when I parse it with openssl, I get the following:

	Certificate Request:
	    Data:
	        Version: 134508720 (0x80470b0)
	        Subject: CN=sulfuric
	        Subject Public Key Info:
		...

the value of the Version field seems very similar to a pointer... :) Any idea ?

Cheers,

-- 

Best Regards,

	Massimiliano Pala

--o------------------------------------------------------------------------
Massimiliano Pala [OpenCA Project Manager]            pala at cs.dartmouth.edu
                                                  project.manager at openca.org

Dartmouth Computer Science Dept               Home Phone: +1 (603) 397-3883
PKI/Trust - Office 063                        Work Phone: +1 (603) 646-9179
--o------------------------------------------------------------------------



More information about the kmf-discuss mailing list