Dependencies of Bouncy Castle OpenPGP library on the Bouncy Castle provider

痴心易碎 提交于 2019-12-11 04:58:43

问题


The Bouncy Castle library has an OpenPGP Maven listing which specifies that it relies during compile time on the Bouncy Castle Provider, which is a separate module / artifact / library / .jar file. However, the OpenPGP library has been build on top of the Java Cryptography Architecture (JCA) per its own specifications (using e.g. Cipher with a CipherSpi implementation for instance, provided by a Java security provider).

How does the OpenPGP library depend on the Bouncy Castle provider?

  • Does it use the library directly through the "lightweight" API (is it really a compile time requirement, in other words)?
  • Does it depend on cryptographic functions in the library for common OpenPGP functionality?
  • Does it depend on cryptographic functions in the library to implement specific functionality such as Elliptic Curves?

If it depends on runtime functionality, should the provider be placed in a specific location in the prioritized list of providers?

Is it required for the OpenPGP API version and Bouncy Castle provider version to match?

来源:https://stackoverflow.com/questions/54675216/dependencies-of-bouncy-castle-openpgp-library-on-the-bouncy-castle-provider

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!