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
apiURL | The Seald server for this instance to use. This value is given on your Seald dashboard. |
appId | The ID given by the Seald server to your app. This value is given on your Seald dashboard. |
Constructors
SealdSSKSTmrPlugin | constructor(apiURL: String, appId: String) |
Functions
Name | Summary |
---|---|
retrieveIdentity | fun retrieveIdentity(sessionId: String, authFactor: AuthFactor, challenge: String, rawTMRSymKey: ByteArray): RetrieveIdentityResponse Retrieve the Seald account previously saved with SealdSSKSTmrPlugin.saveIdentity . |
retrieveIdentityAsync | suspend fun retrieveIdentityAsync(sessionId: String, authFactor: AuthFactor, challenge: String, rawTMRSymKey: ByteArray): RetrieveIdentityResponse Retrieve the Seald account previously saved with SealdSSKSTmrPlugin.saveIdentity . |
saveIdentity | fun saveIdentity(sessionId: String, authFactor: AuthFactor, challenge: String, rawTMRSymKey: ByteArray, identity: ByteArray) Save the Seald account to SSKS. |
saveIdentityAsync | suspend fun saveIdentityAsync(sessionId: String, authFactor: AuthFactor, challenge: String, rawTMRSymKey: ByteArray, identity: ByteArray) Save the Seald account to SSKS. |