Package io.seald.seald_sdk

:::warning This package is still early-access:

  • the interface will probably still have breaking changes

  • the installation instructions may change in the future

  • some quality-of-life features are still missing

  • some bugs may still be present

  • the documentation may still be incomplete, or not very readable

Feel free to give us feedback! :::

This package is the Seald SDK for Android : io.seald.seald_sdk

To install it, you need two files: seald-sdk-internals-VERSION.aar and seald-sdk-VERSION.aar.

You can download these files here:

:::warning These URLs will change for each new version published. :::

After that, you can place these files in your app/libs/ folder, and add the following lines to your app/build.gradle:

dependencies {
    /* ... */
    implementation files('libs/seald-sdk-internals-52543.aar')
    implementation files('libs/seald-sdk-52543.aar')
}

You can then import it in your code with:

import io.seald.seald_sdk.SealdSDK

You can also see the example app.

This package contains the main SealdSDK class, the EncryptionSession class, as well as multiple helper classes.

SealdSDK is the main class for the Seald SDK. It represents an instance of the Seald SDK.

You can instantiate it this way:

val seald = SealdSDK(
    apiURL = "https://api.seald.io/",
    appId = "YourAppId",
    dbPath = "/myApp/seald_db",
    dbb64SymKey = "A Secret Key to encrypt the local database, encoded in b64"
)

This class then allows you to create an account, create or retrieve an EncryptionSession, etc.

See the SealdSDK reference for more information.

An EncryptionSession allows you to encrypt / decrypt multiple messages or files.

This should not be instantiated directly, and should be either created with SealdSDK.createEncryptionSession or retrieved with SealdSDK.retrieveEncryptionSession or SealdSDK.retrieveEncryptionSessionFromMessage.

See: Description