No. Sun == Oracle => copying bad :)
Seriously, however, it is not available on Android and standard PKCS # 11 support is not supported (although JB does use the proprietary PKCS # 11 provider for some things). Not sure if the code is in OpenJDK, but if so, you can try porting it. However, since it is unlikely that you really need to use the full PKCS # 11 API, it will be much easier to write JNI wrappers only for the functions you need (sighs, validation, hashing, etc.).
source share