SessionPublicKeyStore

abstract class SessionPublicKeyStore

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
abstract suspend fun delete(nodeId: String, peerId: String)

Delete the session key for peerId, if it exists under nodeId.

Link copied to clipboard
suspend fun retrieve(nodeId: String, peerId: String): SessionKey
Link copied to clipboard
suspend fun save(key: SessionKey, nodeId: String, peerId: String, creationTime: ZonedDateTime = ZonedDateTime.now())