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.
To install it, you need to add the package io.seald:seald_sdk_android, available on Maven Central, to your dependencies.
The current version is ##VERSION##. Here is how you can add it to your app/build.gradle:
dependencies {
/* ... */
implementation 'io.seald:seald_sdk_android:##VERSION##'
}You can then import it in your code with:
import io.seald.seald_sdk.SealdSDKYou 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",
databasePath = "/myApp/seald_db",
databaseEncryptionKey = "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.
© 2023 Seald SAS
You can find the license information of Open Source libraries used in Seald SDK for mobile at https://download.seald.io/download/mobile_dependencies_licenses_##VERSION##.txt.
See: Description
-
Class Summary Class Description EncryptionSession An encryption session, with which you can then encrypt / decrypt multiple messages or files. SealdException SealdException represents an error that happened during a Seald operation. ClearFile ClearFile represents a decrypted file. AccountInfo AccountInfo is returned when calling SealdSDK.createAccount or SealdSDK.getCurrentAccountInfo, containing information about the local account. CreateSubIdentityResponse CreateSubIdentityResponse represents a newly created sub identity. BeardError BeardError represents an error returned by the server. ConnectorTypeValue ConnectorTypeValue is a simplified representation of a connector for which we don't know all details. Connector Connector represents all details about a connector. PreValidationToken PreValidationToken represents a way for your server to authorize the adding of a connector. MassReencryptOptions Options for SealdSDK.massReencrypt function. MassReencryptResponse Represents the results of a call to SealdSDK.massReencrypt. DeviceMissingKeys Represents a device of the current account which is missing some keys, and for which you probably want to call SealdSDK.massReencrypt. ActionStatus Represents the status of an operation on single user/device. RevokeResult The result of a revocation operation. RecipientRights RecipientRights represents the rights a user can have over an encrypted message or an encryption session. RecipientWithRights RecipientWithRight represents a recipient with associated rights. EncryptionSessionRetrievalDetails EncryptionSessionRetrievalDetails represents the details of how an Encryption Session was retrieved. GetSigchainResponse Represents the results of a call to SealdSDK.getSigchainHash. CheckSigchainResponse Represents the results of a call to SealdSDK.checkSigchainHash. TMRAccessesRetrievalFilters TMRAccessesRetrievalFilters holds the tmr accesses filters used when retrieving an EncryptionSession. TMRAccessesConvertFilters TMRAccessesConvertFilters holds the tmr accesses filters used when converting TMR accesses. ConvertTmrAccessesResponse ConvertTmrAccessesResponse holds the information about the converted tmr accesses. TmrRecipientWithRights TmrRecipientWithRights Represents a tmr recipient with the associated rights SealdSDK This is the main class for the Seald SDK. AuthFactor Represents a user's authentication factor SaveIdentityResponse SaveIdentityResponse is returned by SaveIdentity when an identity has been successfully saved RetrieveIdentityResponse RetrieveIdentityResponse holds a retrieved identity GetFactorTokenResponse GetFactorTokenResponse holds a retrieved authentication factor token SealdSSKSPasswordPlugin The SealdSSKSPassword class allows to use the SSKS key storage service to store Seald identities easily and securely, encrypted by a user password. SealdSSKSTmrPlugin The SealdSSKSTmrPlugin class allows to use the SSKS key storage service to store Seald identities easily and securely, encrypted by a key stored on your back-end server. SealdSDKKt SealdUtils -
Enum Summary Enum Description ConnectorType ConnectorType represents the allowed values for Connector types: EMfor email connectorsAPfor App connectors
ConnectorState ConnectorState represents the allowed values for Connector states. EncryptionSessionRetrievalFlow EncryptionSessionRetrievalFlow represents the way the session was retrieved : as a direct recipient, as member of a group, or through a proxy session AuthFactorType