Project

General

Profile

Actions

Bug #4304

closed

AndroidSqlite3Pib should be used when create jndn-Android jar file

Added by Haitao Zhang over 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Actions #1

Updated by Anonymous over 6 years ago

These are for the SQLite file in the default ~/.ndn folder which doesn't exist on Android. It is necessary to supply the file location to the AndroidSqlite3Pib constructor. Can you use the KeyChain constructor which takes a AndroidSqlite3Pib instance?

https://github.com/named-data/jndn/blob/master/src/net/named_data/jndn/security/KeyChain.java#L166

Actions #2

Updated by Haitao Zhang over 6 years ago

Sure, thank you for the explanation.

By the way, if it is possible, could you please add note in comment for each method to illustrate whether a method should or should not be used on Android platform? It's hard to pick the right one given that there are so many constructors.

Actions #3

Updated by Anonymous about 6 years ago

The default KeyChain constructor says "To create a security v2 KeyChain on android, you must use the KeyChain constructor to provide AndroidSqlite3Pib and TpmBackEndFile objects which are initialized with the explicit directory for the Android filesDir."

Actions #4

Updated by Anonymous about 6 years ago

  • Status changed from New to Feedback
Actions #5

Updated by Anonymous about 6 years ago

  • Status changed from Feedback to Closed
Actions

Also available in: Atom PDF