简体   繁体   English

Android上是否支持Sun PKCS#11提供商?

[英]Is Sun PKCS#11 provider supported on Android?

Is Sun PKCS#11 provider supported on Android? Android上是否支持Sun PKCS#11提供商? Or can it be moved to Android somehow? 或者它可以以某种方式移动到Android?

Thank you. 谢谢。

No. Sun==Oracle => copying bad :) 不。太阳==甲骨文=>复制不好:)

Seriously though, it is not available in Android and there is not standard PKCS#11 support either (although JB does use a proprietary PKCS#11 provider for some things). 但严重的是,它在Android中不可用,并且没有标准的PKCS#11支持(尽管JB确实使用了专有的PKCS#11提供程序)。 Not sure if the code is in OpenJDK, but if it is, you can try to port it. 不确定代码是否在OpenJDK中,但如果是,则可以尝试移植它。 However, since it is unlikely that you actually need to use the full PKCS#11 API, it will be much easier to write JNI wrappers only for the functions you need (sighing, verifying, hashing, etc.). 但是,由于您实际上不太可能需要使用完整的PKCS#11 API,因此仅为您需要的功能(叹气,验证,散列等)编写JNI包装器会容易得多。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM