Hi,<div><br></div><div>Finally I can compile security.cpp and gets a sunmscapi.dll for 64bits. I use this dll with sunmscapi java classes and works fine in windows7 with jvm 64bits. Now I'm trying to do the same with sunPKCS11 provider because j2pkcs11.dll is also missing in windows JVM 64 bits distributions, but this time seems more difficult. Does Anybody know if the classes which I must compile are the next or I missing someone:</div>
<div><br></div><div><p class="MsoNormal">src/windows/native/sun/security/pkcs11/j2secmod_md.c<span style="mso-tab-count:2">                       </span></p>

<p class="MsoNormal">src/windows/native/sun/security/pkcs11/j2secmod_md.h<span style="mso-tab-count:2">                      </span></p>

<p class="MsoNormal">src/windows/native/sun/security/pkcs11/wrapper/p11_md.c<span style="mso-tab-count:2">                                </span></p>

<p class="MsoNormal">src/windows/native/sun/security/pkcs11/wrapper/p11_md.h</p>

<p class="MsoNormal">src/share/native/sun/security/pkcs11/wrapper/p11_convert.c<span style="mso-tab-count:2">                             </span></p><p class="MsoNormal"></p>

<p class="MsoNormal">src/share/native/sun/security/pkcs11/wrapper/p11_crypt.c<span style="mso-tab-count:2">                   </span></p>

<p class="MsoNormal">src/share/native/sun/security/pkcs11/wrapper/p11_digest.c<span style="mso-tab-count:2">                 </span></p>

<p class="MsoNormal">src/share/native/sun/security/pkcs11/wrapper/p11_dual.c<span style="mso-tab-count:2">                     </span></p>

<p class="MsoNormal">src/share/native/sun/security/pkcs11/wrapper/p11_general.c<span style="mso-tab-count:2">                              </span></p>

<p class="MsoNormal">src/share/native/sun/security/pkcs11/wrapper/p11_keymgmt.c<span style="mso-tab-count:2">                          </span></p>

<p class="MsoNormal">src/share/native/sun/security/pkcs11/wrapper/p11_mutex.c<span style="mso-tab-count:2">                </span></p>

<p class="MsoNormal">src/share/native/sun/security/pkcs11/wrapper/p11_objmgmt.c<span style="mso-tab-count:2">                           </span></p>

<p class="MsoNormal">src/share/native/sun/security/pkcs11/wrapper/p11_sessmgmt.c<span style="mso-tab-count:2">                         </span></p>

<p class="MsoNormal">src/share/native/sun/security/pkcs11/wrapper/p11_sign.c<span style="mso-tab-count:2">                      </span></p>

<p class="MsoNormal">src/share/native/sun/security/pkcs11/wrapper/p11_util.c<span style="mso-tab-count:2">                       </span></p>

<p class="MsoNormal">src/share/native/sun/security/pkcs11/wrapper/pkcs11.h<span style="mso-tab-count:2">                         </span></p>

<p class="MsoNormal">src/share/native/sun/security/pkcs11/wrapper/pkcs11f.h<span style="mso-tab-count:2">                        </span></p>

<p class="MsoNormal">src/share/native/sun/security/pkcs11/wrapper/pkcs11t.h<span style="mso-tab-count:2">                        </span></p>

<p class="MsoNormal">src/share/native/sun/security/pkcs11/wrapper/pkcs11wrapper.h<span style="mso-tab-count:2">                        </span></p><p class="MsoNormal"><span style="mso-tab-count:2"><br></span></p><p class="MsoNormal">
<span style="mso-tab-count:2">anyway, if someone has already compiled the dll and wants to give me it... would be perfect ;).</span></p><p class="MsoNormal"><span style="mso-tab-count:2"><br></span></p><p class="MsoNormal">
<span style="mso-tab-count:2">Thanks in advance,</span></p><p class="MsoNormal"><span style="mso-tab-count:2"><br></span></p><p class="MsoNormal"><font class="Apple-style-span" face="arial, sans-serif" size="3"><br></font></p>
<p class="MsoNormal"><br></p><br><div class="gmail_quote">On Wed, Apr 6, 2011 at 2:07 PM, Albert Ciffone <span dir="ltr"><<a href="mailto:albert.ciffone@gmail.com">albert.ciffone@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Vincent,<div><br></div><div>Thanks ;), anywise I can't wait for solution so I try to compile security.cpp for windows JVM 64bits.</div><div><br></div><div>Regards,<div><div></div><div class="h5"><br><br><div class="gmail_quote">
On Wed, Apr 6, 2011 at 1:57 PM, Vincent Ryan <span dir="ltr"><<a href="mailto:vincent.x.ryan@oracle.com" target="_blank">vincent.x.ryan@oracle.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div>On 04/ 6/11 11:36 AM, Albert Ciffone wrote:<br>
> Hi,<br>
><br>
> I'm working with sunmscapi provider to deal with keys in windows keystore. My<br>
> code works properly in windows with JVM 32bit installation, but in JVM 64 bits<br>
> installation my code fails because sunmscapi.dll is not in this distributions.<br>
> Can anybody says me where I can find the source code of this dll in order to<br>
> compile it for 64 bits distributions?<br>
><br>
> Thanks in advance,<br>
<br>
</div></div>A fix to address this RFE will appear in the next week or so:<br>
    <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6931562" target="_blank">http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6931562</a><br>
<br>
Otherwise, the sources are in the usual place:<br>
    <a href="http://hg.openjdk.java.net/jdk7/jdk7/jdk/file/29296ea6529a" target="_blank">http://hg.openjdk.java.net/jdk7/jdk7/jdk/file/29296ea6529a</a><br>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>