Comments (3)
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:
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.
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.
No problem - closing this issue for now. Similar to the java.awt problem in #7.
from spongycastle-old.
Related Issues (15)
- Build fails due to missing directories HOT 4
- Update instructions to ensure Spongy Castle provider takes precedence HOT 4
- Message-digest attribute Exception HOT 1
- Digital sign on android > 4.x HOT 4
- JAR verification fails HOT 3
- Update SC to latest version (SC is very out of date) (was: Status of 1.48 and 1.49 support) HOT 8
- Add OpenPGP Keychain to projects HOT 2
- Support release 1.47 HOT 2
- Need bcmail jar for Android HOT 5
- Preserving the license agreements unchanged HOT 3
- CFB mode padding error HOT 2
- scmail uses java.awt classes not available in Android HOT 4
- Test failures in the maven build HOT 2
- PKCS10CertificationRequestBuilder generates invalid PKCS10CertificationRequest in org.spongycastle.pkcs? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spongycastle-old.