gpt4 book ai didi

java - 是否可以在 Android 中注册 java 安全提供程序?

转载 作者:行者123 更新时间:2023-11-30 04:01:34 24 4
gpt4 key购买 nike

是否可以在 Android 操作系统中注册 java.security.Provider

最佳答案

基于这个问题,我猜你不能:

http://code.google.com/p/android/issues/detail?id=21417

Query

We are developing a JCE provider and would like a way to statically register it so other apps can use it. It would also be useful if security properties can be set statically because we use them to set default algorithms and other options. In standard java both of these can be done by setting properties in the file /jre/lib/security/java.security.

Response

I'm going to decline this at this time. Android doesn't really support sharing code this way. If some kind of shared library mechanism is added to the platform, then this could be revisited. For now, apps will have to bundle providers within themselves.

关于java - 是否可以在 Android 中注册 java 安全提供程序?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12422678/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com