did-ca-aos
This document is a guide for using the OpenDID authentication client, providing users with the functionality to create, store, and manage WalletToken, Lock/Unlock, Key, DID Document, and Verifiable Credential (VC) information required for OpenDID.
| Category | Details |
|---|---|
| OS | Android 14 |
| Language | Java 21 |
| IDE | Android Studio 4 |
| Build System | Gradle 8.2 |
| Compatibility | Android API level 34 or higher |
| Test Environment | Minimum Requirements: Android 8.0 (Oreo, API Level 26) |
| Recommended Requirements: Android 14 (API Level 34) |
git clone https://github.com/OmniOneID/did-ca-aos.git: This is how to compile and test the app using Android Studio.
The Android SDK is referred to as did-client-sdk-aos below.
Please refer to the respective links for their own licenses for third-party libraries used by each SDK.
Client SDK License-dependencies
Add the did-client-sdk-aos library
a. Add jar files to the project
libs folder under the app directory in the Project window. (Skip this step if the folder already exists.)libs folder.b. Add jar files to the project dependencies
libs folder, right-click each jar file in the Project window and select "Add as Library..."Modify the build.gradle file
a. Modify the dependencies section
did-client-sdk-aos library in the project:…b. Check the minSdkVersion and targetSdkVersion settings
```groovy
android {
compileSdkVersion 34
defaultConfig {
applicationId "org.omnione.did.ca"
minSdkVersion 26
targetSdkVersion 34
versionCode 1
versionName "1.0"
}
}
```Import and Usage
a. Modify the URLs Class
Config.java file of the project, update the URL information for each service provider:public class Config {
public static final String TAS_URL = "http://192.168.3.130:8090";
public static final String VERIFIER_URL = "http://192.168.3.130:8092";
public static final String CAS_URL = "http://192.168.3.130:8094";
public static final String WALLET_URL = "http://192.168.3.130:8095";
public static final String API_GATEWAY_URL = "http://192.168.3.130:8093";
public static final String DEMO_URL = "http://192.168.3.130:8099";
}b. Using the did-client-sdk-aos Module
import org.omnione.did.sdk.core;
import org.omnione.did.sdk.utility;
import org.omnione.did.sdk.datamodel;
import org.omnione.did.sdk.wallet;
import org.omnione.did.sdk.communication;…Build and Test
a. Build and Run
b. Test
Troubleshooting
If the did-client-sdk-aos library is not properly loaded or functioning, check the following:
build.gradle file.ChangeLog can be found :
To watch our demonstration videos of the OpenDID system in action, please visit our Demo Repository.
These videos showcase key features including user registration, VC issuance, and VP submission processes.
Please read CONTRIBUTING.md and CODE_OF_CONDUCT.md for details on our code of conduct, and the process for submitting pull requests to us.
暂无开放 Issues,或尚未同步最近议题。