Skip to content
On this page

SealdSSKSTmrPlugin

class SealdSSKSTmrPlugin(apiURL: String, appId: String)

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.

Parameters

apiURLThe Seald server for this instance to use. This value is given on your Seald dashboard.
appIdThe ID given by the Seald server to your app. This value is given on your Seald dashboard.

Constructors

SealdSSKSTmrPluginconstructor(apiURL: String, appId: String)

Functions

NameSummary
retrieveIdentityfun retrieveIdentity(sessionId: String, authFactor: AuthFactor, challenge: String, rawTMRSymKey: ByteArray): RetrieveIdentityResponse
Retrieve the Seald account previously saved with SealdSSKSTmrPlugin.saveIdentity.
retrieveIdentityAsyncsuspend fun retrieveIdentityAsync(sessionId: String, authFactor: AuthFactor, challenge: String, rawTMRSymKey: ByteArray): RetrieveIdentityResponse
Retrieve the Seald account previously saved with SealdSSKSTmrPlugin.saveIdentity.
saveIdentityfun saveIdentity(sessionId: String, authFactor: AuthFactor, challenge: String, rawTMRSymKey: ByteArray, identity: ByteArray)
Save the Seald account to SSKS.
saveIdentityAsyncsuspend fun saveIdentityAsync(sessionId: String, authFactor: AuthFactor, challenge: String, rawTMRSymKey: ByteArray, identity: ByteArray)
Save the Seald account to SSKS.