Is there a way to connect to a vendor provided PKCS11 dll through JavaME just as you can do thourgh j2se. Does Java Mobile support JNI? I am very new to J2ME, so any help would be appreciated.
Does Bouncy Castle or anyother crypto librarys provide functionality to connect to P11 dlls in J2ME
unfortunately no, there is no JNI in Java ME and there is no way how to connect to any native OS services. You have only the Java ME JSRs which are to some level implemented on particular devices.
Regarding the security and encryption services check the JSR-177 [http://www.jcp.org/en/jsr/summary?id=177|http://www.jcp.org/en/jsr/summary?id=177].