GithubHelp home page GithubHelp logo

Comments (3)

rtyley avatar rtyley commented on September 27, 2024

As you've noticed, the javax.naming package isn't available in Android, though it's used by Bouncy Castle (and hence referenced by Spongy Castle) in X509LDAPCertStoreSpi ("a general purpose implementation to get X.509 certificates and CRLs from a LDAP location.") and several other classes:

https://github.com/bcgit/bc-java/blob/b4296f9f0650b6e2c57ac3c6ee1093092d510462/prov/src/main/java/org/bouncycastle/jce/provider/X509LDAPCertStoreSpi.java#L24-L31

Are you actually trying to use functionality from X509LDAPCertStoreSpi? The warning from lint is obviously annoying, but you should be able to use other, non-javax.naming related functionality of (Bouncy|Spongy)Castle without problems.

The only way to get X509LDAPCertStoreSpi to work under Android would be to rewrite a fair chunk of it to use an alternative LDAP library, such as UnboundID's SDK: https://www.unboundid.com/products/ldapsdk/

from spongycastle-old.

dc3a42 avatar dc3a42 commented on September 27, 2024

I'm just trying to build the app, so I can debug/fix/extend it. I don't think it uses LDAP at all, so I probably don't really need to fix this. I figured out how to downgrade the lint issue from "Error" to "Warning" and fixed one other issue unrelated to SpongyCastle, and it builds now. So this isn't blocking me anymore. I was just surprised that the issue came up on a vanilla pull of the latest. Thanks for clarifying the situation.

from spongycastle-old.

rtyley avatar rtyley commented on September 27, 2024

No problem - closing this issue for now. Similar to the java.awt problem in #7.

from spongycastle-old.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.