source c++ code for sunmscapi.dll

Brad Wetmore bradford.wetmore at oracle.com
Wed Apr 13 23:46:55 UTC 2011


/solaris/native/sun/security/pkcs11
./share/classes/sun/security/pkcs11
./share/native/sun/security/pkcs11
./windows/native/sun/security/pkcs11

Brad


On 4/13/2011 7:59 AM, Albert Ciffone wrote:
> Hi,
>
> 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:
>
> src/windows/native/sun/security/pkcs11/j2secmod_md.c
>
> src/windows/native/sun/security/pkcs11/j2secmod_md.h
>
> src/windows/native/sun/security/pkcs11/wrapper/p11_md.c
>
> src/windows/native/sun/security/pkcs11/wrapper/p11_md.h
>
> src/share/native/sun/security/pkcs11/wrapper/p11_convert.c
>
> src/share/native/sun/security/pkcs11/wrapper/p11_crypt.c
>
> src/share/native/sun/security/pkcs11/wrapper/p11_digest.c
>
> src/share/native/sun/security/pkcs11/wrapper/p11_dual.c
>
> src/share/native/sun/security/pkcs11/wrapper/p11_general.c
>
> src/share/native/sun/security/pkcs11/wrapper/p11_keymgmt.c
>
> src/share/native/sun/security/pkcs11/wrapper/p11_mutex.c
>
> src/share/native/sun/security/pkcs11/wrapper/p11_objmgmt.c
>
> src/share/native/sun/security/pkcs11/wrapper/p11_sessmgmt.c
>
> src/share/native/sun/security/pkcs11/wrapper/p11_sign.c
>
> src/share/native/sun/security/pkcs11/wrapper/p11_util.c
>
> src/share/native/sun/security/pkcs11/wrapper/pkcs11.h
>
> src/share/native/sun/security/pkcs11/wrapper/pkcs11f.h
>
> src/share/native/sun/security/pkcs11/wrapper/pkcs11t.h
>
> src/share/native/sun/security/pkcs11/wrapper/pkcs11wrapper.h
>
>
> anyway, if someone has already compiled the dll and wants to give me
> it... would be perfect ;).
>
>
> Thanks in advance,
>
>
>
>
>
> On Wed, Apr 6, 2011 at 2:07 PM, Albert Ciffone <albert.ciffone at gmail.com
> <mailto:albert.ciffone at gmail.com>> wrote:
>
>     Hi Vincent,
>
>     Thanks ;), anywise I can't wait for solution so I try to compile
>     security.cpp for windows JVM 64bits.
>
>     Regards,
>
>
>     On Wed, Apr 6, 2011 at 1:57 PM, Vincent Ryan
>     <vincent.x.ryan at oracle.com <mailto:vincent.x.ryan at oracle.com>> wrote:
>
>         On 04/ 6/11 11:36 AM, Albert Ciffone wrote:
>          > Hi,
>          >
>          > I'm working with sunmscapi provider to deal with keys in
>         windows keystore. My
>          > code works properly in windows with JVM 32bit installation,
>         but in JVM 64 bits
>          > installation my code fails because sunmscapi.dll is not in
>         this distributions.
>          > Can anybody says me where I can find the source code of this
>         dll in order to
>          > compile it for 64 bits distributions?
>          >
>          > Thanks in advance,
>
>         A fix to address this RFE will appear in the next week or so:
>         http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6931562
>
>         Otherwise, the sources are in the usual place:
>         http://hg.openjdk.java.net/jdk7/jdk7/jdk/file/29296ea6529a
>
>
>



More information about the security-dev mailing list