toggle menu
awala-testing
1.0.0
jvm
switch theme
search in API
awala-testing
/
tech.relaycorp.relaynet.testing.keystores
/
MockSessionPublicKeyStore
Mock
Session
Public
Key
Store
class
MockSessionPublicKeyStore
(
savingException
:
Throwable
?
=
null
,
retrievalException
:
Throwable
?
=
null
)
:
SessionPublicKeyStore
Members
Constructors
Mock
Session
Public
Key
Store
Link copied to clipboard
constructor
(
savingException
:
Throwable
?
=
null
,
retrievalException
:
Throwable
?
=
null
)
Properties
keys
Link copied to clipboard
val
keys
:
MutableMap
<
String
,
MutableMap
<
String
,
SessionPublicKeyData
>
>
Functions
clear
Link copied to clipboard
fun
clear
(
)
delete
Link copied to clipboard
open
suspend override
fun
delete
(
nodeId
:
String
,
peerId
:
String
)
retrieve
Link copied to clipboard
suspend
fun
retrieve
(
nodeId
:
String
,
peerId
:
String
)
:
SessionKey
save
Link copied to clipboard
suspend
fun
save
(
key
:
SessionKey
,
nodeId
:
String
,
peerId
:
String
,
creationTime
:
ZonedDateTime
)